Skip to content

Commit 40ebb4d

Browse files
committedJan 4, 2021
Added prepublishOnly & postversion scripts;
1 parent 6510e83 commit 40ebb4d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

Diff for: ‎package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
"playground:run": "node playground/build/index.js || true",
1111
"playground:build": "rollup ./playground/src/index.js --file ./playground/build/index.js --format iife --config ./playground/rollup.config.js",
1212
"playground:watch": "nodemon --delay 1000ms --watch ./playground/src/ --watch lib/ --exec \\\"npm run playground:build\\\"",
13-
"playground:server": "browser-sync start --server --index ./playground/index.html --files \"./playground/build/*.*\""
13+
"playground:server": "browser-sync start --server --index ./playground/index.html --files \"./playground/build/*.*\"",
14+
"prepublishOnly": "npm run test",
15+
"postversion": "git push && git push --tags"
1416
},
1517
"author": {
1618
"name": "Dmitriy Mozgovoy",

0 commit comments

Comments
 (0)
Please sign in to comment.