This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(package.json): add release workflow
- Loading branch information
stfsy
committed
Jul 31, 2016
1 parent
70dab5b
commit 1ae268c
Showing
1 changed file
with
34 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,35 @@ | ||
{ | ||
"name": "broccoli-version", | ||
"version": "0.1.0", | ||
"description": "Broccoli plugin for incrementing version numbers in .json files", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"test": "mocha test/specs" | ||
}, | ||
"repository": "https://github.com/stfsy/broccoli-version.git", | ||
"keywords": [ | ||
"broccoli-plugin" | ||
], | ||
"author": "Stefan Pfaffel", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/stfsy/broccoli-version/issues" | ||
}, | ||
"homepage": "https://github.com/stfsy/broccoli-version#readme", | ||
"dependencies": { | ||
"broccoli-plugin": "^1.2.1", | ||
"fs-promise": "^0.5.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "^3.5.0", | ||
"mocha": "^2.5.3" | ||
} | ||
} | ||
"name": "broccoli-version", | ||
"version": "0.1.0", | ||
"description": "Broccoli plugin for incrementing version numbers in .json files", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"test": "mocha test/specs", | ||
|
||
"preversion": "npm test", | ||
"postversion": "git add CHANGELOG.md && git push && git push --tags", | ||
|
||
"release-major": "changelog -M && npm version major -m \"chore(release): v%s\"", | ||
"release-minor": "changelog -m && npm version minor -m \"chore(release): v%s\"", | ||
"release-patch": "changelog -p && npm version patch -m \"chore(release): v%s\"" | ||
}, | ||
"repository": "https://github.com/stfsy/broccoli-version.git", | ||
"keywords": [ | ||
"broccoli-plugin" | ||
], | ||
"author": "Stefan Pfaffel", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/stfsy/broccoli-version/issues" | ||
}, | ||
"homepage": "https://github.com/stfsy/broccoli-version#readme", | ||
"dependencies": { | ||
"broccoli-plugin": "^1.2.1", | ||
"fs-promise": "^0.5.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "^3.5.0", | ||
"generate-changelog": "^1.0.2", | ||
"mocha": "^2.5.3" | ||
} | ||
} |