[Deploy] Add npm i to npm run build:production
This commit is contained in:
parent
f638ae3717
commit
01da632cc4
@ -7,7 +7,7 @@
|
||||
"dev": "cross-env APP_ENV=development webpack-dev-server -d",
|
||||
"build": "webpack -p",
|
||||
"build:staging": "rm -rf dist/ && APP_ENV=staging npm run build && ./deploy/copy_to_dist.sh",
|
||||
"build:production": "rm -rf dist/ && APP_INFO=\"Telegram WebZ alpha $(git rev-parse --short HEAD)\" APP_ENV=production npm run build && ./deploy/copy_to_dist.sh",
|
||||
"build:production": "npm i && rm -rf dist/ && APP_INFO=\"Telegram WebZ alpha $(git rev-parse --short HEAD)\" APP_ENV=production npm run build && ./deploy/copy_to_dist.sh",
|
||||
"deploy:production": "npm run build:production && git add -A && git commit -a -m '[Build]' && git push",
|
||||
"perf:serve": "APP_ENV=perf parcel src/index-perf.html",
|
||||
"lint": "eslint . --ext .ts,.tsx",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user