Skip to content

Commit 6c7320b

Browse files
pre/post publish scripts
1 parent c704091 commit 6c7320b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@
142142
"validate": "node ./test/validate-turtle.js",
143143
"nyc": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 nyc --reporter=text-summary mocha --recursive test/",
144144
"mocha": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/",
145+
"prepublishOnly": "npm test",
146+
"postpublish": "git push --follow-tags",
145147
"test": "npm run standard && npm run validate && npm run nyc",
146148
"clean": "rimraf config/templates config/views",
147149
"reset": "rimraf .db data && npm run clean"

0 commit comments

Comments
 (0)