-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 1.72 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
{
"name": "frontend-monorepo",
"version": "1.0.0",
"description": "MonoRepo单仓多包代码架构根目录",
"main": "index.js",
"private": true,
"keywords": [],
"author": "潘维吉",
"license": "MIT",
"scripts": {
"bootstrap:all": "pnpm install && npm run build:all",
"watch:ts": "pnpm run -r watch:ts",
"clean:all": "npm run clean:ts && pnpm run -r clean:modules && rimraf node_modules && rimraf pnpm-lock.yaml",
"build:all": "pnpm run -r compile:ts && npm run gulp",
"build:ts": "pnpm run -r compile:ts",
"gulp": "cd scripts && gulp",
"packages:dev": "tsc -b packages/athena-components --watch",
"clean:modules": "rimraf node_modules",
"clean:ts": "pnpm run -r clean:ts"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@types/node": "^20.17.10",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"danger": "^12.3.3",
"dotenv-cli": "^7.4.4",
"eslint": "^9.17.0",
"gulp": "^5.0.0",
"gulp-sass": "^5.1.0",
"gulp-typescript": "^5.0.1",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"rimraf": "^5.0.10",
"stylelint": "^16.12.0",
"stylelint-config-standard": "^36.0.1",
"typescript": "^5.7.2",
"yargs": "^17.7.2"
},
"engines": {
"node": ">=16.0.0"
},
"lint-staged": {
"*.{js,jsx,json,vue,ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{css,scss,less}": [
"stylelint --config ./.stylelintrc --fix",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
}
}