From 316d3b3f8e52147a2ef3b7018394d7914f511dd1 Mon Sep 17 00:00:00 2001 From: androiddrew Date: Thu, 29 Mar 2018 09:16:34 -0400 Subject: [PATCH] Trying this on my mac --- .bablerc | 16 +++++----------- package.json | 52 ++++++++++++++++++++++++++++------------------------ src/app.js | 4 ++-- 3 files changed, 35 insertions(+), 37 deletions(-) diff --git a/.bablerc b/.bablerc index 41f3bd5..e54b247 100644 --- a/.bablerc +++ b/.bablerc @@ -1,14 +1,8 @@ { - "presets": [ - [ - "es2015", - { - "modules": false - } - ], - "stage-2" - ], - "ignore": [ - "node_modules/*" + "presets": ["env"], + "plugins": [ + "transform-es2015-destructuring", + "transform-es2015-parameters", + "transform-object-rest-spread" ] } diff --git a/package.json b/package.json index 986da01..2b425a8 100644 --- a/package.json +++ b/package.json @@ -10,34 +10,38 @@ "author": "Drew Bednar", "license": "MIT", "dependencies": { - "axios": "^0.17.1", - "bulma": "^0.6.1", - "express": "^4.16.2", - "vue": "^2.5.6", + "axios": "^0.18.0", + "bulma": "^0.6.2", + "express": "^4.16.3", + "vue": "^2.5.16", "vue-router": "^3.0.1" }, "devDependencies": { "babel-core": "^6.26.0", - "babel-eslint": "^7.2.3", - "babel-loader": "^7.1.2", - "babel-preset-es2015": "^6.24.1", - "babel-preset-stage-2": "^6.24.1", - "css-loader": "^0.28.7", - "eslint": "^4.5.0", - "eslint-config-standard": "^10.2.1", - "eslint-loader": "^1.9.0", - "eslint-plugin-html": "^3.2.0", - "eslint-plugin-import": "^2.7.0", - "eslint-plugin-node": "^5.1.1", - "eslint-plugin-promise": "^3.5.0", + "babel-eslint": "^8.2.2", + "babel-loader": "^7.1.4", + "babel-plugin-transform-es2015-destructuring": "^6.23.0", + "babel-plugin-transform-es2015-parameters": "^6.24.1", + "babel-plugin-transform-object-rest-spread": "^6.26.0", + "babel-preset-env": "^1.6.1", + "babel-preset-stage-3": "^6.24.1", + "css-loader": "^0.28.11", + "eslint": "^4.19.1", + "eslint-config-standard": "^11.0.0", + "eslint-loader": "^2.0.0", + "eslint-plugin-html": "^4.0.2", + "eslint-plugin-import": "^2.9.0", + "eslint-plugin-node": "^6.0.1", + "eslint-plugin-promise": "^3.7.0", "eslint-plugin-standard": "^3.0.1", - "extract-text-webpack-plugin": "^3.0.2", - "node-sass": "^4.7.1", - "sass-loader": "^6.0.6", - "vue-loader": "^13.5.0", - "vue-template-compiler": "^2.5.6", - "webpack": "^3.8.1", - "webpack-dev-middleware": "^1.12.0", - "webpack-hot-middleware": "^2.20.0" + "extract-text-webpack-plugin": "^4.0.0-beta.0", + "node-sass": "^4.8.3", + "sass-loader": "^6.0.7", + "vue-loader": "^14.2.2", + "vue-template-compiler": "^2.5.16", + "webpack": "^4.3.0", + "webpack-cli": "^2.0.13", + "webpack-dev-middleware": "^3.1.0", + "webpack-hot-middleware": "^2.21.2" } } diff --git a/src/app.js b/src/app.js index c6c9c63..8d62d60 100644 --- a/src/app.js +++ b/src/app.js @@ -6,10 +6,10 @@ const app = new Vue({ router, // render is a Vuejs function that will return an elements // This is equivalent to template: '' - render: h => h(AppLayout) + // render: h => h(AppLayout) // Because fucktards in javascript want to make everything fucking insane // we are going to use the "spread" - // ...AppLayout //this part didn't work. I don't know why but + ...AppLayout // this part didn't work. I don't know why but }) export { app, router }