Skip to content

Commit 037e4a0

Browse files
committed
chore: add bump scripts
1 parent c718603 commit 037e4a0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.husky/pre-commit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ bun run sort-package-json
22
bun run lint
33

44
# TODO: setup tests, including /example ones
5-
# bun run test
5+
# bun run test
6+
7+
git add .

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
"types": "lib/index.d.ts",
2727
"scripts": {
2828
"build": "tsc --noEmit false",
29+
"bump:major": "npm version major",
30+
"bump:minor": "npm version minor",
31+
"bump:patch": "npm version patch",
2932
"clean": "rm -rf android/build node_modules/**/android/build lib",
3033
"postinstall": "bun run build || exit 0;",
3134
"lint": "eslint .",

0 commit comments

Comments
 (0)