upd: package.json (npm run dev now allows VUEJS to log errors)

This commit is contained in:
xdrm-brackets 2017-11-30 16:46:49 +01:00
parent 5894aecae3
commit f1a9e65327
1 changed files with 4 additions and 3 deletions

View File

@ -6,9 +6,10 @@
"license": "MIT", "license": "MIT",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
"build:clean": "rm ./public_html/js/bundle@*.js*", "build:clean": "rm ./public_html/js/bundle@*.js*",
"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",
"dev": "npm run build:clean; npm run build:dev",
"build": "npm run build:clean; npm run build:bundle" "build": "npm run build:clean; npm run build:bundle"
}, },
"dependencies": { "dependencies": {