-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.1 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.1 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
69
70
71
72
73
74
75
76
77
78
{
"name": "kc-components",
"private": true,
"scripts": {
"start": "npm run dev",
"dev": "dumi dev",
"build": "pnpm clean:dist && lerna run build",
"docs:build": "dumi build",
"docs:preview": "dumi preview",
"prepare": "husky install && dumi setup",
"lint": "npm run lint:es && npm run lint:css",
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
"commit": "git add . && git cz",
"clean": "lerna clean --yes",
"clean:dist": "lerna exec -- rm -rf dist es lib",
"lv": "lerna version",
"lp": "lerna publish from-git",
"cs:add": "pnpm changeset add",
"cs:version": "pnpm changeset version",
"cs:publish": "pnpm changeset publish",
"cs:status": "pnpm changeset status",
"cs:preEnter": "pnpm changeset pre enter beta",
"cs:preExit": "pnpm changeset pre exit"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{md,json}": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{css,less}": [
"stylelint --fix",
"prettier --write"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --parser=typescript --write"
]
},
"devDependencies": {
"@changesets/cli": "^2.29.2",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@umijs/lint": "^4.0.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"dumi": "^2.4.18",
"eslint": "^8.23.0",
"father": "^4.1.0",
"husky": "^8.0.1",
"lerna": "^8.2.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-organize-imports": "^3.0.0",
"prettier-plugin-packagejson": "^2.2.18",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"stylelint": "^14.9.1"
},
"volta": {
"node": "20.19.0"
}
}