forked from Tencent/tdesign
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.88 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
{
"private": true,
"scripts": {
"preinstall": "npx -y only-allow pnpm",
"dev:components": "pnpm run --filter 'tdesign-site-components' dev",
"dev:site": "pnpm run build:components && pnpm run --filter 'tdesign-site' dev",
"dev:theme-generator": "pnpm run --filter 'tdesign-theme-generator' dev",
"build:components": "pnpm run --filter 'tdesign-site-components' build && pnpm run --filter 'tdesign-site-components' postbuild",
"build:theme-generator": "pnpm run --filter 'tdesign-theme-generator' build",
"build-watch:theme-generator": "pnpm run --filter 'tdesign-theme-generator' build:watch",
"site": "npm run build:components && cd site && npm run build",
"site:intranet": "npm run build:components && cd site && npm run site:intranet",
"site:preview": "npm run build:components && cd site && npm run site:preview",
"auto-release": "pnpm run --filter 'tdesign-auto-release' start",
"prepare": "husky install"
},
"license": "MIT",
"dependencies": {
"prismjs": "^1.29.0"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-recommended": "^4.1.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.0",
"lint-staged": "8.1.5",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"stylelint": "^15.10.3",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-less": "^2.0.0"
},
"engines": {
"pnpm": ">=9.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{vue,js,html}": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{less,css}": [
"stylelint --fix",
"git add"
]
}
}