Skip to content

Commit efc2b1a

Browse files
authored
Upgrade to babel@7 (#208)
1 parent d7dd895 commit efc2b1a

File tree

2 files changed

+2633
-1314
lines changed

2 files changed

+2633
-1314
lines changed

package.json

Lines changed: 15 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -22,36 +22,14 @@
2222
"mocha": "--require resources/mocha-bootload src/**/__tests__/**/*.js"
2323
},
2424
"babel": {
25-
"plugins": [
26-
"transform-async-to-generator",
27-
"transform-regenerator",
28-
"transform-class-properties",
29-
"transform-flow-strip-types",
30-
"transform-es2015-template-literals",
31-
"transform-es2015-literals",
32-
"transform-es2015-function-name",
33-
"transform-es2015-arrow-functions",
25+
"presets": [
3426
[
35-
"transform-es2015-classes",
27+
"@babel/preset-env",
3628
{
3729
"loose": true
3830
}
3931
],
40-
"transform-es2015-shorthand-properties",
41-
[
42-
"transform-es2015-spread",
43-
{
44-
"loose": true
45-
}
46-
],
47-
"transform-es2015-parameters",
48-
"transform-es2015-block-scoping",
49-
[
50-
"transform-es2015-destructuring",
51-
{
52-
"loose": true
53-
}
54-
]
32+
"@babel/preset-flow"
5533
]
5634
},
5735
"scripts": {
@@ -76,28 +54,18 @@
7654
"PATENTS"
7755
],
7856
"devDependencies": {
79-
"babel-cli": "6.26.0",
80-
"babel-eslint": "8.2.1",
81-
"babel-plugin-transform-async-to-generator": "6.24.1",
82-
"babel-plugin-transform-class-properties": "6.24.1",
83-
"babel-plugin-transform-es2015-arrow-functions": "6.22.0",
84-
"babel-plugin-transform-es2015-block-scoping": "6.26.0",
85-
"babel-plugin-transform-es2015-classes": "6.24.1",
86-
"babel-plugin-transform-es2015-destructuring": "6.23.0",
87-
"babel-plugin-transform-es2015-function-name": "6.24.1",
88-
"babel-plugin-transform-es2015-literals": "6.22.0",
89-
"babel-plugin-transform-es2015-parameters": "6.24.1",
90-
"babel-plugin-transform-es2015-shorthand-properties": "6.24.1",
91-
"babel-plugin-transform-es2015-spread": "6.22.0",
92-
"babel-plugin-transform-es2015-template-literals": "6.22.0",
93-
"babel-plugin-transform-flow-strip-types": "6.22.0",
94-
"babel-plugin-transform-regenerator": "6.26.0",
95-
"chai": "4.1.2",
96-
"coveralls": "3.0.0",
97-
"eslint": "4.16.0",
57+
"@babel/cli": "7.7.0",
58+
"@babel/core": "7.7.2",
59+
"@babel/node": "7.7.0",
60+
"@babel/preset-env": "7.7.1",
61+
"@babel/preset-flow": "7.0.0",
62+
"babel-eslint": "10.0.3",
63+
"chai": "4.2.0",
64+
"coveralls": "3.0.7",
65+
"eslint": "6.6.0",
9866
"flow-bin": "0.64.0",
99-
"isparta": "4.0.0",
100-
"mocha": "5.0.0",
101-
"sane": "2.3.0"
67+
"isparta": "4.1.1",
68+
"mocha": "6.2.2",
69+
"sane": "4.1.0"
10270
}
10371
}

0 commit comments

Comments
 (0)