Get rid of babel-preset-es2015

This commit is contained in:
Tyler Long
2017-12-20 22:10:58 +08:00
parent 26eaaa8c79
commit 7e01b2b3fb
4 changed files with 3 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
{ {
"presets": [ "presets": [
"es2015" "env"
] ]
} }

View File

@@ -13,9 +13,9 @@
"git graph" "git graph"
], ],
"scripts": { "scripts": {
"build": "node -r babel-register ./node_modules/.bin/webpack --progress --colors", "build": "webpack --progress --colors",
"build:watch": "yarn build --watch", "build:watch": "yarn build --watch",
"release": "yarn build -p --config webpack.config.prod.js", "release": "yarn build -p --config webpack.config.prod.babel.js",
"upgrade": "yarn-upgrade-all && yarn remove d3 && yarn add d3@3.5.17", "upgrade": "yarn-upgrade-all && yarn remove d3 && yarn add d3@3.5.17",
"lint": "standard", "lint": "standard",
"karma": "node -r babel-register node_modules/.bin/karma start karma.conf.js --single-run", "karma": "node -r babel-register node_modules/.bin/karma start karma.conf.js --single-run",
@@ -48,7 +48,6 @@
"babel-loader": "^7.1.2", "babel-loader": "^7.1.2",
"babel-plugin-lodash": "^3.3.2", "babel-plugin-lodash": "^3.3.2",
"babel-preset-env": "^1.6.1", "babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"codeclimate-test-reporter": "^0.5.0", "codeclimate-test-reporter": "^0.5.0",
"css-loader": "^0.28.7", "css-loader": "^0.28.7",
"css-to-string-loader": "^0.1.3", "css-to-string-loader": "^0.1.3",