This repository has been archived by the owner on Feb 19, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.json
55 lines (55 loc) · 1.54 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
54
55
{
"name": "boilerplate",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/boilerplate/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"buildableProjectDepsInPackageJsonType": "peerDependencies",
"main": "libs/boilerplate/src/index.ts",
"outputPath": "dist/libs/boilerplate",
"packageJson": "libs/boilerplate/package.json",
"tsConfig": "libs/boilerplate/tsconfig.lib.json",
"updateBuildableProjectDepsInPackageJson": true
},
"configurations": {
"production": {
"optimization": true,
"assets": ["libs/boilerplate/*.md", "libs/boilerplate/package.json"]
}
}
},
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"lintFilePatterns": ["libs/boilerplate/**/*.ts"]
},
"outputs": ["{options.outputFile}"]
},
"publish": {
"executor": "nx:run-commands",
"options": {
"parallel": false,
"commands": [
{
"command": "scripts/publish-lib.sh boilerplate",
"description": "Canned script"
}
]
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/boilerplate"],
"options": {
"jestConfig": "libs/boilerplate/jest.config.ts",
"passWithNoTests": true
}
}
},
"implicitDependencies": ["!testing"],
"tags": ["nestjs"]
}