Skip to content

Commit 81e9748

Browse files
committed
chore: build package on prepublishOnly
1 parent 0477ec8 commit 81e9748

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,14 @@
3636
"!**/__mocks__"
3737
],
3838
"scripts": {
39-
"postinstall": "bun build || exit 0;",
4039
"build": "bun typescript && bob build",
41-
"prepare": "bun run build",
4240
"specs": "bun typescript && bun nitro-codegen --logLevel=\"debug\"",
4341
"typescript": "tsc --noEmit",
4442
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
4543
"lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions",
4644
"test": "jest",
47-
"release": "release-it"
45+
"release": "release-it",
46+
"prepublishOnly": "bun run build"
4847
},
4948
"keywords": [
5049
"react-native",

0 commit comments

Comments
 (0)