Skip to content

Commit

Permalink
other(scripts): better build script
Browse files Browse the repository at this point in the history
  • Loading branch information
tagraha committed Mar 17, 2018
1 parent 462aff8 commit 1cbcdbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"release:patch": "changelog -p -u https://github.com/tagraha/react-scratch && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin --tags",
"start-dev": "cross-env NODE_ENV=development webpack -w & cross-env NODE_ENV=development nodemon ./server.js",
"build": "webpack",
"build:production": "cross-env NODE_ENV=production webpack -p",
"clean": "rm -rf public && rm -rf server.js",
"prestart": "npm run clean && npm run build",
"prestart": "npm run clean && npm run build:production",
"start": "node server.js",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
Expand Down

0 comments on commit 1cbcdbf

Please sign in to comment.