-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.json
40 lines (40 loc) · 1.16 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
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/protocol-client/src",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/protocol-client",
"main": "libs/protocol-client/src/index.ts",
"tsConfig": "libs/protocol-client/tsconfig.lib.json",
"assets": ["libs/protocol-client/*.md"]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/protocol-client/**/*.ts"],
"maxWarnings": 0
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/protocol-client"],
"options": {
"jestConfig": "libs/protocol-client/jest.config.ts",
"passWithNoTests": true
}
},
"generate-gql": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"command": "yarn graphql-codegen --config libs/protocol-client/codegen.yaml",
"outputPath": "libs/protocol-client/src/lib/client"
}
}
},
"tags": []
}