From 381107e45960db12e4a823b55e78f243cd4b39a8 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 7 Apr 2018 16:54:13 +0200 Subject: [PATCH] fix attempt --- package.json | 9 ++++++--- public_html/index.html | 16 ++++++++-------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 8bf31f5..a135fc7 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,11 @@ "scripts": { "clean": "rm ./public_html/*.{js,css,html,svg,map}", "dev": "parcel watch ./parcel/index.html --out-dir ./public_html --no-hmr", + "build:alternative": "cross-env NODE_ENV=production parcel watch ./parcel/index.html --out-dir ./public_html --no-hmr", "build": "parcel build ./parcel/index.html --out-dir ./public_html --no-source-maps --no-minify" }, "dependencies": { "vue": "^2.5.9", - "vue-hot-reload-api": "^2.3.0", "vue-router": "^2.5.3" }, "browserslist": [ @@ -22,8 +22,11 @@ ], "devDependencies": { "@vue/component-compiler-utils": "^1.0.0", - "babel-cli": "^6.26.0", - "babel-preset-env": "^1.6.1", + "babel-core": "^6.26.0", + "babel-loader": "^7.1.2", + "babel-preset-env": "^1.6.0", + "babel-preset-stage-3": "^6.24.1", + "cross-env": "^5.0.5", "node-sass": "^4.8.3", "parcel-bundler": "^1.7.0", "vue-template-compiler": "^2.5.16" diff --git a/public_html/index.html b/public_html/index.html index 612db69..e9664b5 100644 --- a/public_html/index.html +++ b/public_html/index.html @@ -10,13 +10,13 @@ - - - - - - - + + + + + + + @@ -28,7 +28,7 @@
- +