Skip to content

Commit

Permalink
chore: 🔧 use standard-version for release management
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmassmann committed Nov 2, 2021
1 parent 37847d2 commit 8ced008
Show file tree
Hide file tree
Showing 2 changed files with 903 additions and 15 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@
"scripts": {
"compile": "rm -rf dist && mkdir dist && node build.js",
"lint": "eslint --ext .js src test",
"test": "jest",
"precommit": "lint-staged",
"prepublish": "yarn compile",
"preversion": "yarn test",
"postversion": "git push --tags && yarn publish . && git push && echo \"Successfully released version $npm_package_version!\""
"release": "yarn test && yarn compile && standard-version && git push --follow-tags && yarn publish",
"test": "jest"
},
"lint-staged": {
"*.js": [
Expand All @@ -37,6 +35,7 @@
"axios": "^0.21.1",
"axios-extensions": "^3.1.3",
"axios-retry": "^3.2.0",
"standard-version": "^9.3.2",
"ufo": "^0.7.5"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 8ced008

Please sign in to comment.