File tree 1 file changed +24
-6
lines changed 1 file changed +24
-6
lines changed Original file line number Diff line number Diff line change 23
23
"yarn" : false ,
24
24
"yolo" : true
25
25
},
26
+ "babel" : {
27
+ "presets" : [
28
+ " @babel/preset-env" ,
29
+ [
30
+ " @babel/preset-react" ,
31
+ {
32
+ "runtime" : " automatic"
33
+ }
34
+ ]
35
+ ]
36
+ },
26
37
"scripts" : {
38
+ "start" : " npm run build && npm run header" ,
39
+ "build" : " babel src/react-bouncer.js --out-file react-bouncer.js --source-maps" ,
40
+ "header" : " headr react-bouncer.js -o=react-bouncer.js --version --homepage --author" ,
41
+ "version" : " npm run build && npm run header && git add ." ,
27
42
"prepublishOnly" : " pkg-ok"
28
43
},
29
- "author" : {
30
- "name" : " Yair Even-Or" ,
31
- "email" : " vsync.design@gmail.com"
32
- },
44
+ "author" : " Yair Even-Or <vsync.design@gmail.com>" ,
33
45
"main" : " react-bouncer.js" ,
34
46
"repository" : {
35
47
"type" : " git" ,
39
51
"url" : " https://github.com/yaireo/react-bouncer/issues"
40
52
},
41
53
"files" : [
42
- " react-bouncer.js"
54
+ " react-bouncer.js" ,
55
+ " react-bouncer.js.map"
43
56
],
44
57
"peerDependencies" : {
45
58
"react" : " ^16.18.0"
46
59
},
47
60
"devDependencies" : {
48
- "lodash.debounce" : " ^4.0.8"
61
+ "lodash.debounce" : " ^4.0.8" ,
62
+ "headr" : " ^0.0.4" ,
63
+ "@babel/cli" : " ^7.18.10" ,
64
+ "@babel/core" : " ^7.18.13" ,
65
+ "@babel/preset-env" : " ^7.18.10" ,
66
+ "@babel/preset-react" : " ^7.18.6"
49
67
}
50
68
}
You can’t perform that action at this time.
0 commit comments