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:
@@ -25,6 +25,7 @@
|
|||||||
"coverify": "^1.0.6",
|
"coverify": "^1.0.6",
|
||||||
"jscs": "^1.6.2",
|
"jscs": "^1.6.2",
|
||||||
"jshint": "^2.5.6",
|
"jshint": "^2.5.6",
|
||||||
|
"npmpub": "^3.1.0",
|
||||||
"serve": "1.4.0",
|
"serve": "1.4.0",
|
||||||
"tape": "^3.0.0",
|
"tape": "^3.0.0",
|
||||||
"testling": "^1.6.1"
|
"testling": "^1.6.1"
|
||||||
@@ -37,7 +38,8 @@
|
|||||||
"test--html": "testling --html > tests/scripts/index.html",
|
"test--html": "testling --html > tests/scripts/index.html",
|
||||||
"coverage": "browserify -t coverify tests/**/*.js | testling | coverify",
|
"coverage": "browserify -t coverify tests/**/*.js | testling | coverify",
|
||||||
"example": "echo '\n==> Open http://localhost:3000/example in your browser.'; serve .",
|
"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": {
|
"testling": {
|
||||||
"files": "tests/**/*.js",
|
"files": "tests/**/*.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user