This commit is contained in:
Marius Pana 2022-06-18 11:21:56 +03:00
commit 0c98fb6d1d
2 changed files with 44 additions and 102 deletions

View File

@ -2,54 +2,40 @@
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects":
{
"manta":
{
"projects": {
"manta": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics":
{
},
"architect":
{
"build":
{
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options":
{
"options": {
"progress": false,
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets":
[
"assets": [
"src/assets",
"src/manifest.webmanifest",
"src/env.js"
],
"styles":
[
"styles": [
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
"./node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
"./node_modules/ngx-toastr/toastr.css",
"src/styles/styles.scss",
"src/styles/icons.scss"
],
"scripts":
[
]
"scripts": []
},
"configurations":
{
"production":
{
"fileReplacements":
[
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
@ -67,81 +53,61 @@
}
}
},
"serve":
{
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options":
{
"options": {
"browserTarget": "manta:build",
"proxyConfig": "proxy.conf.js"
},
"configurations":
{
"production":
{
"configurations": {
"production": {
"browserTarget": "manta:build:production"
}
}
},
"extract-i18n":
{
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options":
{
"options": {
"browserTarget": "manta:build"
}
},
"test":
{
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options":
{
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles":
[
"styles": [
"src/styles.css"
],
"scripts":
[
],
"assets":
[
"scripts": [],
"assets": [
"src/assets"
]
}
},
"lint":
{
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options":
{
"tsConfig":
[
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude":
[
"exclude": [
"**/node_modules/**"
]
}
},
"server":
{
"server": {
"builder": "@angular-devkit/build-angular:server",
"options":
{
"options": {
"outputPath": "dist-server",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.server.json"
},
"configurations":
{
"dev":
{
"configurations": {
"dev": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
@ -149,8 +115,7 @@
"extractLicenses": true,
"vendorChunk": true
},
"production":
{
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
@ -162,29 +127,22 @@
}
}
},
"manta-e2e":
{
"manta-e2e": {
"root": "e2e/",
"projectType": "application",
"architect":
{
"e2e":
{
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options":
{
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "manta:serve"
}
},
"lint":
{
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options":
{
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude":
[
"exclude": [
"**/node_modules/**"
]
}
@ -192,5 +150,8 @@
}
}
},
"defaultProject": "manta"
}
"defaultProject": "manta",
"cli": {
"analytics": false
}
}

View File

@ -1,19 +0,0 @@
{
"server": {
"//port": "if using a non-default port, make sure urls.local matches",
"port": 443,
"key": "cfg/key.pem",
"cert": "cfg/cert.pem"
},
"urls": {
"local": "https://localhost",
"sso": "https://sso.your.cloud",
"cloudapi": "https://eu-ro-1.api.your.cloud"
},
"key": {
"user": "developer_name",
"//id": "replace id below with the signature of the path'd key",
"id": "0b:bf:00:e7:95:7b:e8:13:54:7f:37:00:04:07:64:04",
"path": "/path/to/developer_key"
}
}