File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11
11
"dev" : " jest && webpack --progress --colors --watch" ,
12
12
"dev-server" : " node ./examples/parallax-example/dist/server" ,
13
13
"gh-pages" : " NODE_ENV=production webpack --progress --colors" ,
14
- "test" : " jest"
14
+ "test" : " jest" ,
15
+ "prepublish" : " babel ./src --out-dir ./lib --presets es2015,react,stage-0 --plugins babel-plugin-add-module-exports"
15
16
},
16
17
"jest" : {
17
- "modulePaths" : [" <rootDir>/src/" ]
18
+ "modulePaths" : [
19
+ " <rootDir>/src/"
20
+ ]
18
21
},
19
22
"keywords" : [
20
23
" react" ,
30
33
"react-proptypes" : " ^1.0.0"
31
34
},
32
35
"devDependencies" : {
36
+ "babel-cli" : " ^6.24.1" ,
33
37
"babel-core" : " ^6.23.1" ,
34
38
"babel-jest" : " ^20.0.3" ,
35
39
"babel-loader" : " ^6.3.2" ,
40
+ "babel-plugin-add-module-exports" : " ^0.2.1" ,
36
41
"babel-preset-env" : " ^1.1.8" ,
37
42
"babel-preset-es2015" : " ^6.24.1" ,
38
43
"babel-preset-react" : " ^6.23.0" ,
You can’t perform that action at this time.
0 commit comments