-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.59 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.59 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
{
"private": true,
"engines": {
"node": ">=22"
},
"workspaces": [
"packages/*",
"example"
],
"scripts": {
"start": "cd example && npm start",
"test": "sh -c 'set -e; for dir in packages/*/; do echo \"Testing $dir\"; (cd \"$dir\" && yarn test) || { echo \"\\033[31mERROR: Tests failed for $dir\\033[0m\"; exit 1; }; done'",
"publish-patch": "npx lerna publish patch --conventional-commits",
"publish-breaking-minor": "npx lerna publish minor --conventional-commits",
"docs": "rspress dev --port 3010",
"docs-build": "rspress build",
"docs-preview": "rspress preview --port 3010"
},
"devDependencies": {
"@rspress/core": "^2.0.0",
"@types/react": "~18.2.45",
"eslint": "^8.56.0",
"eslint-config-cssxjs": "^0.2.0",
"husky": "^4.3.0",
"lerna": "^9.0.3",
"lint-staged": "^15.2.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.1.3"
},
"auto": {
"plugins": [
"npm",
"conventional-commits"
]
},
"eslintConfig": {
"extends": [
"cssxjs"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"eslint --fix"
]
},
"husky": {
"hooks": {
"pre-commit": "! grep -q '\"resolutions\":' ./package.json || (echo '\\033[0;31mError: \"resolutions\" found in package.json. Remove \"resolutions\" to proceed with commit.\\033[0m' && exit 1) && lint-staged"
}
},
"packageManager": "yarn@4.12.0+sha512.f45ab632439a67f8bc759bf32ead036a1f413287b9042726b7cc4818b7b49e14e9423ba49b18f9e06ea4941c1ad062385b1d8760a8d5091a1a31e5f6219afca8"
}