added `npm run devjs` to watch js files
This commit is contained in:
parent
a74555864d
commit
70d0ce8143
16
package.json
16
package.json
|
@ -6,13 +6,15 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"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",
|
||||||
"scss": "node-sass -r --output-style compressed --output ./public_html/css ./webpack/scss",
|
"build:dev-watch": "cross-env NODE_ENV=development webpack --progress --watch --hide-modules",
|
||||||
"watch": "node-sass -w -r --output-style compressed --output ./public_html/css ./webpack/scss",
|
"scss": "node-sass -r --output-style compressed --output ./public_html/css ./webpack/scss",
|
||||||
"dev": "npm run build:clean; npm run build:dev; npm run watch",
|
"watch-css": "node-sass -w -r --output-style compressed --output ./public_html/css ./webpack/scss",
|
||||||
"build": "npm run build:clean; npm run build:bundle; npm run scss"
|
"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"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue": "^2.5.9"
|
"vue": "^2.5.9"
|
||||||
|
|
Loading…
Reference in New Issue