From 5f28b75abdb3f31cac2160cf56551dc341987c8f Mon Sep 17 00:00:00 2001 From: steven Date: Thu, 16 Mar 2023 10:03:31 +0800 Subject: [PATCH] feat: project init --- Example/testHotUpdate/package.json | 3 ++- package.json | 9 ++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Example/testHotUpdate/package.json b/Example/testHotUpdate/package.json index b085b40..7f36ee8 100644 --- a/Example/testHotUpdate/package.json +++ b/Example/testHotUpdate/package.json @@ -34,7 +34,8 @@ "react-test-renderer": "18.2.0", "ts-jest": "^29.0.5", "typescript": "^4.9.5", - "nyc": "^15.0.1" + "nyc": "^15.0.1", + "pod-install": "^0.1.37" }, "jest": { "preset": "react-native" diff --git a/package.json b/package.json index 47db6c2..f457757 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "build-lib": "yarn submodule && $ANDROID_HOME/ndk/20.1.5948944/ndk-build NDK_PROJECT_PATH=android APP_BUILD_SCRIPT=android/jni/Android.mk NDK_APPLICATION_MK=android/jni/Application.mk NDK_LIBS_OUT=android/lib", "build:ios": "cd Example/testHotUpdate && detox build --configuration ios.sim.debug", "build:ios-debug": "cd Example/testHotUpdate && detox build --configuration ios.sim.debug", - "build:ios-release": "cd Example/testHotUpdate && detox build --configuration ios.sim.release", + "build:ios-release": "cd Example/testHotUpdate && yarn && detox build --configuration ios.sim.release", "build:android-debug": "cd Example/testHotUpdate && detox build --configuration android.emu.debug", "build:android-release": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.release", "test:ios": "cd Example/testHotUpdate && detox test --configuration ios.sim.debug", @@ -22,8 +22,8 @@ "e2e:android": "npm run build:android-release && npm run test:android-release", "tests:emulator:prepare": "cd .github/workflows/scripts/functions && yarn && yarn build", "tests:emulator:start-ci": "yarn tests:emulator:prepare && cd ./.github/workflows/scripts && ./start-firebase-emulator.sh", - "tests:packager:jet-ci": "sudo cd Example/testHotUpdate && cross-env TMPDIR=$HOME/.metro REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start --no-interactive", - "tests:ios:pod:install": "rm -rf Example/testHotUpdate/ios/RCTPushy.xcworkspace && yarn pod-install" + "tests:packager:jet-ci": "cd Example/testHotUpdate && cross-env TMPDIR=$HOME/.metro REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start --no-interactive", + "tests:ios:pod:install": "cd Example/testHotUpdate/ios && rm -rf RCTPushy.xcworkspace && yarn pod-install" }, "repository": { "type": "git", @@ -64,7 +64,6 @@ "fs-extra": "^9.1.0", "jest": "^29.2.1", "ts-jest": "^29.0.3", - "typescript": "^4.1.3", - "pod-install": "^0.1.37" + "typescript": "^4.1.3" } }