72 lines
3.0 KiB
JSON
72 lines
3.0 KiB
JSON
{
|
|
"name": "react-native-update",
|
|
"version": "9.1.6",
|
|
"description": "react-native hot update",
|
|
"main": "lib/index.ts",
|
|
"scripts": {
|
|
"prepublish": "yarn submodule",
|
|
"submodule": "git submodule update --init --recursive",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"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-debug": "cd Example/testHotUpdate && yarn && detox build --configuration ios.sim.debug",
|
|
"build:ios-release": "cd Example/testHotUpdate && yarn && detox build --configuration ios.sim.release",
|
|
"test:ios-debug": "cd Example/testHotUpdate && detox test --configuration ios.sim.debug",
|
|
"test:ios-release": "cd Example/testHotUpdate && yarn detox test --configuration ios.sim.release",
|
|
"build:android-debug": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.debug",
|
|
"build:android-release": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.release",
|
|
"test:android-release": "cd Example/testHotUpdate && yarn detox test --configuration android.emu.release --headless --record-logs all",
|
|
"test:android-debug": "cd Example/testHotUpdate && detox test --configuration android.emu.debug --headless --record-logs all",
|
|
"e2e:ios": "npm run build:ios-release && npm run test:ios-release",
|
|
"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": "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 && yarn && yarn pod-install"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/reactnativecn/react-native-pushy.git"
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"ios",
|
|
"android",
|
|
"update"
|
|
],
|
|
"author": "reactnativecn",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/reactnativecn/react-native-pushy/issues"
|
|
},
|
|
"peerDependencies": {
|
|
"react-native": ">=0.57.0"
|
|
},
|
|
"homepage": "https://github.com/reactnativecn/react-native-pushy#readme",
|
|
"dependencies": {
|
|
"nanoid": "^3.3.3"
|
|
},
|
|
"codegenConfig": {
|
|
"libraries": [
|
|
{
|
|
"name": "RCTPushySpec",
|
|
"type": "modules",
|
|
"jsSrcsDir": "lib"
|
|
}
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/jest": "^29.2.1",
|
|
"@types/node": "^20.8.9",
|
|
"@types/react": "^18.2.33",
|
|
"detox": "^20.5.0",
|
|
"firebase-tools": "^11.24.1",
|
|
"fs-extra": "^9.1.0",
|
|
"jest": "^29.2.1",
|
|
"pod-install": "^0.1.37",
|
|
"react-native": "^0.72.6",
|
|
"ts-jest": "^29.0.3",
|
|
"typescript": "^5.2.2"
|
|
}
|
|
}
|