Skip to content

Commit

Permalink
update: scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric authored and Eric committed Sep 23, 2020
1 parent 5ce7aec commit 435639c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: npm run start:plain
web: npm run start
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"node": ">=10.0.0"
},
"scripts": {
"dev": "nodemon -w nuxt.config.js server.js",
"dev:settings": "FLUSH_SETTINGS=true yarn run dev",
"dev": "nuxt",
"dev:settings": "FLUSH_SETTINGS=true npm run dev",
"build": "nuxt build",
"start": "node server.js",
"start:plain": "nuxt",
"start-prod-mock": "PRECOMMIT=true yarn run heroku-mock",
"heroku-mock": " yarn run heroku-postbuild && NODE_ENV=production yarn run start",
"start": "nuxt start",
"start:server": "node server.js",
"start-prod-mock": "PRECOMMIT=true npm run heroku-mock",
"heroku-mock": "npm run heroku-postbuild && NODE_ENV=production npm run start",
"heroku-postbuild": "nuxt build",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"precommit": " yarn run lint && yarn run start-prod-mock"
"precommit": "npm run lint && npm run start-prod-mock"
},
"dependencies": {
"@nuxtjs/google-analytics": "^2.4.0",
Expand Down

0 comments on commit 435639c

Please sign in to comment.