-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.5 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "timer.js",
"version": "1.0.4",
"description": "Simple and lighweight but powerfull eventdriven JavaScript timer",
"main": "dist/timer.js",
"types": "dist/timer.d.ts",
"repository": {
"type": "git",
"url": "git@github.com:husa/timer.js.git"
},
"bugs": {
"url": "http://github.com/husa/timer.js/issues"
},
"homepage": "https://github.com/husa/timer.js",
"keywords": [
"timer.js",
"timer",
"time",
"measure",
"start",
"stop",
"pause"
],
"author": "husa",
"license": "MIT",
"scripts": {
"lint": "prettier --check src && eslint src",
"test": "node --test src/timer.test.js",
"prepare": "husky",
"build": "mkdir -p dist && cp src/timer.js dist/timer.js && cp src/timer.d.ts dist/timer.d.ts"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{css,scss,md}": "prettier --write"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release": {
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
]
},
"devDependencies": {
"@commitlint/cli": "^20.3.1",
"@commitlint/config-conventional": "^20.3.1",
"@eslint/js": "^9.39.2",
"eslint": "^9.39.2",
"globals": "^17.2.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1"
}
}