-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.02 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 2.02 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
{
"name": "react-native-rs",
"version": "0.1.0",
"description": "A React Native TurboModule bridge for integrating Rust code with heavy computation logic",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc",
"clean": "rimraf lib android/build ios/build cpp/target",
"setup-rust": "cd rust && bash install-prerequisites.sh",
"build-rust": "cd rust && bash build.sh",
"build-all": "yarn build-rust && yarn build",
"lint": "eslint 'src/**/*.{ts,tsx}' 'example/**/*.{ts,tsx}'",
"test": "jest",
"example": "cd example && yarn start",
"example:ios": "cd example && yarn ios",
"example:android": "cd example && yarn android",
"generate-types": "cd rust && cargo test --features ts-rs",
"check-types": "cd rust && cargo test --features ts-rs -- --nocapture | grep 'TypeScript types are up to date' || (echo 'TypeScript types are out of sync. Run yarn generate-types and commit the changes.' && exit 1)"
},
"keywords": [
"react-native",
"rust",
"turbo-module",
"performance",
"native",
"bridge",
"cross-platform"
],
"author": "Axnjr",
"license": "MIT",
"homepage": "https://github.com/Axnjr/react-native-rs",
"repository": {
"type": "git",
"url": "https://github.com/Axnjr/react-native-rs.git"
},
"bugs": {
"url": "https://github.com/Axnjr/react-native-rs/issues"
},
"files": [
"lib",
"android",
"ios",
"cpp",
"rust",
"react-native-rs.podspec",
"README.md"
],
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"devDependencies": {
"@react-native/eslint-config": "^0.73.0",
"@types/jest": "^29.5.0",
"@types/react": "^18.2.0",
"@types/react-native": "^0.72.0",
"eslint": "^8.57.0",
"jest": "^29.5.0",
"rimraf": "^5.0.5",
"typescript": "^5.0.0"
},
"dependencies": {
"react-native": "*"
},
"codegenConfig": {
"name": "ReactNativeRsSpec",
"type": "modules",
"jsSrcsDir": "src"
},
"engines": {
"node": ">=16.0.0"
}
}