-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.79 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
{
"private": true,
"engines": {
"node": ">=22"
},
"workspaces": [
"packages/*",
"example"
],
"scripts": {
"start": "cd example && npm run start",
"test": "cd packages/cssx && npm run test",
"release-patch": "auto shipit --use-version $(node -e \"const [major, minor, patch] = require('./lerna.json').version.split('.'); console.log('' + major + '.' + minor + '.' + (parseInt(patch) + 1));\")",
"release-minor": "auto shipit --use-version $(node -e \"const [major, minor, patch] = require('./lerna.json').version.split('.'); console.log('' + major + '.' + (parseInt(minor) + 1) + '.' + 0);\")",
"docs": "rspress dev --port 3010",
"docs-build": "rspress build",
"docs-preview": "rspress preview --port 3010"
},
"devDependencies": {
"@auto-it/conventional-commits": "^11.1.6",
"@types/react": "~18.2.45",
"auto": "^11.1.6",
"eslint": "^8.56.0",
"eslint-config-startupjs": "^0.56.0-alpha.29",
"husky": "^4.3.0",
"lerna": "^8.1.3",
"lint-staged": "^15.2.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rspress": "^1.35.1",
"ts-node": "^10.9.2",
"typescript": "^5.1.3"
},
"auto": {
"plugins": [
"npm",
"conventional-commits"
]
},
"eslintConfig": {
"extends": [
"startupjs"
]
},
"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": "[email protected]+sha512.341db9396b6e289fecc30cd7ab3af65060e05ebff4b3b47547b278b9e67b08f485ecd8c79006b405446262142c7a38154445ef7f17c1d5d1de7d90bf9ce7054d"
}