Files
angular-challenges/libs/decoupling/core/project.json
2023-10-24 10:27:18 +02:00

52 lines
1.4 KiB
JSON

{
"name": "decoupling-core",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/decoupling/core/src",
"prefix": "lib",
"tags": ["type:core"],
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/angular:ng-packagr-lite",
"outputs": ["{workspaceRoot}/dist/{projectRoot}"],
"options": {
"project": "libs/decoupling/core/ng-package.json",
"updateBuildableProjectDepsInPackageJson": true
},
"configurations": {
"production": {
"tsConfig": "libs/decoupling/core/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "libs/decoupling/core/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/decoupling/core/jest.config.ts",
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"libs/decoupling/core/**/*.ts",
"libs/decoupling/core/**/*.html"
]
}
}
}
}