mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
* Fixed configuration issue preventing unit tests for rules getting executed * Added unit tests for SnackbarEffects to improve coverage * Added unit tests for RouterEffects to improve coverage * Excluding store actions, models, selectors and states from getting included in code coverage * Added type to store
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"name": "aca-shared",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "projects/aca-shared",
|
|
"projectType": "library",
|
|
"prefix": "lib",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@angular-devkit/build-angular:ng-packagr",
|
|
"options": {
|
|
"tsConfig": "projects/aca-shared/tsconfig.lib.json",
|
|
"project": "projects/aca-shared/ng-package.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"tsConfig": "projects/aca-shared/tsconfig.lib.prod.json"
|
|
}
|
|
},
|
|
"defaultConfiguration": "production",
|
|
"outputs": ["{workspaceRoot}/dist/@alfresco/aca-shared"]
|
|
},
|
|
"test": {
|
|
"executor": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"codeCoverage": true,
|
|
"main": "projects/aca-shared/test.ts",
|
|
"tsConfig": "projects/aca-shared/tsconfig.spec.json",
|
|
"karmaConfig": "projects/aca-shared/karma.conf.js",
|
|
"codeCoverageExclude": [
|
|
"projects/aca-shared/store/src/actions/**",
|
|
"projects/aca-shared/store/src/models/**",
|
|
"projects/aca-shared/store/src/selectors/**",
|
|
"projects/aca-shared/store/src/states/**"
|
|
],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["node_modules"]
|
|
}
|
|
},
|
|
"configurations": {
|
|
"adfprod": {
|
|
"tsConfig": "projects/aca-shared/tsconfig.spec.adf.json"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@angular-eslint/builder:lint"
|
|
}
|
|
}
|
|
}
|