Skip to content

Commit ba9b316

Browse files
committed
add build scripts
1 parent 599d42b commit ba9b316

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"name": "deployable-ringbuffer",
3-
"version": "0.1.0",
3+
"version": "0.1.0-0",
44
"description": "Array like circualar buffer",
55
"main": "lib/index.js",
66
"scripts": {
77
"test": "mocha",
8-
"test:debug": "DEBUG='*' mocha debug"
8+
"test:debug": "DEBUG='*' mocha debug",
9+
"npm:publish": "npm test && [ -z \"$(git status --porcelain)\" ] && npm version patch && npm publish",
10+
"npm:pubtest": "npm test && npm version prerelease && npm publish --tag testing"
911
},
1012
"repository": {
1113
"type": "git",

0 commit comments

Comments
 (0)