Skip to content

Commit 2700955

Browse files
committed
Update babel to v7
1 parent 081aae8 commit 2700955

File tree

2 files changed

+27
-29
lines changed

2 files changed

+27
-29
lines changed

.babelrc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,11 @@
88
}
99
}
1010
],
11-
[
12-
"@babel/preset-stage-1",
13-
{
14-
"decoratorsLegacy": true
15-
}
16-
],
1711
"@babel/preset-react"
1812
],
13+
"plugins": [
14+
"@babel/plugin-proposal-export-default-from"
15+
],
1916
"env": {
2017
"production": {
2118
"plugins": [

package.json

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -22,40 +22,41 @@
2222
"prop-types": "^15.6.2"
2323
},
2424
"devDependencies": {
25-
"@babel/cli": "^7.0.0-beta.54",
26-
"@babel/core": "^7.0.0-beta.54",
27-
"@babel/preset-env": "^7.0.0-beta.54",
28-
"@babel/preset-react": "^7.0.0-beta.54",
29-
"@babel/preset-stage-1": "^7.0.0-beta.54",
30-
"@babel/register": "^7.0.0-beta.54",
31-
"ava": "^1.0.0-beta.6",
32-
"babel-plugin-transform-react-remove-prop-types": "^0.4.13",
25+
"@babel/cli": "^7.0.0",
26+
"@babel/core": "^7.0.0",
27+
"@babel/plugin-proposal-export-default-from": "7.0.0",
28+
"@babel/plugin-syntax-dynamic-import": "7.0.0",
29+
"@babel/plugin-syntax-import-meta": "7.0.0",
30+
"@babel/preset-env": "^7.0.0",
31+
"@babel/preset-react": "^7.0.0",
32+
"@babel/register": "^7.0.0",
33+
"ava": "^1.0.0-beta.8",
34+
"babel-plugin-transform-react-remove-prop-types": "^0.4.15",
3335
"cross-env": "^5.2.0",
3436
"del-cli": "^1.1.0",
35-
"enzyme": "^3.3.0",
36-
"enzyme-adapter-react-16": "^1.1.1",
37-
"eslint": "^5.2.0",
38-
"eslint-config-concise": "^0.29.2",
39-
"eslint-config-concise-ava": "^0.29.0",
40-
"eslint-config-concise-esnext": "^0.28.2",
41-
"eslint-config-concise-react": "^0.28.2",
42-
"eslint-plugin-react": "^7.10.0",
37+
"enzyme": "^3.5.0",
38+
"enzyme-adapter-react-16": "^1.3.1",
39+
"eslint": "^5.5.0",
40+
"eslint-config-concise": "^0.30.0",
41+
"eslint-config-concise-ava": "^0.30.0",
42+
"eslint-config-concise-esnext": "^0.30.0",
43+
"eslint-config-concise-react": "^0.30.0",
44+
"eslint-plugin-react": "^7.11.1",
4345
"husky": "^0.14.3",
4446
"immutable": "^3.8.2",
4547
"intl": "^1.2.5",
46-
"jsdom": "^11.11.0",
48+
"jsdom": "^12.0.0",
4749
"jsdom-global": "^3.0.2",
48-
"lerna": "^3.0.0-beta.21",
49-
"lint-staged": "^7.2.0",
50+
"lint-staged": "^7.2.2",
5051
"npm-run-all": "^4.1.3",
51-
"nyc": "^12.0.2",
52+
"nyc": "^13.0.1",
5253
"prettier-eslint-cli": "^5.0.0-beta.0",
5354
"raf": "^3.4.0",
54-
"react": "^16.4.1",
55-
"react-dom": "^16.4.1",
55+
"react": "^16.4.2",
56+
"react-dom": "^16.4.2",
5657
"react-intl": "^2.4.0",
5758
"react-redux": "^5.0.7",
58-
"react-test-renderer": "^16.4.1",
59+
"react-test-renderer": "^16.4.2",
5960
"redux": "^4.0.0",
6061
"redux-immutable": "^4.0.0"
6162
},

0 commit comments

Comments
 (0)