-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.69 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 1.69 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
66
67
68
{
"name": "js-achieve-challenges",
"version": "0.0.3",
"description": "js手写实现挑战",
"repository": "git@github.com:iamzjt-front-end/js-achieve-challenges.git",
"main": "index.js",
"scripts": {
"test": "vitest",
"test-once": "vitest run",
"server": "vitest --ui",
"commit": "npx cz-customizable",
"prettier": "prettier --write .",
"lint": "eslint --fix . --ext .js,.ts",
"release": "release-it",
"prepare": "npx only-allow pnpm && husky install"
},
"keywords": [
"javascript",
"js",
"challenges"
],
"author": "IamZJT",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@commitlint/cz-commitlint": "^17.5.0",
"@release-it/conventional-changelog": "^5.1.1",
"@types/node": "^20.3.3",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"@vitest/ui": "^0.32.2",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^7.0.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.0",
"inquirer": "8",
"lint-staged": "^13.2.3",
"prettier": "^2.8.8",
"release-it": "^15.11.0",
"typescript": "~5.0.4",
"unplugin-auto-import": "^0.16.4",
"vitest": "^0.32.2"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
},
"cz-customizable": {
"config": "config/path/to/my/config.js"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
}
},
"lint-staged": {
"*.{js,ts}": [
"prettier --config .prettierrc.js --write",
"eslint --cache --fix"
]
}
}