Skip to content

Commit b405861

Browse files
committed
Update babel transforms
1 parent 9bc71be commit b405861

File tree

2 files changed

+43
-11
lines changed

2 files changed

+43
-11
lines changed

.babelrc

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
{
22
"plugins": [
3+
"syntax-async-functions",
4+
"transform-class-properties",
35
"transform-flow-strip-types",
4-
"transform-runtime"
5-
],
6-
"presets": [
7-
"es2015",
8-
"stage-2"
6+
"transform-object-rest-spread",
7+
"transform-es2015-template-literals",
8+
"transform-es2015-literals",
9+
"transform-es2015-function-name",
10+
"transform-es2015-arrow-functions",
11+
"transform-es2015-block-scoped-functions",
12+
["transform-es2015-classes", {loose: true}],
13+
"transform-es2015-object-super",
14+
"transform-es2015-shorthand-properties",
15+
"transform-es2015-duplicate-keys",
16+
"transform-es2015-computed-properties",
17+
"check-es2015-constants",
18+
["transform-es2015-spread", {loose: true}],
19+
"transform-es2015-parameters",
20+
["transform-es2015-destructuring", {loose: true}],
21+
"transform-es2015-block-scoping",
22+
"transform-es2015-modules-commonjs",
23+
"transform-regenerator",
924
]
1025
}

package.json

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,30 @@
4545
"graphql": "^0.5.0 || ^0.6.0 || ^0.7.0"
4646
},
4747
"devDependencies": {
48-
"babel-cli": "6.9.0",
49-
"babel-core": "6.9.0",
48+
"babel-cli": "6.18.0",
49+
"babel-core": "6.18.2",
5050
"babel-eslint": "6.0.4",
51-
"babel-plugin-transform-flow-strip-types": "6.8.0",
52-
"babel-plugin-transform-runtime": "6.9.0",
53-
"babel-preset-es2015": "6.9.0",
54-
"babel-preset-stage-2": "6.5.0",
51+
"babel-plugin-check-es2015-constants": "6.8.0",
52+
"babel-plugin-syntax-async-functions": "6.13.0",
53+
"babel-plugin-transform-class-properties": "6.18.0",
54+
"babel-plugin-transform-es2015-arrow-functions": "6.8.0",
55+
"babel-plugin-transform-es2015-block-scoped-functions": "6.8.0",
56+
"babel-plugin-transform-es2015-block-scoping": "6.18.0",
57+
"babel-plugin-transform-es2015-classes": "6.18.0",
58+
"babel-plugin-transform-es2015-computed-properties": "6.8.0",
59+
"babel-plugin-transform-es2015-destructuring": "6.18.0",
60+
"babel-plugin-transform-es2015-duplicate-keys": "6.8.0",
61+
"babel-plugin-transform-es2015-function-name": "6.9.0",
62+
"babel-plugin-transform-es2015-literals": "6.8.0",
63+
"babel-plugin-transform-es2015-modules-commonjs": "6.18.0",
64+
"babel-plugin-transform-es2015-object-super": "6.8.0",
65+
"babel-plugin-transform-es2015-parameters": "6.18.0",
66+
"babel-plugin-transform-es2015-shorthand-properties": "6.18.0",
67+
"babel-plugin-transform-es2015-spread": "6.8.0",
68+
"babel-plugin-transform-es2015-template-literals": "6.8.0",
69+
"babel-plugin-transform-flow-strip-types": "6.18.0",
70+
"babel-plugin-transform-object-rest-spread": "6.16.0",
71+
"babel-plugin-transform-regenerator": "6.16.1",
5572
"chai": "3.5.0",
5673
"chai-as-promised": "5.3.0",
5774
"coveralls": "2.11.9",

0 commit comments

Comments
 (0)