Skip to content

Commit

Permalink
npmify release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-Esch committed Dec 2, 2014
1 parent a0a0534 commit 3dbb731
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 28 deletions.
12 changes: 5 additions & 7 deletions package.json
Expand Up @@ -34,9 +34,7 @@
"tap-dot": "^0.2.1",
"tap-spec": "^0.2.0",
"tape": "^2.13.4",
"zuul": "^1.10.0",
"semver": "^4.1.0",
"execSync": "^1.0.2"
"zuul": "^1.10.0"
},
"licenses": [
{
Expand All @@ -54,10 +52,10 @@
"phantom": "run-browser test/index.js -b | tap-spec",
"dist": "browserify --standalone virtual-dom index.js > dist/virtual-dom.js",
"travis-test": "npm run phantom && npm run cover && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)",
"release": "npm run release-patch",
"release-patch": "node ./scripts/release.js patch",
"release-minor": "node ./scripts/release.js minor",
"release-major": "node ./scripts/release.js major"
"release": "git checkout master && npm version patch && git push origin master --tags && npm publish",
"release-patch": "git checkout master && npm version patch && git push origin master --tags && npm publish",
"release-minor": "git checkout master && npm version major && git push origin master --tags && npm publish",
"release-major": "git checkout master && npm version minor && git push origin master --tags && npm publish"
},
"testling": {
"files": "test/*.js",
Expand Down
21 changes: 0 additions & 21 deletions scripts/release.js

This file was deleted.

0 comments on commit 3dbb731

Please sign in to comment.