ng/angular.json
crusader 769594fb9f ing
2018-05-25 20:22:05 +09:00

281 lines
8.5 KiB
JSON

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