Skip to content

Commit cb2d7ea

Browse files
committed
update scripts
1 parent 85d047f commit cb2d7ea

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@
2929
"test:watch": "vitest --typecheck --clearScreen false",
3030
"test:debug": "vitest --inspect-brk --no-file-parallelism",
3131
"test:coverage": "vitest run --coverage --coverage.reporter=text",
32-
"prepare": "npm run build",
33-
"alpha": "npm run clean && npm ci && run-p test lint typecheck && npm version prerelease --preid alpha && npm publish --tag alpha && git push --tags",
34-
"release": "npm run clean && npm ci && run-p test lint typecheck && npm version patch && npm publish && git push --tags",
32+
"prepublishOnly": "npm run clean && npm run build",
33+
"preversion": "npm run clean && npm ci && run-p test lint typecheck",
34+
"alpha": "npm version prerelease --preid alpha && npm publish --tag alpha && git push --tags",
35+
"release": "npm version patch && npm publish && git push --tags",
3536
"version": "vim -c 'normal o' -c 'normal o## '$npm_package_version CHANGELOG.md && prettier -w CHANGELOG.md && git add CHANGELOG.md"
3637
},
3738
"files": [

0 commit comments

Comments
 (0)