Skip to content

Commit

Permalink
add additional presets for v2v
Browse files Browse the repository at this point in the history
  • Loading branch information
priley86 committed Mar 7, 2018
1 parent ae54b33 commit 44a5ecb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 13 deletions.
34 changes: 22 additions & 12 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
{
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": [
"> 1%",
"last 2 versions",
"Firefox ESR",
"IE 10",
"IE 11",
],
},
}],
[
"env",
{
"targets": {
"browsers": [
"> 1%",
"last 2 versions",
"Firefox ESR",
"IE 10",
"IE 11"
]
}
}
],
"react",
"es2015",
"stage-1"
],
"plugins": [
"transform-class-properties",
"transform-export-extensions",
"transform-object-rest-spread",
"transform-object-assign"
],
"env": {
"test": {
Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,17 @@
"babel-eslint": "~6.0.4",
"babel-jest": "^22.0.0",
"babel-loader": "~7.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-object-assign": "^6.8.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "~1.4.0",
"babel-preset-env": "^1.6.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"compression-webpack-plugin": "~0.4.0",
"css-loader": "~0.28.0",
"eslint": "^4.14.0",
Expand Down

0 comments on commit 44a5ecb

Please sign in to comment.