mirror of
https://github.com/thelittlerocket/zero-ui.git
synced 2024-12-26 00:43:04 +08:00
chore: package.json fixes
This commit is contained in:
parent
e0e20531f1
commit
faea2f3b06
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
|||
"private": "true",
|
||||
"scripts": {
|
||||
"postinstall": "husky install",
|
||||
"installDeps": "yarn install && cd frontend && yarn install && cd ../backend && yarn install && cd ..",
|
||||
"upgradeDeps": "npx npm-check-updates --upgrade && yarn upgrade && cd frontend && npx npm-check-updates --upgrade && yarn upgrade && cd ../backend && npx npm-check-updates --upgrade && yarn upgrade && cd ..",
|
||||
"installDeps": "yarn install && cd frontend && yarn install && cd ../backend && yarn install",
|
||||
"upgradeDeps": "npx npm-check-updates --upgrade && yarn install && yarn upgrade && cd frontend && npx npm-check-updates --upgrade && yarn install && yarn upgrade && cd ../backend && npx npm-check-updates --upgrade && yarn install && yarn upgrade",
|
||||
"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",
|
||||
|
|
Loading…
Reference in a new issue