-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.json
53 lines (53 loc) · 1.29 KB
/
project.json
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
{
"name": "ag-shared",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "{projectRoot}/src",
"targets": {
"build": {
"executor": "nx:noop",
"dependsOn": ["build:types"],
"inputs": [],
"outputs": [],
"configurations": {
"watch": {},
"production": {}
}
},
"build:types": {
"executor": "@nx/js:tsc",
"dependsOn": ["^build:types"],
"inputs": [
"{projectRoot}/package.json",
"{projectRoot}/src/**/*",
"{projectRoot}/tsconfig.*.json",
"tsDeclarations",
"sharedGlobals",
"defaultExcludes",
{
"externalDependencies": ["npm:typescript"]
}
],
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "external/ag-shared/dist/types",
"main": "external/ag-shared/src/main.ts",
"tsConfig": "external/ag-shared//tsconfig.types.json",
"compiler": "tsc"
},
"configurations": {
"watch": {
"tsConfig": "external/ag-shared/tsconfig.types.watch.json"
},
"production": {}
}
},
"lint": {
"command": "eslint",
"options": {
"cwd": "{projectRoot}"
}
}
},
"tags": ["shared"]
}