From f1a9e65327ab198568b5a8cb3867e78d3dabad7b Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 30 Nov 2017 16:46:49 +0100 Subject: [PATCH] upd: package.json (npm run dev now allows VUEJS to log errors) --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 1ce9cd4..5d50f98 100755 --- a/package.json +++ b/package.json @@ -6,10 +6,11 @@ "license": "MIT", "private": true, "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": "npm run build:clean; npm run build:bundle" + "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" }, "dependencies": { "vue": "^2.5.9"