Skip to content

Commit 6d8b7c8

Browse files
committed
auto-publish scripts
1 parent ca69873 commit 6d8b7c8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,18 @@
1010
"main": "ini.js",
1111
"scripts": {
1212
"pretest": "standard ini.js",
13-
"test": "tap test/*.js --100"
13+
"test": "tap test/*.js --100 -J",
14+
"preversion": "npm test",
15+
"postversion": "npm publish",
16+
"postpublish": "git push origin --all; git push origin --tags"
1417
},
1518
"engines": {
1619
"node": "*"
1720
},
1821
"dependencies": {},
1922
"devDependencies": {
2023
"standard": "^10.0.3",
21-
"tap": "^10.7.3"
24+
"tap": "^10.7.3 || 11"
2225
},
2326
"license": "ISC",
2427
"files": [

0 commit comments

Comments
 (0)