Skip to content

Commit 048568c

Browse files
authored
Support babel v7 (#78)
We finally start supporting babel v7. As expected, it took more effort than just changing the number in package.json. Among babel I updated other dependencies (apart from lint-staged, because in their changelog I saw they require Node >8.6, which I decided to fix within other PR). Initial request: #30 ### Todo - [x] Use new interface of @babel/cli (now we copy unwanted files) - [x] Make sure tests for built version are passes
1 parent 783f0b2 commit 048568c

36 files changed

+2026
-3706
lines changed

.babelrc

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
{
2-
"presets": ["forbeslindesay"],
3-
"plugins": ["transform-flow-strip-types"]
2+
"presets": [
3+
["@babel/preset-env", {
4+
"targets": {
5+
"node": "6",
6+
},
7+
}],
8+
"@babel/preset-flow",
9+
],
10+
11+
"plugins": [
12+
"@babel/plugin-proposal-class-properties",
13+
],
414
}

flow-typed/npm/babel-cli_vx.x.x.js

-108
This file was deleted.

flow-typed/npm/babel-core_vx.x.x.js

-227
This file was deleted.

flow-typed/npm/babel-jest_vx.x.x.js

-32
This file was deleted.

0 commit comments

Comments
 (0)