-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 2.18 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "leetcode-js",
"version": "1.0.0",
"description": "Leetcode solutions in Javascript",
"main": "index.js",
"scripts": {
"lint-staged": "linted-staged",
"commit": "git-cz",
"test": "vitest",
"test:watch": "vitest --watch",
"autoGenTest": "node ./scripts/autoGenTest/index.js",
"genCache": "node ./scripts/autoGenTest/generateCache.js",
"genMD": "node ./scripts/genMarkdown.js",
"lint": "prettier --write ./**/*.js && eslint --fix . && echo 'Lint complete.'",
"crawler": "node ./scripts/crawler/index.js"
},
"keywords": [
"leetcode",
"Javascript",
"algorithm"
],
"author": "chenxiaoyao <chenxiaoyao6228@163.com> (https://chenxiaoyao6228.github.io)",
"license": "MIT",
"prettier": {
"semi": false,
"singleQuote": true
},
"lint-staged": {
"*.js": [
"vitest related --run",
"npm run lint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn genCache && git add scripts/autoGenTest/cache.json && yarn genMD && git add README.md && lint-staged",
"commitmsg": "commitlint -E GIT_PARAMS"
}
},
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.6.0",
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-typescript": "^7.6.0",
"@babel/runtime": "^7.6.0",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@commitlint/prompt": "~8.1.0",
"async": "^3.2.0",
"chokidar": "^3.5.3",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "~3.0.2",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-prettier": "^3.1.0",
"glob": "^8.0.3",
"husky": "^3.0.5",
"import-local": "^3.0.2",
"jest": "^29.5.0",
"lint-staged": "^9.2.5",
"prettier": "^1.18.2",
"vitest": "^0.29.1"
}
}