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",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build:clean": "rm ./public_html/js/bundle/*.js*; exit 0",
|
||||
"build:bundle": "cross-env NODE_ENV=production 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",
|
||||
"watch": "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",
|
||||
"build": "npm run build:clean; npm run build:bundle; npm run scss"
|
||||
"build:clean": "rm ./public_html/js/bundle/*.js*; exit 0",
|
||||
"build:bundle": "cross-env NODE_ENV=production 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",
|
||||
"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-css",
|
||||
"devjs": "npm run build:clean; npm run build:dev-watch",
|
||||
"build": "npm run build:clean; npm run build:bundle; npm run scss"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^2.5.9"
|
||||
|
|
Loading…
Reference in New Issue