Browse Source

chore: upgrade packages

Gerald 8 years ago
parent
commit
6ddc4dbc2f
2 changed files with 8 additions and 8 deletions
  1. 6 6
      package.json
  2. 2 2
      scripts/webpack.base.conf.js

+ 6 - 6
package.json

@@ -20,16 +20,16 @@
     "babel-core": "^6.26.0",
     "babel-eslint": "^7.2.3",
     "babel-loader": "^7.1.2",
+    "babel-minify-webpack-plugin": "^0.2.0",
     "babel-plugin-transform-export-extensions": "^6.22.0",
     "babel-plugin-transform-runtime": "^6.23.0",
     "babel-preset-env": "^1.6.0",
-    "babili-webpack-plugin": "^0.1.2",
     "css-loader": "^0.28.7",
     "del": "^3.0.0",
-    "eslint": "^4.5.0",
-    "eslint-config-airbnb-base": "^11.3.2",
+    "eslint": "^4.6.1",
+    "eslint-config-airbnb-base": "^12.0.0",
     "eslint-import-resolver-webpack": "^0.8.3",
-    "eslint-plugin-html": "^3.2.0",
+    "eslint-plugin-html": "^3.2.1",
     "eslint-plugin-import": "^2.7.0",
     "extract-text-webpack-plugin": "^3.0.0",
     "friendly-errors-webpack-plugin": "^1.6.1",
@@ -50,7 +50,7 @@
     "vue-loader": "^13.0.4",
     "vue-style-loader": "^3.0.1",
     "vue-template-compiler": "^2.4.2",
-    "webpack": "^3.5.5",
+    "webpack": "^3.5.6",
     "webpack-bundle-size-analyzer": "^2.7.0",
     "wrapper-webpack-plugin": "^1.0.0"
   },
@@ -66,7 +66,7 @@
   "license": "MIT",
   "dependencies": {
     "codemirror": "^5.29.0",
-    "core-js": "^2.5.0",
+    "core-js": "^2.5.1",
     "vue": "^2.4.2",
     "vueleton": "^0.4.0"
   }

+ 2 - 2
scripts/webpack.base.conf.js

@@ -1,6 +1,6 @@
 const path = require('path');
 const webpack = require('webpack');
-const BabiliWebpackPlugin = require('babili-webpack-plugin');
+const MinifyPlugin = require('babel-minify-webpack-plugin');
 const babiliPreset = require('babel-preset-babili');
 const vueLoaderConfig = require('./vue-loader.conf');
 const { IS_DEV, styleRule } = require('./utils');
@@ -63,7 +63,7 @@ module.exports = {
   devtool: IS_DEV ? '#inline-source-map' : false,
   plugins: [
     definePlugin,
-    !IS_DEV && new BabiliWebpackPlugin({
+    !IS_DEV && new MinifyPlugin({
       mangle: !!MINIFY,
     }, {
       babili: (...args) => Object.assign(babiliPreset(...args), {