mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 21:33:12 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			77 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|   "name": "react-native-update",
 | |
|   "version": "10.35.5",
 | |
|   "description": "react-native hot update",
 | |
|   "main": "src/index",
 | |
|   "scripts": {
 | |
|     "postinstall": "node scripts/check-expo-version.js",
 | |
|     "prepack": "bun submodule && bun lint",
 | |
|     "lint": "eslint \"src/*.@(ts|tsx|js|jsx)\" && tsc --noEmit",
 | |
|     "submodule": "git submodule update --init --recursive",
 | |
|     "test": "echo \"Error: no test specified\" && exit 1",
 | |
|     "build:so": "bun submodule && $ANDROID_HOME/ndk/28.2.13676358/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 && bun && detox build --configuration ios.sim.debug",
 | |
|     "build:ios-release": "cd Example/testHotUpdate && bun && detox build --configuration ios.sim.release",
 | |
|     "test:ios-debug": "cd Example/testHotUpdate && detox test --configuration ios.sim.debug",
 | |
|     "test:ios-release": "cd Example/testHotUpdate && bun detox test --configuration ios.sim.release",
 | |
|     "build:android-debug": "cd Example/testHotUpdate && bun && detox build --configuration android.emu.debug",
 | |
|     "build:android-release": "cd Example/testHotUpdate && bun && detox build --configuration android.emu.release",
 | |
|     "test:android-release": "cd Example/testHotUpdate && bun 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": "bun build:ios-release && bun test:ios-release",
 | |
|     "e2e:android": "bun build:android-release && bun test:android-release",
 | |
|     "tests:emulator:prepare": "cd .github/workflows/scripts/functions && bun && bun build",
 | |
|     "tests:emulator:start-ci": "bun 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 && bun && bun pod-install"
 | |
|   },
 | |
|   "repository": {
 | |
|     "type": "git",
 | |
|     "url": "git+https://github.com/reactnativecn/react-native-update.git"
 | |
|   },
 | |
|   "keywords": [
 | |
|     "react-native",
 | |
|     "ios",
 | |
|     "android",
 | |
|     "update"
 | |
|   ],
 | |
|   "author": "reactnativecn",
 | |
|   "license": "MIT",
 | |
|   "bugs": {
 | |
|     "url": "https://github.com/reactnativecn/react-native-update/issues"
 | |
|   },
 | |
|   "peerDependencies": {
 | |
|     "react": ">=16.8.0",
 | |
|     "react-native": ">=0.59.0"
 | |
|   },
 | |
|   "homepage": "https://github.com/reactnativecn/react-native-update#readme",
 | |
|   "dependencies": {
 | |
|     "nanoid": "^3.3.3",
 | |
|     "react-native-url-polyfill": "^2.0.0"
 | |
|   },
 | |
|   "codegenConfig": {
 | |
|     "name": "RCTPushySpec",
 | |
|     "type": "modules",
 | |
|     "jsSrcsDir": "src"
 | |
|   },
 | |
|   "devDependencies": {
 | |
|     "@babel/core": "^7.25.8",
 | |
|     "@react-native/babel-preset": "^0.73.21",
 | |
|     "@react-native/eslint-config": "0.79.1",
 | |
|     "@react-native/typescript-config": "0.79.1",
 | |
|     "@types/jest": "^29.5.14",
 | |
|     "@types/node": "^22.15.2",
 | |
|     "@types/react": "^18.3.11",
 | |
|     "detox": "^20.37.0",
 | |
|     "eslint": "^8.57.0",
 | |
|     "firebase-tools": "^13.22.1",
 | |
|     "jest": "^29.7.0",
 | |
|     "pod-install": "^0.3.7",
 | |
|     "prettier": "^2",
 | |
|     "react": "18.2.0",
 | |
|     "react-native": "0.73",
 | |
|     "ts-jest": "^29.3.2",
 | |
|     "typescript": "^5.6.3"
 | |
|   }
 | |
| }
 | 
