-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.24 KB
/
package.json
File metadata and controls
40 lines (40 loc) · 1.24 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
{
"name": "@react-native-node-api/node-addon-examples",
"version": "0.1.1",
"type": "commonjs",
"main": "dist/index.js",
"files": [
"dist",
"examples/**/package.json",
"examples/**/*.js",
"tests/**/package.json",
"tests/**/*.js",
"**/*.apple.node/**",
"**/*.android.node/**"
],
"private": true,
"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/node-addon-examples"
},
"scripts": {
"copy-examples": "tsx scripts/copy-examples.mts",
"gyp-to-cmake": "gyp-to-cmake --weak-node-api .",
"build": "tsx scripts/build-examples.mts",
"copy-and-build": "node --run copy-examples && node --run gyp-to-cmake && node --run build",
"verify": "tsx scripts/verify-prebuilds.mts",
"test": "node --run copy-and-build && node --run verify",
"bootstrap": "node --run copy-and-build"
},
"devDependencies": {
"cmake-rn": "*",
"node-addon-examples": "github:nodejs/node-addon-examples#4b7dd86a85644610e6de80154df9acac9329b509",
"gyp-to-cmake": "*",
"read-pkg": "^9.0.1"
},
"dependencies": {
"assert": "^2.1.0"
}
}