forked from startupjs/startupjs-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.96 KB
/
package.json
File metadata and controls
51 lines (51 loc) · 1.96 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
{
"private": true,
"engines": {
"node": ">=22"
},
"workspaces": [
"packages/*",
"docs"
],
"scripts": {
"start": "yarn docs",
"build": "cd docs && yarn build",
"build-static": "cd docs && yarn build-static",
"postinstall": "npx startupjs postinstall",
"start-production": "cd docs && yarn start-production",
"start-production-static": "cd docs && yarn start-production-static",
"docs": "cd docs && yarn 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'",
"generate-package-dts": "node scripts/generate-package-dts.mjs",
"publish-patch": "dotenv -- npx lerna publish patch --conventional-commits --create-release=github",
"publish-patch-force": "dotenv -- npx lerna publish patch --force-publish --conventional-commits --create-release=github",
"publish-breaking-minor": "dotenv -- npx lerna publish minor --conventional-commits --create-release=github"
},
"devDependencies": {
"@types/lodash": "^4.17.21",
"@types/react": "~19.1.0",
"dotenv-cli": "^11.0.0",
"eslint": "^8.56.0",
"eslint-config-cssxjs": "^0.2.0",
"husky": "^4.3.0",
"lerna": "^9.0.3",
"lint-staged": "^15.2.2",
"typescript": "^5.1.3"
},
"eslintConfig": {
"extends": [
"cssxjs"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"eslint --fix"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn generate-package-dts && node scripts/check-startupjs-ui-exports.mjs && (! 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"
}