mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
* optimise lint targets * fix eslint config files * fix app coverage settings * tune eslint to warn about optional chains
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"name": "aca-content",
|
|
"projectType": "library",
|
|
"sourceRoot": "projects/aca-content",
|
|
"prefix": "lib",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@angular-devkit/build-angular:ng-packagr",
|
|
"options": {
|
|
"project": "projects/aca-content/ng-package.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"tsConfig": "projects/aca-content/tsconfig.lib.prod.json"
|
|
},
|
|
"development": {
|
|
"tsConfig": "projects/aca-content/tsconfig.lib.json"
|
|
}
|
|
},
|
|
"defaultConfiguration": "production",
|
|
"outputs": [
|
|
"{workspaceRoot}/dist/@alfresco/aca-content"
|
|
]
|
|
},
|
|
"test": {
|
|
"executor": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"codeCoverage": true,
|
|
"main": "projects/aca-content/test.ts",
|
|
"tsConfig": "projects/aca-content/tsconfig.spec.json",
|
|
"karmaConfig": "projects/aca-content/karma.conf.js",
|
|
"styles": [
|
|
"projects/aca-content/src/lib/ui/application.scss"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"adfprod": {
|
|
"tsConfig": "projects/aca-content/tsconfig.spec.adf.json"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@angular-eslint/builder:lint"
|
|
}
|
|
}
|
|
}
|