File tree 2 files changed +6
-6
lines changed 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "presets" : [" es2015" , " react" ]
2
+ "presets" : [" es2015" , " react" ],
3
+ "plugins" : ['transform-class-properties' ]
3
4
}
Original file line number Diff line number Diff line change 4
4
"description" : " My React template for prototyping" ,
5
5
"main" : " server.js" ,
6
6
"scripts" : {
7
- "test" : " echo \" Error: no test specified\" && exit 1"
7
+ "dev" : " webpack -d --watch" ,
8
+ "build" : " webpack -p"
8
9
},
9
10
"repository" : {
10
11
"type" : " git" ,
19
20
"devDependencies" : {
20
21
"babel-core" : " ^6.24.0" ,
21
22
"babel-loader" : " ^6.4.1" ,
23
+ "babel-plugin-transform-class-properties" : " ^6.23.0" ,
24
+ "babel-plugin-transform-es2015-arrow-functions" : " ^6.22.0" ,
22
25
"babel-preset-es2015" : " ^6.24.0" ,
23
26
"babel-preset-react" : " ^6.23.0" ,
24
27
"path" : " ^0.12.7" ,
27
30
"dependencies" : {
28
31
"react" : " ^15.4.2" ,
29
32
"react-dom" : " ^15.4.2"
30
- },
31
- "scripts" : {
32
- "dev" : " webpack -d --watch" ,
33
- "build" : " webpack -p"
34
33
}
35
34
}
You can’t perform that action at this time.
0 commit comments