-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathproject.json
More file actions
36 lines (36 loc) · 943 Bytes
/
project.json
File metadata and controls
36 lines (36 loc) · 943 Bytes
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
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"targets": {
"copy-examples": {
"outputs": [
"{projectRoot}/examples/**",
"!{projectRoot}/examples/**/CMakeLists.txt",
"!{projectRoot}/examples/**/*.node"
],
"cache": true
},
"gyp-to-cmake": {
"dependsOn": ["gyp-to-cmake:build", "copy-examples"],
"inputs": ["{projectRoot}/examples/**/binding.gyp"],
"outputs": ["{projectRoot}/examples/**/CMakeLists.txt"],
"cache": true
},
"build": {
"dependsOn": [
"react-native-node-api:build-weak-node-api",
"cmake-rn:build",
"copy-examples",
"gyp-to-cmake"
],
"inputs": [
"{projectRoot}/examples/**",
"!{projectRoot}/examples/**/*.node"
],
"outputs": ["{projectRoot}/examples/**/*.node"],
"cache": true
},
"test": {
"dependsOn": ["build"]
}
}
}