Skip to content

Commit 9b80d42

Browse files
committed
fix: add prepare script
1 parent 6ac1f1f commit 9b80d42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@
3636
"!**/__mocks__"
3737
],
3838
"scripts": {
39-
"postinstall": "bun build || exit 0;",
39+
"postinstall": "bun run build || exit 0;",
4040
"build": "bun typescript && bob build",
4141
"specs": "bun typescript && bun nitro-codegen --logLevel=\"debug\"",
4242
"typescript": "tsc --noEmit",
4343
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
4444
"lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions",
4545
"test": "jest",
46-
"release": "release-it"
46+
"release": "release-it",
47+
"prepare": "bun run build"
4748
},
4849
"keywords": [
4950
"react-native",
@@ -100,8 +101,7 @@
100101
"release": false
101102
},
102103
"hooks": {
103-
"before:init": "bun typescript && bun lint",
104-
"after:bump": "bun run build"
104+
"before:init": "bun typescript && bun lint"
105105
}
106106
},
107107
"react-native-builder-bob": {

0 commit comments

Comments
 (0)