1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

feat: project init

This commit is contained in:
steven 2023-03-16 10:03:31 +08:00
parent 4bf921c82c
commit 5f28b75abd
2 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -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"
}
}