Skip to content

Commit 14f9891

Browse files
committed
0.2.0
1 parent 3f61496 commit 14f9891

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "use-web-animation",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Hooks to leverage the web-animations API",
55
"license": "MIT",
66
"author": "jdecroock <decroockjovi@gmail.com> (https://twitter.com/JoviDeC)",
@@ -49,10 +49,11 @@
4949
}
5050
},
5151
"scripts": {
52-
"build": "rimraf dist && yarn build:preact && yarn build:react",
52+
"build": "yarn build:preact && yarn build:react",
5353
"build:react": "microbundle --external react --name use-web-animation --output dist/",
5454
"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"
5657
},
5758
"prettier": {
5859
"singleQuote": true,

0 commit comments

Comments
 (0)