This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
FoodLoop-Web/angular.json

181 lines
5.1 KiB
JSON
Raw Normal View History

2018-06-04 14:23:16 +00:00
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
2018-06-05 13:08:27 +00:00
"localloop-web": {
2018-06-04 14:23:16 +00:00
"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",
"polyfills": "src/polyfills.ts",
"assets": [
"src/assets"
],
"styles": [
"src/scss/style.scss"
],
"scripts": [
"node_modules/moment/min/moment.min.js"
]
},
"configurations": {
"dev": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.dev.ts"
}
]
},
"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"
}
]
},
"local": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.local.ts"
}
]
},
"ci": {
"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.ci.ts"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
2018-06-05 13:08:27 +00:00
"browserTarget": "localloop-web:build"
2018-06-04 14:23:16 +00:00
},
"configurations": {
"dev": {
2018-06-05 13:08:27 +00:00
"browserTarget": "localloop-web:build:dev"
2018-06-04 14:23:16 +00:00
},
"production": {
2018-06-05 13:08:27 +00:00
"browserTarget": "localloop-web:build:production"
2018-06-04 14:23:16 +00:00
},
"local": {
2018-06-05 13:08:27 +00:00
"browserTarget": "localloop-web:build:local"
2018-06-04 14:23:16 +00:00
},
"ci": {
2018-06-05 13:08:27 +00:00
"browserTarget": "localloop-web:build:ci"
2018-06-04 14:23:16 +00:00
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
2018-06-05 13:08:27 +00:00
"browserTarget": "localloop-web:build"
2018-06-04 14:23:16 +00:00
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"karmaConfig": "./karma.conf.js",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"scripts": [
"node_modules/moment/min/moment.min.js"
],
"styles": [
"src/scss/style.scss"
],
"assets": [
"src/assets"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": []
}
}
}
},
2018-06-05 13:08:27 +00:00
"localloop-web-e2e": {
2018-06-04 14:23:16 +00:00
"root": "",
"sourceRoot": "",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "./protractor.conf.js",
2018-06-05 13:08:27 +00:00
"devServerTarget": "localloop-web:serve"
},
"configurations": {
"local": {
2018-06-05 13:08:27 +00:00
"devServerTarget": "localloop-web:serve:local"
},
"ci": {
2018-06-05 13:08:27 +00:00
"devServerTarget": "localloop-web:serve:ci"
}
2018-06-04 14:23:16 +00:00
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"e2e/tsconfig.e2e.json"
],
"exclude": []
}
}
}
}
},
2018-06-05 13:08:27 +00:00
"defaultProject": "localloop-web",
2018-06-04 14:23:16 +00:00
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
"styleext": "scss"
},
"@schematics/angular:directive": {
"prefix": "app"
}
}
}