-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.36 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 2.36 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
{
"name": "react-native-nitro-http-server",
"version": "1.9.2",
"description": "React Native HTTP Server with Nitro Modules",
"repository": {
"type": "git",
"url": "git+https://github.com/iwater/react-native-nitro-http-server.git"
},
"homepage": "https://github.com/iwater/react-native-nitro-http-server",
"authors": {
"name": "iwater",
"email": "iwater@gmail.com"
},
"main": "./lib/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"react-native": "src/index.ts",
"scripts": {
"one": "yarn copy-clib && yarn build && yarn pack",
"build": "npx nitrogen@0.35.0 && tsc",
"prepare": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1",
"copy-clib": "npm run copy-clib-android && npm run copy-clib-ios && npm run copy-clib-mac",
"copy-clib-android": "mkdir -p android/libs/arm64-v8a android/libs/armeabi-v7a android/libs/x86 android/libs/x86_64 && cp ../rust_c_lib/target/universal/android/arm64-v8a/librn_http_server.so android/libs/arm64-v8a/ && cp ../rust_c_lib/target/universal/android/armeabi-v7a/librn_http_server.so android/libs/armeabi-v7a/ && cp ../rust_c_lib/target/universal/android/x86/librn_http_server.so android/libs/x86/ && cp ../rust_c_lib/target/universal/android/x86_64/librn_http_server.so android/libs/x86_64/ && cp ../rust_c_lib/include/rn_http_server.h cpp/",
"copy-clib-ios": "rm -rf ios/Frameworks/RNHttpServer.xcframework && cp -R ../rust_c_lib/target/xcframework/RNHttpServer.xcframework ios/Frameworks/",
"copy-clib-mac": "mkdir -p mac && cp ../rust_c_lib/target/release/librn_http_server.a mac/ && cp ../rust_c_lib/include/rn_http_server.h cpp/",
"postinstall": "node scripts/fix-symlinks.js"
},
"keywords": [
"react-native",
"http-server",
"nitro-modules",
"http",
"server"
],
"author": "",
"license": "ISC",
"peerDependencies": {
"react-native": "*",
"react-native-nitro-modules": "^0.35.0"
},
"dependencies": {
"eventemitter3": "^5.0.1",
"react-native-nitro-buffer": ">=0.0.14"
},
"devDependencies": {
"@types/events": "^3",
"@types/node": "^24.10.1",
"react-native-nitro-modules": "^0.35.0",
"typescript": "^5.9.3"
},
"packageManager": "yarn@4.12.0",
"files": [
"lib/",
"src/",
"cpp/",
"ios/",
"android/",
"nitrogen/",
"polyfills/",
"scripts/",
"*.podspec"
]
}