Open mickmcgrath13 opened 9 years ago
Update package.json to use preversion, version, and postversion Example: https://github.com/canjs/can-set/blob/master/package.json
//... "scripts": { "preversion": "npm test && npm run build", "version": "git commit -am \"Update dist for release\" && git checkout -b release && git add -f dist/", "postversion": "git push --tags && git checkout master && git branch -D release && git push", "release:patch": "npm version patch && npm publish", "release:minor": "npm version minor && npm publish", "release:major": "npm version major && npm publish", "jshint": "jshint src/. --config", "testee": "testee test.html --browsers firefox", "test": "npm run jshint && npm run testee", "build": "node build.js" }, //...
PR: https://github.com/bitovi/syn/pull/108
Update package.json to use preversion, version, and postversion Example: https://github.com/canjs/can-set/blob/master/package.json