-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.19 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.19 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
{
"name": "weak-node-api",
"version": "0.1.0",
"description": "A linkable and runtime-injectable Node-API",
"homepage": "https://github.com/callstackincubator/react-native-node-api",
"repository": {
"type": "git",
"url": "git+https://github.com/callstackincubator/react-native-node-api.git",
"directory": "packages/weak-node-api"
},
"type": "module",
"exports": {
".": "./dist/index.js"
},
"files": [
"dist",
"!dist/**/*.test.d.ts",
"!dist/**/*.test.d.ts.map",
"include",
"generated",
"build/Debug",
"build/Release",
"*.podspec",
"*.cmake"
],
"scripts": {
"build": "tsc --build",
"copy-node-api-headers": "tsx scripts/copy-node-api-headers.ts",
"generate": "tsx scripts/generate.ts",
"prebuild:prepare": "node --run copy-node-api-headers && node --run generate",
"prebuild:build": "cmake-rn --no-auto-link --no-weak-node-api-linkage --xcframework-extension",
"prebuild:build:android": "node --run prebuild:build -- --android",
"prebuild:build:apple": "node --run prebuild:build -- --apple",
"prebuild:build:all": "node --run prebuild:build -- --android --apple",
"test": "tsx --test --test-reporter=@reporters/github --test-reporter-destination=stdout --test-reporter=spec --test-reporter-destination=stdout src/node/**/*.test.ts src/node/*.test.ts",
"test:configure": "cmake -S . -B build-tests -DBUILD_TESTS=ON",
"test:build": "cmake --build build-tests",
"test:run": "ctest --test-dir build-tests --output-on-failure",
"bootstrap": "node --run prebuild:prepare && node --run prebuild:build",
"prerelease": "node --run prebuild:prepare && node --run prebuild:build:all"
},
"keywords": [
"react-native",
"napi",
"node-api",
"node-addon-api",
"native",
"addon",
"module",
"c",
"c++",
"bindings",
"buildtools",
"cmake"
],
"author": {
"name": "Callstack",
"url": "https://github.com/callstackincubator"
},
"contributors": [
{
"name": "Kræn Hansen",
"url": "https://github.com/kraenhansen"
}
],
"license": "MIT",
"dependencies": {
"node-api-headers": "^1.5.0"
},
"devDependencies": {
"zod": "^4.1.11"
}
}