zero-ui/package.json

52 lines
1.8 KiB
JSON
Raw Normal View History

2021-03-22 03:25:13 +08:00
{
"name": "zero-ui",
2021-03-23 03:47:37 +08:00
"version": "1.0.3",
2021-03-22 03:25:13 +08:00
"private": "true",
"scripts": {
"postinstall": "husky install",
"installDeps": "yarn install && cd frontend && yarn install && cd ../backend && yarn install && cd ..",
"upgradeDeps": "npx npm-check-updates --upgrade && npx npm-check-updates --upgrade --packageFile frontend/package.json && npx npm-check-updates --upgrade --packageFile backend/package.json",
"cleanDeps": "cd frontend && rimraf node_modules && cd ../backend && rimraf node_modules && cd .. && rimraf node_modules",
"dev": "concurrently \"cd frontend && cross-env FAST_REFRESH=true yarn start\" \"cd backend && cross-env NODE_ENV=development ZU_DEFAULT_USERNAME=admin ZU_DEFAULT_PASSWORD=zero-ui nodemon ./bin/www --ignore data/db.json\"",
"build": "cd frontend && cross-env INLINE_RUNTIME_CHUNK=false GENERATE_SOURCEMAP=false yarn build",
"prod": "cd backend && cross-env NODE_ENV=production ZU_SECURE_HEADERS=false yarn start",
2021-03-29 06:13:34 +08:00
"release": "standard-version && git push --follow-tags origin main",
"commit": "yarn git-cz"
2021-03-22 03:25:13 +08:00
},
"devDependencies": {
2021-04-16 19:27:31 +08:00
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
2021-03-29 06:13:34 +08:00
"commitizen": "^4.2.3",
2021-04-16 19:27:31 +08:00
"concurrently": "^6.0.2",
2021-03-22 03:25:13 +08:00
"cross-env": "^7.0.3",
2021-03-29 06:13:34 +08:00
"cz-conventional-changelog": "^3.3.0",
2021-04-16 19:27:31 +08:00
"husky": "^6.0.0",
2021-03-29 06:13:34 +08:00
"lint-staged": "^10.5.4",
2021-03-22 03:25:13 +08:00
"nodemon": "^2.0.7",
2021-03-29 06:13:34 +08:00
"prettier": "^2.2.1",
2021-03-22 03:25:13 +08:00
"rimraf": "^3.0.2",
2021-04-16 19:27:31 +08:00
"standard-version": "^9.2.0"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
2021-03-29 06:13:34 +08:00
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*.{tsx,ts,js,jsx,scss,css,js,json,md}": [
"yarn prettier --write"
]
2021-03-22 03:25:13 +08:00
}
}