Skip to content

Commit abd6450

Browse files
authored
Fix installing script for expo plugin (#79)
1 parent 53b8b6f commit abd6450

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@
3939
"lint": "eslint . --ext .js,.ts,.tsx",
4040
"lint:root": "eslint . --ext .js,.ts,.tsx --ignore-pattern '/plugins/**/*' --ignore-pattern '/apps/**/*'",
4141
"clean": "del-cli android/build apps/basic-example/android/build apps/basic-example/android/app/build apps/basic-example/ios/build apps/expo-example/android/build apps/expo-example/ios/build lib plugins/build",
42-
"prepare": "bob build",
42+
"prepare": "bob build && npm run build:plugins",
4343
"build:watch": "nodemon --watch src --ext .ts,.tsx,.css --exec \"rm -f .build_complete && npm run prepare && npm pack && touch .build_complete\"",
4444
"release": "release-it",
45-
"build:plugins": "cd plugins && npx tsc",
46-
"postinstall": "npm run build:plugins"
45+
"build:plugins": "cd plugins && npx tsc"
4746
},
4847
"keywords": [
4948
"react-native",

0 commit comments

Comments
 (0)