chore: package.json fixes

This commit is contained in:
dec0dOS 2021-06-12 11:15:20 +03:00
parent e0e20531f1
commit faea2f3b06

View file

@ -4,8 +4,8 @@
"private": "true", "private": "true",
"scripts": { "scripts": {
"postinstall": "husky install", "postinstall": "husky install",
"installDeps": "yarn install && cd frontend && yarn install && cd ../backend && yarn install && cd ..", "installDeps": "yarn install && cd frontend && yarn install && cd ../backend && yarn install",
"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 ..", "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", "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\"", "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", "build": "cd frontend && cross-env INLINE_RUNTIME_CHUNK=false GENERATE_SOURCEMAP=false yarn build",