added `npm run devjs` to watch js files
This commit is contained in:
parent
a74555864d
commit
70d0ce8143
|
@ -9,9 +9,11 @@
|
||||||
"build:clean": "rm ./public_html/js/bundle/*.js*; exit 0",
|
"build:clean": "rm ./public_html/js/bundle/*.js*; exit 0",
|
||||||
"build:bundle": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
"build:bundle": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||||
"build:dev": "cross-env NODE_ENV=development webpack --progress --hide-modules",
|
"build:dev": "cross-env NODE_ENV=development webpack --progress --hide-modules",
|
||||||
|
"build:dev-watch": "cross-env NODE_ENV=development webpack --progress --watch --hide-modules",
|
||||||
"scss": "node-sass -r --output-style compressed --output ./public_html/css ./webpack/scss",
|
"scss": "node-sass -r --output-style compressed --output ./public_html/css ./webpack/scss",
|
||||||
"watch": "node-sass -w -r --output-style compressed --output ./public_html/css ./webpack/scss",
|
"watch-css": "node-sass -w -r --output-style compressed --output ./public_html/css ./webpack/scss",
|
||||||
"dev": "npm run build:clean; npm run build:dev; npm run watch",
|
"dev": "npm run build:clean; npm run build:dev; npm run watch-css",
|
||||||
|
"devjs": "npm run build:clean; npm run build:dev-watch",
|
||||||
"build": "npm run build:clean; npm run build:bundle; npm run scss"
|
"build": "npm run build:clean; npm run build:bundle; npm run scss"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in New Issue