-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathproject.json
More file actions
29 lines (29 loc) · 806 Bytes
/
Copy pathproject.json
File metadata and controls
29 lines (29 loc) · 806 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
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "{projectRoot}/bin",
"main": "{projectRoot}/src/index.ts",
"tsConfig": "{projectRoot}/tsconfig.lib.json"
}
},
"install-local": {
"executor": "nx:run-commands",
"options": {
"commands": ["nx run json-difference-cli:build", "npm install -g {projectRoot}/"],
"parallel": false
}
},
"type-check": {
"executor": "nx:run-commands",
"options": {
"command": "yarn tsc --noEmit --project {projectRoot}/tsconfig.lib.json"
}
}
},
"tags": ["scope:shared", "type:lib"]
}