Last active
February 20, 2020 13:24
-
-
Save Abdelkrim/9ab435f61829e73cf729115561a026b0 to your computer and use it in GitHub Desktop.
standard-version : add the package.json configuration including the scripts to manage the semver of your project AND generate the CHANGELOG
This file contains hidden or 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
{ | |
"name": "altf1bemanagesemver", | |
"description": "ALT-F1 SPRL: Empty package.json including the management of the semver", | |
"authors": "Abdelkrim Boujraf, ALT-F1 SPRL", | |
"version": "1.0.1", | |
"main": "build/html/index.html", | |
"scripts": { | |
"release": "standard-version", | |
"patch": "npm run release -- --release-as patch", | |
"minor": "npm run release -- --release-as minor", | |
"major": "npm run release -- --release-as major", | |
"push": "git push --follow-tags origin master" | |
}, | |
"repository": { | |
"type": "git", | |
"url": "http://www.alt-f1.be" | |
}, | |
"license": "SEE LICENSE IN LICENSE", | |
"devDependencies": { | |
"standard-version": "^7.0.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment