Skip to content

Commit

Permalink
Merge pull request #1731 from mobxjs/babel7
Browse files Browse the repository at this point in the history
Use Babel7
  • Loading branch information
mweststrate committed Sep 24, 2018
2 parents 36087e1 + f825b49 commit c86ba97
Show file tree
Hide file tree
Showing 3 changed files with 669 additions and 629 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
],
"homepage": "https://mobx.js.org/",
"devDependencies": {
"@babel/core": "^7.1.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-decorators": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@types/jest": "^21.1.9",
"@types/node": "^7.0.22",
"babel-core": "7.0.0-beta.3",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-plugin-transform-regenerator": "^6.26.0",
"babel-preset-es2015": "7.0.0-beta.3",
"babel-preset-react": "7.0.0-beta.3",
"babel-preset-stage-1": "7.0.0-beta.3",
"browserify": "^12.0.1",
"chalk": "^1.1.3",
"coveralls": "^2.11.4",
Expand Down Expand Up @@ -117,4 +117,4 @@
"<rootDir>/node_modules/"
]
}
}
}
17 changes: 6 additions & 11 deletions test/.babelrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"presets": [
"react",
"es2015",
"stage-1"
],
"plugins":[
"transform-decorators",
["transform-class-properties", { "loose": true}],
["transform-regenerator", { "asyncGenerators": false }]
]
}
"presets": ["@babel/preset-env"],
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true}],
["@babel/plugin-proposal-class-properties", { "loose": true}]
]
}

0 comments on commit c86ba97

Please sign in to comment.