1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-pushy/package.json
2023-03-16 10:15:32 +08:00

69 lines
2.9 KiB
JSON

{
"name": "react-native-update",
"version": "9.0.0",
"description": "react-native hot update",
"main": "lib/index.js",
"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": "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 && 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",
"test:ios-debug": "cd Example/testHotUpdate && detox test --configuration ios.sim.debug",
"test:ios-release": "cd Example/testHotUpdate && detox test --configuration ios.sim.release",
"test:android-debug": "cd Example/testHotUpdate && detox test --configuration android.emu.debug",
"test:android-release": "cd Example/testHotUpdate && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.debug",
"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"
},
"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.27.0"
},
"homepage": "https://github.com/reactnativecn/react-native-pushy#readme",
"dependencies": {
"nanoid": "^3.3.3"
},
"codegenConfig": {
"libraries": [
{
"name": "RCTPushySpec",
"type": "modules",
"jsSrcsDir": "lib"
}
]
},
"devDependencies": {
"firebase-tools": "^11.24.1",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^29.2.1",
"detox": "^20.5.0",
"fs-extra": "^9.1.0",
"jest": "^29.2.1",
"ts-jest": "^29.0.3",
"typescript": "^4.1.3"
}
}