Skip to content

Commit

Permalink
better changelog scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nichoth committed Dec 26, 2023
1 parent 5e0b1b0 commit 462a76e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
"build:base": "esbuild src/index.js --define:VERSION=\\\"$npm_package_version\\\" --outfile=index.js",
"build:minify": "esbuild index.js --keep-names --minify --outfile=dist/tonic.min.js",
"build": "npm run build:base && npm run build:minify",
"changelog": "auto-changelog --template keepachangelog --breaking-pattern 'BREAKING CHANGE' && git add CHANGELOG.md && git commit -m 'changelog'",
"changelog": "auto-changelog --template keepachangelog --breaking-pattern 'BREAKING CHANGE'",
"preversion": "npm run lint",
"prepublishOnly": "npm run build",
"postversion": "npm run changelog && git push --follow-tags && npm publish"
"version": "npm run changelog && git add CHANGELOG.md && git commit -m 'changelog'",
"postversion": "git push --follow-tags && npm publish",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@nichoth/tapzero": "0.8.4",
Expand Down

0 comments on commit 462a76e

Please sign in to comment.