-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
executable file
·47 lines (47 loc) · 1.3 KB
/
package.json
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
{
"name": "book",
"version": "1.0.0",
"description": "record daily code",
"keywords": ["book", "daily", "learning"],
"homepage": "https://github.com/daolou/book#readme",
"bugs": {
"url": "https://github.com/daolou/book/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/daolou/book.git"
},
"license": "ISC",
"author": "jzg",
"type": "commonjs",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test:deepClone": "node --experimental-modules --loader ./loader.mjs ./test/deepClone.js",
"eslint:fix": "alloy-eslint --fix --ext .js,.jsx,.ts,.tsx ."
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "devmoji -e --lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,md,json}": ["prettier --write"],
"package.json": ["sort-package-json"]
},
"devDependencies": {
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"babel-eslint": "^10.1.0",
"chalk": "^2.4.2",
"devmoji": "^2.1.9",
"eslint": "^7.19.0",
"eslint-config-alloy": "^3.10.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"sort-package-json": "^1.44.0"
}
}