Skip to content

Commit

Permalink
better npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nichoth committed Dec 26, 2023
1 parent 9b9d06c commit 38cc76b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
"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 auto-changelog --breaking-pattern 'BREAKING CHANGE'",
"preversion": "npm run lint",
"//version": "npm run changelog && git add CHANGELOG.md",
"version": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md",
"postversion": "git push --follow-tags && npm publish",
"prepublishOnly": "npm run build"
Expand Down

0 comments on commit 38cc76b

Please sign in to comment.