Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 3.99 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 3.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "@bitrise/code-push-sdk",
"version": "0.0.0",
"description": "React Native plugin for the CodePush service",
"main": "CodePush.js",
"typings": "typings/react-native-code-push.d.ts",
"homepage": "https://github.com/bitrise-io/react-native-code-push",
"keywords": [
"react-native",
"code",
"push",
"expo"
],
"author": "Bitrise",
"license": "MIT",
"devEngines": {
"runtime": {
"name": "node",
"version": ">=24.3.0",
"onFail": "error"
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"typescript"
]
},
"scripts": {
"setup": "npm install --quiet --no-progress && npm run build:ts",
"build:ts": "bob build",
"prepare": "npm run build:ts",
"check:api-compat": "tsc -p api-compat/tsconfig.json",
"typecheck": "tsc -p tsconfig.json",
"typecheck:tests": "tsc -p test/tsconfig.json && tsc -p tsconfig.unit.json",
"test": "npm run lint && npm run typecheck:tests && npm run test:unit:js && npm run test:setup && npm run test:fast",
"test:android": "npm run test:setup:android && npm run test:fast:android",
"test:ios": "npm run test:setup:ios && npm run test:fast:ios",
"test:expo:android": "npm run test:setup:expo:android && npm run test:fast:expo:android",
"test:expo:ios": "npm run test:setup:expo:ios && npm run test:fast:expo:ios",
"test:setup": "mocha --extension mts --recursive test --android --ios --setup",
"test:setup:android": "mocha --extension mts --recursive test --android --setup",
"test:setup:ios": "mocha --extension mts --recursive test --ios --setup",
"test:setup:expo:android": "mocha --extension mts --recursive test --android --setup --expo",
"test:setup:expo:ios": "mocha --extension mts --recursive test --ios --setup --expo",
"test:fast": "mocha --extension mts --recursive --bail test --android --ios",
"test:fast:android": "mocha --extension mts --recursive --bail test --android",
"test:fast:ios": "mocha --extension mts --recursive --bail test --ios",
"test:fast:expo:android": "mocha --extension mts --recursive --bail test --android --expo",
"test:fast:expo:ios": "mocha --extension mts --recursive --bail test --ios --expo",
"test:debugger:android": "mocha --extension mts --recursive --inspect-brk=0.0.0.0 test --android",
"test:debugger:ios": "mocha --extension mts --recursive --inspect-brk=0.0.0.0 test --ios",
"test:unit:js": "mocha --config .mocharc.unit.cjs",
"test:unit:android": "cd android && ./gradlew :app:test",
"test:unit:ios": "npm run test:unit:ios:codepush && npm run test:unit:ios:core",
"test:unit:ios:codepush": "xcodebuild test -project ios/CodePush.xcodeproj -scheme CodePushTests -destination \"platform=iOS Simulator,id=$(xcrun simctl list devices available | grep -m1 iPhone | grep -oE '[0-9A-F-]{36}')\"",
"test:unit:ios:core": "cd ios/CodePushCore && xcodebuild test -scheme CodePushCore -destination \"platform=iOS Simulator,id=$(xcrun simctl list devices available | grep -m1 iPhone | grep -oE '[0-9A-F-]{36}')\"",
"lint": "eslint --max-warnings 0 'src/**/*.ts' 'src/**/*.tsx' 'test/**/*.mts'",
"lint:fix": "npm run lint -- --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/bitrise-io/react-native-code-push"
},
"swiftpmConfig": {
"name": "CodePush"
},
"dependencies": {
"hoist-non-react-statics": "^3.3.2"
},
"peerDependencies": {
"react": ">=18.2.0"
},
"devDependencies": {
"@babel/register": "^7.29.7",
"@bitrise/eslint-plugin": "^4.1.0",
"@react-native/babel-preset": "^0.88.0",
"@types/mocha": "^10.0.10",
"@types/node": "^24.19.0",
"@types/q": "^1.5.4",
"@types/react": "^19.1.1",
"archiver": "latest",
"code-push-plugin-testing-framework": "file:./code-push-plugin-testing-framework",
"eslint": "^9.39.5",
"mocha": "^12.0.2",
"q": "^1.5.1",
"react-native": "0.88.0",
"react-native-builder-bob": "^0.43.1",
"typescript": "^6.0.3"
}
}