Updated start scripts.

This commit is contained in:
Mike Cao 2022-04-04 14:36:42 -07:00
parent bf5068d32a
commit 76211dc5a2
4 changed files with 19 additions and 35 deletions

View file

@ -12,7 +12,7 @@
"scripts": {
"dev": "next dev",
"build": "npm-run-all build-tracker build-geo build-db build-app",
"start": "npm-run-all init start-app",
"start": "npm-run-all pre-start start-app",
"start-app": "next start",
"start-env": "node -r dotenv/config scripts/start-env.js",
"build-app": "next build",
@ -39,7 +39,7 @@
"lint": "next lint --quiet",
"prepare": "husky install",
"postbuild": "node scripts/postbuild.js",
"init": "node scripts/prestart.js"
"pre-start": "node scripts/prestart.js"
},
"lint-staged": {
"**/*.js": [
@ -65,12 +65,16 @@
"cors": "^2.8.5",
"date-fns": "^2.23.0",
"date-fns-tz": "^1.1.4",
"del": "^6.0.0",
"detect-browser": "^5.2.0",
"dotenv": "^10.0.0",
"dotenv-cli": "^4.0.0",
"formik": "^2.2.9",
"fs-extra": "^10.0.1",
"immer": "^9.0.12",
"ipaddr.js": "^2.0.1",
"is-ci": "^3.0.1",
"is-docker": "^3.0.0",
"is-localhost-ip": "^1.4.0",
"isbot": "^3.4.5",
"jose": "2.0.5",
@ -98,18 +102,13 @@
"@formatjs/cli": "^4.2.29",
"@rollup/plugin-buble": "^0.21.3",
"@svgr/webpack": "^6.2.1",
"async-retry": "^1.3.3",
"cross-env": "^7.0.3",
"del": "^6.0.0",
"dotenv-cli": "^4.0.0",
"eslint": "^7.32.0",
"eslint-config-next": "^12.0.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"extract-react-intl-messages": "^4.1.1",
"husky": "^7.0.0",
"is-ci": "^3.0.1",
"is-docker": "^3.0.0",
"lint-staged": "^11.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.12",