246 lines
8.0 KiB
JSON
246 lines
8.0 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"agmission-client": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"projectType": "application",
|
|
"prefix": "agm",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "css"
|
|
}
|
|
},
|
|
"i18n": {
|
|
"sourceLocale": {
|
|
"code": "en",
|
|
"baseHref": "/"
|
|
},
|
|
"locales": {
|
|
"es": {
|
|
"translation": "src/locale/messages.es.xlf"
|
|
},
|
|
"pt": {
|
|
"translation": "src/locale/messages.pt.xlf"
|
|
}
|
|
}
|
|
},
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"aot": true,
|
|
"outputPath": "dist",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
"assets": [
|
|
"src/assets/js/L.Control.MapCenterCoord.css",
|
|
"src/assets/js/L.Control.MapCenterCoord.js",
|
|
"src/assets/js/utm.js",
|
|
"src/assets/js/Leaflet.GoogleMutant.js",
|
|
"src/assets/js/leaflet-corridor.js",
|
|
"src/assets/js/sti-rpt/",
|
|
"src/assets/theme/theme-green.min.css",
|
|
"src/assets/layout/css/layout-green.min.css",
|
|
"src/assets/layout/fonts/",
|
|
"src/assets/images/",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/leaflet/dist/images",
|
|
"output": "/assets/images"
|
|
}
|
|
],
|
|
"styles": [
|
|
"node_modules/leaflet/dist/leaflet.css",
|
|
"src/assets/js/leaflet-draw/leaflet.draw.css",
|
|
"src/assets/js/leaflet-measure/leaflet-measure-path.css",
|
|
"src/assets/js/L.Control.MapCenterCoord.css",
|
|
"src/assets/js/Leaflet.AgmIcon.css",
|
|
"src/assets/js/Leaflet.AgmACIcon.css",
|
|
"node_modules/primeng-lts/resources/primeng.min.css",
|
|
"node_modules/@fullcalendar/core/main.min.css",
|
|
"node_modules/@fullcalendar/daygrid/main.min.css",
|
|
"node_modules/@fullcalendar/timegrid/main.min.css",
|
|
"node_modules/quill/dist/quill.snow.css",
|
|
"src/styles.scss"
|
|
],
|
|
"scripts": [
|
|
"node_modules/rbush/rbush.min.js",
|
|
"src/assets/js/turf.min.js"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"index": {
|
|
"input": "src/index.prod.html",
|
|
"output": "index.html"
|
|
},
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"aot": true,
|
|
"outputPath": "dist",
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"extractCss": true,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "6mb",
|
|
"maximumError": "10mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
},
|
|
"pt": {
|
|
"aot": true,
|
|
"localize": [
|
|
"pt"
|
|
],
|
|
"outputPath": "dist/agm-pt/",
|
|
"i18nLocale": "pt",
|
|
"i18nMissingTranslation": "error"
|
|
},
|
|
"es": {
|
|
"aot": true,
|
|
"localize": [
|
|
"es"
|
|
],
|
|
"outputPath": "dist/agm-es/",
|
|
"i18nLocale": "es",
|
|
"i18nMissingTranslation": "error"
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "agmission-client:build",
|
|
"sslKey": "/home/trung/ssl/server.key",
|
|
"sslCert": "/home/trung/ssl/server.crt"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "agmission-client:build:production"
|
|
},
|
|
"pt": {
|
|
"browserTarget": "agmission-client:build:pt",
|
|
"sslKey": "/home/trung/ssl/server.key",
|
|
"sslCert": "/home/trung/ssl/server.crt"
|
|
},
|
|
"es": {
|
|
"browserTarget": "agmission-client:build:es",
|
|
"sslKey": "/home/trung/ssl/server.key",
|
|
"sslCert": "/home/trung/ssl/server.crt"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "agmission-client:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
"karmaConfig": "src/karma.conf.js",
|
|
"scripts": [
|
|
"node_modules/leaflet/dist/leaflet.js",
|
|
"src/assets/js/leaflet-draw/leaflet.draw-src.js",
|
|
"src/assets/js/L.Path.Drag.js",
|
|
"src/assets/js/Leaflet.draw.drag-src.js",
|
|
"src/assets/js/leaflet-measure/leaflet-measure-path.js",
|
|
"src/assets/js/leaflet.circle.topolygon.js",
|
|
"src/assets/js/turf.min.js",
|
|
"src/assets/js/leaflet-corridor.js",
|
|
"src/assets/js/utm.js",
|
|
"src/assets/js/L.Control.MapCenterCoord.js",
|
|
"src/assets/js/leaflet.polylineDecorator.js"
|
|
],
|
|
"styles": [
|
|
"node_modules/leaflet/dist/leaflet.css",
|
|
"src/assets/js/leaflet-draw/leaflet.draw.css",
|
|
"src/assets/js/leaflet-measure/leaflet-measure-path.css",
|
|
"node_modules/primeng/resources/primeng.min.css",
|
|
"node_modules/nanoscroller/bin/css/nanoscroller.css",
|
|
"src/assets/js/L.Control.MapCenterCoord.css",
|
|
"src/styles.scss"
|
|
],
|
|
"assets": [
|
|
"src/assets",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/leaflet/dist/images",
|
|
"output": "/assets/images"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"src/tsconfig.app.json",
|
|
"src/tsconfig.spec.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"agmission-client-e2e": {
|
|
"root": "e2e/",
|
|
"projectType": "application",
|
|
"prefix": "",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
"devServerTarget": "agmission-client:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "agmission-client:serve:production"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "agmission-client",
|
|
"cli": {
|
|
"analytics": "a39ac155-50fa-4441-b491-60e55b83e6ff"
|
|
}
|
|
}
|