Skip to content

Commit

Permalink
feat: use standard-version #85
Browse files Browse the repository at this point in the history
standard-version does the following:

1. bumps the version in metadata files (package.json, composer.json, etc).
2. uses conventional-changelog to update CHANGELOG.md
3. commits package.json (et al.) and CHANGELOG.md
4. tags a new release

Added `release` script in package.json: `npm run release`
  • Loading branch information
abmusse authored and kadler committed Jan 13, 2020
1 parent 14f603e commit 45f66a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"test": "test"
},
"scripts": {
"test": "./node_modules/mocha/bin/mocha --timeout 3s"
"test": "./node_modules/mocha/bin/mocha --timeout 3s",
"release": "standard-version"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -45,7 +46,8 @@
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"mocha": "^6.2.0",
"sinon": "^7.4.1"
"sinon": "^7.4.1",
"standard-version": "^7.0.0"
},
"optionalDependencies": {
"idb-connector": "^1.2.2",
Expand Down

0 comments on commit 45f66a7

Please sign in to comment.