2018-09-04 09:01:50 +02:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"clarity-seed": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist",
|
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
|
|
"assets": [
|
|
|
|
"src/images",
|
|
|
|
"src/favicon.ico",
|
|
|
|
"src/setting.json"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"node_modules/@clr/icons/clr-icons.min.css",
|
|
|
|
"node_modules/@clr/ui/clr-ui.min.css",
|
|
|
|
"node_modules/prismjs/themes/prism-solarizedlight.css",
|
|
|
|
"src/styles.css"
|
|
|
|
],
|
|
|
|
"scripts": [
|
|
|
|
"node_modules/core-js/client/shim.min.js",
|
|
|
|
"node_modules/mutationobserver-shim/dist/mutationobserver.min.js",
|
|
|
|
"node_modules/@webcomponents/custom-elements/custom-elements.min.js",
|
|
|
|
"node_modules/@clr/icons/clr-icons.min.js",
|
|
|
|
"node_modules/web-animations-js/web-animations.min.js",
|
|
|
|
"node_modules/marked/lib/marked.js",
|
|
|
|
"node_modules/prismjs/prism.js",
|
|
|
|
"node_modules/prismjs/components/prism-yaml.min.js"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "clarity-seed:build"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "clarity-seed:build:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "clarity-seed:build"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
|
|
"main": "src/test.ts",
|
|
|
|
"karmaConfig": "./karma.conf.js",
|
|
|
|
"scripts": [
|
|
|
|
"node_modules/core-js/client/shim.min.js",
|
|
|
|
"node_modules/mutationobserver-shim/dist/mutationobserver.min.js",
|
|
|
|
"node_modules/@webcomponents/custom-elements/custom-elements.min.js",
|
|
|
|
"node_modules/@clr/icons/clr-icons.min.js",
|
|
|
|
"node_modules/web-animations-js/web-animations.min.js",
|
|
|
|
"node_modules/marked/lib/marked.js",
|
|
|
|
"node_modules/prismjs/prism.js",
|
|
|
|
"node_modules/prismjs/components/prism-yaml.min.js"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"node_modules/@clr/icons/clr-icons.min.css",
|
|
|
|
"node_modules/@clr/ui/clr-ui.min.css",
|
|
|
|
"node_modules/prismjs/themes/prism-solarizedlight.css",
|
|
|
|
"src/styles.css"
|
|
|
|
],
|
|
|
|
"assets": [
|
|
|
|
"src/images",
|
|
|
|
"src/favicon.ico",
|
|
|
|
"src/setting.json"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"src/tsconfig.app.json",
|
|
|
|
"src/tsconfig.spec.json",
|
|
|
|
"lib/src/tsconfig.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
],
|
2018-09-06 08:41:50 +02:00
|
|
|
"fix": true
|
2018-09-04 09:01:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"clarity-seed-e2e": {
|
|
|
|
"root": "e2e",
|
|
|
|
"sourceRoot": "e2e",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "./protractor.config.js",
|
|
|
|
"devServerTarget": "clarity-seed:serve"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [],
|
|
|
|
"exclude": []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-09-06 08:41:50 +02:00
|
|
|
},
|
|
|
|
"lib": {
|
|
|
|
"root": "lib",
|
|
|
|
"sourceRoot": "lib/src",
|
|
|
|
"projectType": "library",
|
|
|
|
"prefix": "enl",
|
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": "lib/tsconfig.lib.json",
|
|
|
|
"project": "lib/ng-package.json"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"project": "lib/ng-package.prod.json"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
|
|
|
"main": "lib/src/test.ts",
|
|
|
|
"tsConfig": "lib/tsconfig.spec.json",
|
|
|
|
"karmaConfig": "lib/karma.conf.js"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"lib/tsconfig.lib.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-09-04 09:01:50 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"defaultProject": "clarity-seed",
|
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"prefix": "app",
|
|
|
|
"styleext": "scss"
|
|
|
|
},
|
|
|
|
"@schematics/angular:directive": {
|
|
|
|
"prefix": "app"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|