Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit fb6e3cd

Browse files
committed
Update babel presets
1 parent ee9ee24 commit fb6e3cd

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.babelrc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"stage": 0
2+
"presets": [
3+
"es2015",
4+
"react",
5+
"stage-0"
6+
]
37
}

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,21 @@
3636
"object-assign": "^4.0.1"
3737
},
3838
"peerDependencies": {
39-
"react": "^0.14.0",
40-
"react-dom": "^0.14.0"
39+
"react": "^0.14.0",
40+
"react-dom": "^0.14.0"
4141
},
4242
"devDependencies": {
43-
"babel-core": "^6.3.17",
4443
"babel-cli": "^6.3.17",
44+
"babel-core": "^6.3.17",
4545
"babel-eslint": "^5.0.0-beta4",
4646
"babel-loader": "^6.2.0",
47+
"babel-preset-es2015": "^6.3.13",
48+
"babel-preset-react": "^6.3.13",
49+
"babel-preset-stage-0": "^6.3.13",
4750
"eslint": "^1.10.3",
4851
"eslint-config-vkbansal": "^0.1.3",
4952
"eslint-plugin-react": "^3.11.3",
50-
"history": "^1.16.0",
53+
"history": "^1.13.0",
5154
"node-libs-browser": "^0.5.3",
5255
"react-router": "^1.0.2",
5356
"webpack": "^1.12.9",

0 commit comments

Comments
 (0)