added `npm run devjs` to watch js files

This commit is contained in:
xdrm-brackets 2018-02-21 19:35:07 +01:00
parent a74555864d
commit 70d0ce8143
1 changed files with 9 additions and 7 deletions

View File

@ -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"