Skip to content

Commit 798da1d

Browse files
committed
upgrade babel
1 parent dda2963 commit 798da1d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"start": "gulp server",
8-
"prepublish": "babel ./src --out-dir ./lib",
8+
"prepublish": "babel ./src --out-dir ./lib --plugins=transform-class-properties,transform-react-jsx",
99
"test": "karma start --single-run",
1010
"dev-test": "karma start"
1111
},
@@ -33,10 +33,12 @@
3333
},
3434
"devDependencies": {
3535
"autoprefixer": "^6.7.7",
36-
"babel": "^5.8.38",
37-
"babel-core": "^5.8.38",
36+
"babel-cli": "^6.26.0",
37+
"babel-core": "^6.26.0",
3838
"babel-eslint": "^6.1.2",
39-
"babel-loader": "^5.4.2",
39+
"babel-loader": "^7.1.2",
40+
"babel-plugin-transform-class-properties": "^6.24.1",
41+
"babel-plugin-transform-react-jsx": "^6.24.1",
4042
"es5-shim": "^4.5.9",
4143
"eslint": "^3.19.0",
4244
"eslint-plugin-react": "^6.10.3",

0 commit comments

Comments
 (0)