48 lines
1.7 KiB
JSON
48 lines
1.7 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"locate": {
|
|
"projectType": "library",
|
|
"root": "projects/locate",
|
|
"sourceRoot": "projects/locate/src",
|
|
"prefix": "lib",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
"options": {
|
|
"tsConfig": "projects/locate/tsconfig.lib.json",
|
|
"project": "projects/locate/ng-package.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"tsConfig": "projects/locate/tsconfig.lib.prod.json"
|
|
}
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/locate/src/test.ts",
|
|
"tsConfig": "projects/locate/tsconfig.spec.json",
|
|
"karmaConfig": "projects/locate/karma.conf.js"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/locate/tsconfig.lib.json",
|
|
"projects/locate/tsconfig.spec.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}},
|
|
"defaultProject": "locate"
|
|
}
|