Add dev and development scripts

This commit is contained in:
Oliver Davies 2019-05-18 16:07:06 +01:00
parent 07c3afb735
commit ef7bd514c2

View file

@ -2,6 +2,8 @@
"private": true,
"scripts": {
"build": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"dev": "npm run build",
"development": "npm run build",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "npm run build -- --watch"