-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.5 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
{
"name": "sug-cli",
"version": "1.0.0",
"description": "拉取 vue3 模板的脚手架工具",
"main": "./dist",
"bin": {
"sug-cli": "./bin/sug-cli.js",
"sug-cli-dev": "./bin/sug-cli-dev.js"
},
"scripts": {
"lint": "eslint --fix src --ext .ts && prettier --write \"src/**/*.ts\"",
"lint-staged": "lint-staged",
"prepare": "husky install",
"commitlint": "commitlint --config commitlint.config.js -e -V",
"build": "yarn lint && rm -rf lib && tsc --build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.ts": [
"yarn lint"
]
},
"author": "lzc",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.14.2",
"@types/inquirer": "8.2.0",
"@types/shelljs": "^0.8.11",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"prettier": "^2.8.4",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"dependencies": {
"chalk": "^4.1.2",
"commander": "^8.2.0",
"download": "^8.0.0",
"download-git-repo": "^3.0.2",
"fs-extra": "^10.0.0",
"inquirer": "^8.2.0",
"ora": "^5.4.1",
"shelljs": "^0.8.5"
}
}