File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " use-web-animation" ,
3
- "version" : " 0.1 .0" ,
3
+ "version" : " 0.2 .0" ,
4
4
"description" : " Hooks to leverage the web-animations API" ,
5
5
"license" : " MIT" ,
6
6
"author" : " jdecroock <decroockjovi@gmail.com> (https://twitter.com/JoviDeC)" ,
49
49
}
50
50
},
51
51
"scripts" : {
52
- "build" : " rimraf dist && yarn build:preact && yarn build:react" ,
52
+ "build" : " yarn build:preact && yarn build:react" ,
53
53
"build:react" : " microbundle --external react --name use-web-animation --output dist/" ,
54
54
"build:preact" : " microbundle --external preact --name use-web-animation --output preact/dist --alias react=./preact/preact.ts" ,
55
- "build:ci" : " microbundle --define process.env.NODE_ENV=production --external react --name use-web-animation --output dist/"
55
+ "build:ci" : " microbundle --define process.env.NODE_ENV=production --external react --name use-web-animation --output dist/" ,
56
+ "prepublishOnly" : " yarn build"
56
57
},
57
58
"prettier" : {
58
59
"singleQuote" : true ,
You can’t perform that action at this time.
0 commit comments