Skip to content

Commit 0dbf01c

Browse files
committed
chore: add reelase script
1 parent 58ca784 commit 0dbf01c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
"prepublishOnly": "npm run build",
1616
"pretest": "npm run build",
1717
"test": "mocha -r @swc-node/register 'test/index.ts'",
18-
"test:update": "mocha --update -r @swc-node/register 'test/index.ts'"
18+
"test:update": "mocha --update -r @swc-node/register 'test/index.ts'",
19+
"prerelease": "pnpm run build && pnpm run lint",
20+
"release": "bumpp -r --all --commit \"release: %s\" --tag \"%s\""
1921
},
2022
"keywords": [
2123
"react",

0 commit comments

Comments
 (0)