Internal: add "npm run release" command

—skip-test is used because of tesling (it does not like to be spawned
or something like that)…
This commit is contained in:
Maxime Thirouin
2016-03-12 07:52:52 +01:00
parent 01536bfbf5
commit ba6ef126c0

View File

@@ -25,6 +25,7 @@
"coverify": "^1.0.6",
"jscs": "^1.6.2",
"jshint": "^2.5.6",
"npmpub": "^3.1.0",
"serve": "1.4.0",
"tape": "^3.0.0",
"testling": "^1.6.1"
@@ -37,7 +38,8 @@
"test--html": "testling --html > tests/scripts/index.html",
"coverage": "browserify -t coverify tests/**/*.js | testling | coverify",
"example": "echo '\n==> Open http://localhost:3000/example in your browser.'; serve .",
"prepublish": "npm run standalone"
"prepublish": "npm run standalone",
"release": "npm test && npmpub --skip-test"
},
"testling": {
"files": "tests/**/*.js",