Merge branch 'master' of https://github.com/spearheadsys/sc-portal
This commit is contained in:
commit
0c98fb6d1d
125
app/angular.json
125
app/angular.json
@ -2,54 +2,40 @@
|
|||||||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"newProjectRoot": "projects",
|
"newProjectRoot": "projects",
|
||||||
"projects":
|
"projects": {
|
||||||
{
|
"manta": {
|
||||||
"manta":
|
|
||||||
{
|
|
||||||
"root": "",
|
"root": "",
|
||||||
"sourceRoot": "src",
|
"sourceRoot": "src",
|
||||||
"projectType": "application",
|
"projectType": "application",
|
||||||
"prefix": "app",
|
"prefix": "app",
|
||||||
"schematics":
|
"schematics": {},
|
||||||
{
|
"architect": {
|
||||||
},
|
"build": {
|
||||||
"architect":
|
|
||||||
{
|
|
||||||
"build":
|
|
||||||
{
|
|
||||||
"builder": "@angular-devkit/build-angular:browser",
|
"builder": "@angular-devkit/build-angular:browser",
|
||||||
"options":
|
"options": {
|
||||||
{
|
|
||||||
"progress": false,
|
"progress": false,
|
||||||
"outputPath": "dist",
|
"outputPath": "dist",
|
||||||
"index": "src/index.html",
|
"index": "src/index.html",
|
||||||
"main": "src/main.ts",
|
"main": "src/main.ts",
|
||||||
"polyfills": "src/polyfills.ts",
|
"polyfills": "src/polyfills.ts",
|
||||||
"tsConfig": "src/tsconfig.app.json",
|
"tsConfig": "src/tsconfig.app.json",
|
||||||
"assets":
|
"assets": [
|
||||||
[
|
|
||||||
"src/assets",
|
"src/assets",
|
||||||
"src/manifest.webmanifest",
|
"src/manifest.webmanifest",
|
||||||
"src/env.js"
|
"src/env.js"
|
||||||
],
|
],
|
||||||
"styles":
|
"styles": [
|
||||||
[
|
|
||||||
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
|
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
|
||||||
"./node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
|
"./node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
|
||||||
"./node_modules/ngx-toastr/toastr.css",
|
"./node_modules/ngx-toastr/toastr.css",
|
||||||
"src/styles/styles.scss",
|
"src/styles/styles.scss",
|
||||||
"src/styles/icons.scss"
|
"src/styles/icons.scss"
|
||||||
],
|
],
|
||||||
"scripts":
|
"scripts": []
|
||||||
[
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"configurations":
|
"configurations": {
|
||||||
{
|
"production": {
|
||||||
"production":
|
"fileReplacements": [
|
||||||
{
|
|
||||||
"fileReplacements":
|
|
||||||
[
|
|
||||||
{
|
{
|
||||||
"replace": "src/environments/environment.ts",
|
"replace": "src/environments/environment.ts",
|
||||||
"with": "src/environments/environment.prod.ts"
|
"with": "src/environments/environment.prod.ts"
|
||||||
@ -67,81 +53,61 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"serve":
|
"serve": {
|
||||||
{
|
|
||||||
"builder": "@angular-devkit/build-angular:dev-server",
|
"builder": "@angular-devkit/build-angular:dev-server",
|
||||||
"options":
|
"options": {
|
||||||
{
|
|
||||||
"browserTarget": "manta:build",
|
"browserTarget": "manta:build",
|
||||||
"proxyConfig": "proxy.conf.js"
|
"proxyConfig": "proxy.conf.js"
|
||||||
},
|
},
|
||||||
"configurations":
|
"configurations": {
|
||||||
{
|
"production": {
|
||||||
"production":
|
|
||||||
{
|
|
||||||
"browserTarget": "manta:build:production"
|
"browserTarget": "manta:build:production"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extract-i18n":
|
"extract-i18n": {
|
||||||
{
|
|
||||||
"builder": "@angular-devkit/build-angular:extract-i18n",
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
||||||
"options":
|
"options": {
|
||||||
{
|
|
||||||
"browserTarget": "manta:build"
|
"browserTarget": "manta:build"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"test":
|
"test": {
|
||||||
{
|
|
||||||
"builder": "@angular-devkit/build-angular:karma",
|
"builder": "@angular-devkit/build-angular:karma",
|
||||||
"options":
|
"options": {
|
||||||
{
|
|
||||||
"main": "src/test.ts",
|
"main": "src/test.ts",
|
||||||
"polyfills": "src/polyfills.ts",
|
"polyfills": "src/polyfills.ts",
|
||||||
"tsConfig": "src/tsconfig.spec.json",
|
"tsConfig": "src/tsconfig.spec.json",
|
||||||
"karmaConfig": "src/karma.conf.js",
|
"karmaConfig": "src/karma.conf.js",
|
||||||
"styles":
|
"styles": [
|
||||||
[
|
|
||||||
"src/styles.css"
|
"src/styles.css"
|
||||||
],
|
],
|
||||||
"scripts":
|
"scripts": [],
|
||||||
[
|
"assets": [
|
||||||
],
|
|
||||||
"assets":
|
|
||||||
[
|
|
||||||
"src/assets"
|
"src/assets"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint":
|
"lint": {
|
||||||
{
|
|
||||||
"builder": "@angular-devkit/build-angular:tslint",
|
"builder": "@angular-devkit/build-angular:tslint",
|
||||||
"options":
|
"options": {
|
||||||
{
|
"tsConfig": [
|
||||||
"tsConfig":
|
|
||||||
[
|
|
||||||
"src/tsconfig.app.json",
|
"src/tsconfig.app.json",
|
||||||
"src/tsconfig.spec.json"
|
"src/tsconfig.spec.json"
|
||||||
],
|
],
|
||||||
"exclude":
|
"exclude": [
|
||||||
[
|
|
||||||
"**/node_modules/**"
|
"**/node_modules/**"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"server":
|
"server": {
|
||||||
{
|
|
||||||
"builder": "@angular-devkit/build-angular:server",
|
"builder": "@angular-devkit/build-angular:server",
|
||||||
"options":
|
"options": {
|
||||||
{
|
|
||||||
"outputPath": "dist-server",
|
"outputPath": "dist-server",
|
||||||
"main": "src/main.ts",
|
"main": "src/main.ts",
|
||||||
"tsConfig": "src/tsconfig.server.json"
|
"tsConfig": "src/tsconfig.server.json"
|
||||||
},
|
},
|
||||||
"configurations":
|
"configurations": {
|
||||||
{
|
"dev": {
|
||||||
"dev":
|
|
||||||
{
|
|
||||||
"optimization": true,
|
"optimization": true,
|
||||||
"outputHashing": "all",
|
"outputHashing": "all",
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
@ -149,8 +115,7 @@
|
|||||||
"extractLicenses": true,
|
"extractLicenses": true,
|
||||||
"vendorChunk": true
|
"vendorChunk": true
|
||||||
},
|
},
|
||||||
"production":
|
"production": {
|
||||||
{
|
|
||||||
"optimization": true,
|
"optimization": true,
|
||||||
"outputHashing": "all",
|
"outputHashing": "all",
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
@ -162,29 +127,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"manta-e2e":
|
"manta-e2e": {
|
||||||
{
|
|
||||||
"root": "e2e/",
|
"root": "e2e/",
|
||||||
"projectType": "application",
|
"projectType": "application",
|
||||||
"architect":
|
"architect": {
|
||||||
{
|
"e2e": {
|
||||||
"e2e":
|
|
||||||
{
|
|
||||||
"builder": "@angular-devkit/build-angular:protractor",
|
"builder": "@angular-devkit/build-angular:protractor",
|
||||||
"options":
|
"options": {
|
||||||
{
|
|
||||||
"protractorConfig": "e2e/protractor.conf.js",
|
"protractorConfig": "e2e/protractor.conf.js",
|
||||||
"devServerTarget": "manta:serve"
|
"devServerTarget": "manta:serve"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint":
|
"lint": {
|
||||||
{
|
|
||||||
"builder": "@angular-devkit/build-angular:tslint",
|
"builder": "@angular-devkit/build-angular:tslint",
|
||||||
"options":
|
"options": {
|
||||||
{
|
|
||||||
"tsConfig": "e2e/tsconfig.e2e.json",
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
||||||
"exclude":
|
"exclude": [
|
||||||
[
|
|
||||||
"**/node_modules/**"
|
"**/node_modules/**"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -192,5 +150,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"defaultProject": "manta"
|
"defaultProject": "manta",
|
||||||
|
"cli": {
|
||||||
|
"analytics": false
|
||||||
|
}
|
||||||
}
|
}
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
Reference in New Issue
Block a user