odds-crawler-frontend/angular.json
2019-04-29 21:43:47 +09:00

209 lines
7.3 KiB
JSON

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"odds-crawler-frontend-common": {
"root": "projects/odds-crawler-frontend-common",
"sourceRoot": "projects/odds-crawler-frontend-common/src",
"projectType": "library",
"prefix": "odds-crawler-common",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "projects/odds-crawler-frontend-common/tsconfig.lib.json",
"project": "projects/odds-crawler-frontend-common/ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/odds-crawler-frontend-common/src/test.ts",
"tsConfig": "projects/odds-crawler-frontend-common/tsconfig.spec.json",
"karmaConfig": "projects/odds-crawler-frontend-common/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/odds-crawler-frontend-common/tsconfig.lib.json",
"projects/odds-crawler-frontend-common/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
}
}
}
},
"odds-crawler-frontend-app": {
"root": "projects/odds-crawler-frontend-app/",
"sourceRoot": "projects/odds-crawler-frontend-app/src",
"projectType": "application",
"prefix": "odds-crawler-app",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/odds-crawler-frontend-app",
"index": "projects/odds-crawler-frontend-app/src/index.html",
"main": "projects/odds-crawler-frontend-app/src/main.ts",
"polyfills": "projects/odds-crawler-frontend-app/src/polyfills.ts",
"tsConfig": "projects/odds-crawler-frontend-app/tsconfig.app.json",
"assets": [
"projects/odds-crawler-frontend-app/src/favicon.ico",
"projects/odds-crawler-frontend-app/src/assets"
],
"styles": ["projects/odds-crawler-frontend-app/src/styles.scss"],
"scripts": [],
"es5BrowserSupport": true
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "projects/odds-crawler-frontend-app/src/environments/environment.ts",
"with": "projects/odds-crawler-frontend-app/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "odds-crawler-frontend-app:build"
},
"configurations": {
"production": {
"browserTarget": "odds-crawler-frontend-app:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "odds-crawler-frontend-app:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/odds-crawler-frontend-app/src/test.ts",
"polyfills": "projects/odds-crawler-frontend-app/src/polyfills.ts",
"tsConfig": "projects/odds-crawler-frontend-app/tsconfig.spec.json",
"karmaConfig": "projects/odds-crawler-frontend-app/karma.conf.js",
"styles": ["projects/odds-crawler-frontend-app/src/styles.scss"],
"scripts": [],
"assets": [
"projects/odds-crawler-frontend-app/src/favicon.ico",
"projects/odds-crawler-frontend-app/src/assets"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/odds-crawler-frontend-app/tsconfig.app.json",
"projects/odds-crawler-frontend-app/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
}
}
}
},
"odds-crawler-frontend-app-e2e": {
"root": "projects/odds-crawler-frontend-app-e2e/",
"projectType": "application",
"prefix": "",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "projects/odds-crawler-frontend-app-e2e/protractor.conf.js",
"devServerTarget": "odds-crawler-frontend-app:serve"
},
"configurations": {
"production": {
"devServerTarget": "odds-crawler-frontend-app:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "projects/odds-crawler-frontend-app-e2e/tsconfig.e2e.json",
"exclude": ["**/node_modules/**"]
}
}
}
},
"odds-crawler-frontend-layout": {
"root": "projects/odds-crawler-frontend-layout",
"sourceRoot": "projects/odds-crawler-frontend-layout/src",
"projectType": "library",
"prefix": "odds-crawler-layout",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "projects/odds-crawler-frontend-layout/tsconfig.lib.json",
"project": "projects/odds-crawler-frontend-layout/ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/odds-crawler-frontend-layout/src/test.ts",
"tsConfig": "projects/odds-crawler-frontend-layout/tsconfig.spec.json",
"karmaConfig": "projects/odds-crawler-frontend-layout/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/odds-crawler-frontend-layout/tsconfig.lib.json",
"projects/odds-crawler-frontend-layout/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
}
}
}
}
},
"defaultProject": "odds-crawler-frontend-app"
}