1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-pushy/package.json

71 lines
3.1 KiB
JSON
Raw Normal View History

2016-02-23 19:55:02 +08:00
{
2016-02-23 19:03:37 +08:00
"name": "react-native-update",
2023-02-19 21:14:03 +08:00
"version": "9.0.0",
2016-02-23 19:03:37 +08:00
"description": "react-native hot update",
2016-04-05 15:36:05 +08:00
"main": "lib/index.js",
2016-02-23 19:55:02 +08:00
"scripts": {
2022-06-01 19:00:31 +08:00
"prepublish": "yarn submodule",
2021-04-09 19:37:56 +08:00
"submodule": "git submodule update --init --recursive",
2016-02-24 01:10:49 +08:00
"test": "echo \"Error: no test specified\" && exit 1",
2023-03-15 23:27:25 +08:00
"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",
2023-03-16 10:03:31 +08:00
"build:ios-release": "cd Example/testHotUpdate && yarn && detox build --configuration ios.sim.release",
2023-03-15 23:27:25 +08:00
"build:android-debug": "cd Example/testHotUpdate && detox build --configuration android.emu.debug",
2023-03-16 09:43:26 +08:00
"build:android-release": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.release",
2023-03-15 23:27:25 +08:00
"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",
2023-03-16 10:29:08 +08:00
"tests:packager:jet-ci": "cd Example/testHotUpdate && cross-env TMPDIR=$HOME/.metro REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start --no-interactive",
2023-03-16 10:45:19 +08:00
"tests:ios:pod:install": "cd Example/testHotUpdate && yarn && yarn pod-install"
2016-02-23 19:55:02 +08:00
},
"repository": {
"type": "git",
"url": "git+https://github.com/reactnativecn/react-native-pushy.git"
},
2018-07-20 17:01:12 +08:00
"keywords": [
"react-native",
"ios",
"android",
"update"
],
2016-02-23 19:55:02 +08:00
"author": "reactnativecn",
2021-10-04 00:41:04 +08:00
"license": "MIT",
2016-02-23 19:55:02 +08:00
"bugs": {
"url": "https://github.com/reactnativecn/react-native-pushy/issues"
},
"peerDependencies": {
"react-native": ">=0.27.0"
2016-02-23 19:55:02 +08:00
},
"homepage": "https://github.com/reactnativecn/react-native-pushy#readme",
2020-08-31 11:47:08 +08:00
"dependencies": {
2022-04-27 21:52:38 +08:00
"nanoid": "^3.3.3"
2023-02-19 18:20:21 +08:00
},
"codegenConfig": {
"libraries": [
2023-03-15 23:27:25 +08:00
{
2023-02-20 13:03:12 +08:00
"name": "RCTPushySpec",
2023-02-19 18:20:21 +08:00
"type": "modules",
"jsSrcsDir": "lib"
2023-03-15 23:27:25 +08:00
}
2023-02-19 18:20:21 +08:00
]
2023-03-15 23:27:25 +08:00
},
"devDependencies": {
2023-03-16 07:49:44 +08:00
"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",
2023-03-16 10:29:08 +08:00
"typescript": "^4.1.3",
"pod-install": "^0.1.37"
2023-03-15 23:27:25 +08:00
}
2016-02-23 19:55:02 +08:00
}