File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 4
4
"description" : " Hash link scroll functionality for React Router v4" ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
7
+ "build" : " rm -rf lib && babel src -d lib --presets=latest,react --plugins=transform-object-rest-spread" ,
8
+ "prepublish" : " npm run build"
7
9
},
8
10
"repository" : {
9
11
"type" : " git" ,
19
21
"bugs" : {
20
22
"url" : " https://github.com/rafrex/react-router-hash-link-scroll/issues"
21
23
},
22
- "homepage" : " https://github.com/rafrex/react-router-hash-link-scroll#readme"
24
+ "homepage" : " https://github.com/rafrex/react-router-hash-link-scroll#readme" ,
25
+ "devDependencies" : {
26
+ "babel-cli" : " ^6.24.0" ,
27
+ "babel-plugin-transform-object-rest-spread" : " ^6.23.0" ,
28
+ "babel-preset-latest" : " ^6.24.0" ,
29
+ "babel-preset-react" : " ^6.23.0"
30
+ }
23
31
}
You can’t perform that action at this time.
0 commit comments