Skip to content

Commit af0cd07

Browse files
committed
Update babel to 7
1 parent 43d0753 commit af0cd07

File tree

3 files changed

+1950
-1808
lines changed

3 files changed

+1950
-1808
lines changed

.babelrc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"plugins": [
3-
"transform-runtime",
4-
"transform-flow-strip-types"
3+
"@babel/transform-runtime",
4+
"@babel/transform-flow-strip-types",
5+
"@babel/plugin-proposal-export-default-from",
6+
"@babel/plugin-proposal-class-properties"
57
],
68
"presets": [
7-
"es2015",
8-
"stage-0"
9+
"@babel/preset-env"
910
]
1011
}

package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,26 @@
1616
"author": "Kévin Dunglas",
1717
"license": "MIT",
1818
"devDependencies": {
19-
"babel-cli": "^6.26.0",
20-
"babel-core": "^6.26.3",
19+
"@babel/cli": "^7.0.0",
20+
"@babel/core": "^7.0.0",
2121
"babel-eslint": "^10.0.0",
22-
"babel-jest": "^23.6.0",
23-
"babel-plugin-transform-flow-strip-types": "^6.22.0",
24-
"babel-plugin-transform-runtime": "^6.23.0",
25-
"babel-preset-es2015": "^6.24.1",
26-
"babel-preset-stage-0": "^6.24.1",
22+
"babel-jest": "^24.0.0",
2723
"eslint": "^5.6.0",
24+
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
25+
"@babel/plugin-transform-runtime": "^7.0.0",
26+
"@babel/plugin-proposal-export-default-from": "^7.0.0",
27+
"@babel/plugin-proposal-class-properties": "^7.0.0",
28+
"@babel/preset-env": "^7.6.0",
2829
"eslint-config-prettier": "^3.1.0",
2930
"eslint-plugin-import": "^2.14.0",
3031
"eslint-plugin-prettier": "^2.6.2",
31-
"jest": "^23.6.0",
32+
"jest": "^24.0.0",
3233
"prettier": "^1.14.3",
3334
"tmp": "^0.0.33"
3435
},
3536
"dependencies": {
36-
"@api-platform/api-doc-parser": "^0.7.3",
37-
"babel-runtime": "^6.26.0",
37+
"@api-platform/api-doc-parser": "^0.8.0",
38+
"@babel/runtime": "^7.0.0",
3839
"chalk": "^2.4.1",
3940
"commander": "^2.18.0",
4041
"handlebars": "^4.0.12",

0 commit comments

Comments
 (0)