Rename npm script

webpack scripts are meant to “build” assets, so place them under the same namespace

* dev => build:dev
* build => build:prod
This commit is contained in:
Yukai Huang
2016-12-10 22:12:07 +08:00
parent 65a1a62cc0
commit ed83dfc862
3 changed files with 4 additions and 4 deletions

View File

@@ -5,8 +5,8 @@
"main": "app.js",
"license": "MIT",
"scripts": {
"build": "webpack --config webpack.production.js --progress --colors",
"dev": "webpack --config webpack.config.js --progress --colors --watch",
"build:dev": "webpack --config webpack.config.js --progress --colors --watch",
"build:prod": "webpack --config webpack.production.js --progress --colors",
"assets:install": "bower install",
"postinstall": "bin/heroku",
"start": "node app.js"