mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Removed cat-service and feed-service and added sales configurations
This commit is contained in:
207
angular.json
207
angular.json
@@ -3,71 +3,6 @@
|
|||||||
"version": 1,
|
"version": 1,
|
||||||
"newProjectRoot": "apps",
|
"newProjectRoot": "apps",
|
||||||
"projects": {
|
"projects": {
|
||||||
"cat-service": {
|
|
||||||
"root": "libs/cat-service",
|
|
||||||
"sourceRoot": "libs/cat-service/src",
|
|
||||||
"projectType": "library",
|
|
||||||
"prefix": "lib",
|
|
||||||
"schematics": {
|
|
||||||
"@schematics/angular:component": {
|
|
||||||
"changeDetection": "OnPush"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"architect": {
|
|
||||||
"build": {
|
|
||||||
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
||||||
"options": {
|
|
||||||
"tsConfig": "libs/cat-service/tsconfig.lib.json",
|
|
||||||
"project": "libs/cat-service/ng-package.json"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"test": {
|
|
||||||
"builder": "@angular-devkit/build-angular:karma",
|
|
||||||
"options": {
|
|
||||||
"main": "libs/cat-service/src/test.ts",
|
|
||||||
"tsConfig": "libs/cat-service/tsconfig.spec.json",
|
|
||||||
"karmaConfig": "libs/cat-service/karma.conf.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"lint": {
|
|
||||||
"builder": "@angular-devkit/build-angular:tslint",
|
|
||||||
"options": {
|
|
||||||
"tsConfig": ["libs/cat-service/tsconfig.lib.json", "libs/cat-service/tsconfig.spec.json"],
|
|
||||||
"exclude": ["**/node_modules/**"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"feed-service": {
|
|
||||||
"root": "libs/feed-service",
|
|
||||||
"sourceRoot": "libs/feed-service/src",
|
|
||||||
"projectType": "library",
|
|
||||||
"prefix": "lib",
|
|
||||||
"architect": {
|
|
||||||
"build": {
|
|
||||||
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
||||||
"options": {
|
|
||||||
"tsConfig": "libs/feed-service/tsconfig.lib.json",
|
|
||||||
"project": "libs/feed-service/ng-package.json"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"test": {
|
|
||||||
"builder": "@angular-devkit/build-angular:karma",
|
|
||||||
"options": {
|
|
||||||
"main": "libs/feed-service/src/test.ts",
|
|
||||||
"tsConfig": "libs/feed-service/tsconfig.spec.json",
|
|
||||||
"karmaConfig": "libs/feed-service/karma.conf.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"lint": {
|
|
||||||
"builder": "@angular-devkit/build-angular:tslint",
|
|
||||||
"options": {
|
|
||||||
"tsConfig": ["libs/feed-service/tsconfig.lib.json", "libs/feed-service/tsconfig.spec.json"],
|
|
||||||
"exclude": ["**/node_modules/**"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ui": {
|
"ui": {
|
||||||
"root": "libs/ui",
|
"root": "libs/ui",
|
||||||
"sourceRoot": "libs/ui",
|
"sourceRoot": "libs/ui",
|
||||||
@@ -92,8 +27,13 @@
|
|||||||
"lint": {
|
"lint": {
|
||||||
"builder": "@angular-devkit/build-angular:tslint",
|
"builder": "@angular-devkit/build-angular:tslint",
|
||||||
"options": {
|
"options": {
|
||||||
"tsConfig": ["libs/ui/tsconfig.lib.json", "libs/ui/tsconfig.spec.json"],
|
"tsConfig": [
|
||||||
"exclude": ["**/node_modules/**"]
|
"libs/ui/tsconfig.lib.json",
|
||||||
|
"libs/ui/tsconfig.spec.json"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"**/node_modules/**"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -113,12 +53,74 @@
|
|||||||
"main": "apps/sales/src/main.ts",
|
"main": "apps/sales/src/main.ts",
|
||||||
"polyfills": "apps/sales/src/polyfills.ts",
|
"polyfills": "apps/sales/src/polyfills.ts",
|
||||||
"tsConfig": "apps/sales/tsconfig.app.json",
|
"tsConfig": "apps/sales/tsconfig.app.json",
|
||||||
"assets": ["apps/sales/src/favicon.ico", "apps/sales/src/assets", "apps/sales/src/manifest.webmanifest"],
|
"assets": [
|
||||||
"styles": ["apps/sales/src/styles.scss"],
|
"apps/sales/src/favicon.ico",
|
||||||
|
"apps/sales/src/assets",
|
||||||
|
"apps/sales/src/manifest.webmanifest"
|
||||||
|
],
|
||||||
|
"styles": [
|
||||||
|
"apps/sales/src/styles.scss"
|
||||||
|
],
|
||||||
"scripts": []
|
"scripts": []
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
|
"test": {
|
||||||
|
"fileReplacements": [
|
||||||
|
{
|
||||||
|
"replace": "apps/sales/src/environments/environment.ts",
|
||||||
|
"with": "apps/sales/src/environments/environment.test.ts"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"optimization": true,
|
||||||
|
"outputHashing": "all",
|
||||||
|
"sourceMap": false,
|
||||||
|
"extractCss": true,
|
||||||
|
"namedChunks": false,
|
||||||
|
"aot": true,
|
||||||
|
"extractLicenses": true,
|
||||||
|
"vendorChunk": false,
|
||||||
|
"buildOptimizer": true,
|
||||||
|
"budgets": [
|
||||||
|
{
|
||||||
|
"type": "initial",
|
||||||
|
"maximumWarning": "2mb",
|
||||||
|
"maximumError": "5mb"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"serviceWorker": true
|
||||||
|
},
|
||||||
"integration": {
|
"integration": {
|
||||||
|
"fileReplacements": [
|
||||||
|
{
|
||||||
|
"replace": "apps/sales/src/environments/environment.ts",
|
||||||
|
"with": "apps/sales/src/environments/environment.integration.ts"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"optimization": true,
|
||||||
|
"outputHashing": "all",
|
||||||
|
"sourceMap": false,
|
||||||
|
"extractCss": true,
|
||||||
|
"namedChunks": false,
|
||||||
|
"aot": true,
|
||||||
|
"extractLicenses": true,
|
||||||
|
"vendorChunk": false,
|
||||||
|
"buildOptimizer": true,
|
||||||
|
"budgets": [
|
||||||
|
{
|
||||||
|
"type": "initial",
|
||||||
|
"maximumWarning": "2mb",
|
||||||
|
"maximumError": "5mb"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"serviceWorker": true
|
||||||
|
},
|
||||||
|
"staging": {
|
||||||
|
"fileReplacements": [
|
||||||
|
{
|
||||||
|
"replace": "apps/sales/src/environments/environment.ts",
|
||||||
|
"with": "apps/sales/src/environments/environment.staging.ts"
|
||||||
|
}
|
||||||
|
],
|
||||||
"optimization": true,
|
"optimization": true,
|
||||||
"outputHashing": "all",
|
"outputHashing": "all",
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
@@ -170,9 +172,15 @@
|
|||||||
"browserTarget": "sales:build"
|
"browserTarget": "sales:build"
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
|
"test": {
|
||||||
|
"browserTarget": "sales:build:test"
|
||||||
|
},
|
||||||
"integration": {
|
"integration": {
|
||||||
"browserTarget": "sales:build:integration"
|
"browserTarget": "sales:build:integration"
|
||||||
},
|
},
|
||||||
|
"staging": {
|
||||||
|
"browserTarget": "sales:build:staging"
|
||||||
|
},
|
||||||
"production": {
|
"production": {
|
||||||
"browserTarget": "sales:build:production"
|
"browserTarget": "sales:build:production"
|
||||||
}
|
}
|
||||||
@@ -191,16 +199,27 @@
|
|||||||
"polyfills": "apps/sales/src/polyfills.ts",
|
"polyfills": "apps/sales/src/polyfills.ts",
|
||||||
"tsConfig": "apps/sales/tsconfig.spec.json",
|
"tsConfig": "apps/sales/tsconfig.spec.json",
|
||||||
"karmaConfig": "apps/sales/karma.conf.js",
|
"karmaConfig": "apps/sales/karma.conf.js",
|
||||||
"styles": ["apps/sales/src/styles.scss"],
|
"styles": [
|
||||||
|
"apps/sales/src/styles.scss"
|
||||||
|
],
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
"assets": ["apps/sales/src/favicon.ico", "apps/sales/src/assets", "apps/sales/src/manifest.webmanifest"]
|
"assets": [
|
||||||
|
"apps/sales/src/favicon.ico",
|
||||||
|
"apps/sales/src/assets",
|
||||||
|
"apps/sales/src/manifest.webmanifest"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
"builder": "@angular-devkit/build-angular:tslint",
|
"builder": "@angular-devkit/build-angular:tslint",
|
||||||
"options": {
|
"options": {
|
||||||
"tsConfig": ["apps/sales/tsconfig.app.json", "apps/sales/tsconfig.spec.json"],
|
"tsConfig": [
|
||||||
"exclude": ["**/node_modules/**"]
|
"apps/sales/tsconfig.app.json",
|
||||||
|
"apps/sales/tsconfig.spec.json"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"**/node_modules/**"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -229,7 +248,9 @@
|
|||||||
"builder": "@angular-devkit/build-angular:tslint",
|
"builder": "@angular-devkit/build-angular:tslint",
|
||||||
"options": {
|
"options": {
|
||||||
"tsConfig": "apps/sales-e2e/tsconfig.e2e.json",
|
"tsConfig": "apps/sales-e2e/tsconfig.e2e.json",
|
||||||
"exclude": ["**/node_modules/**"]
|
"exclude": [
|
||||||
|
"**/node_modules/**"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -258,8 +279,13 @@
|
|||||||
"lint": {
|
"lint": {
|
||||||
"builder": "@angular-devkit/build-angular:tslint",
|
"builder": "@angular-devkit/build-angular:tslint",
|
||||||
"options": {
|
"options": {
|
||||||
"tsConfig": ["libs/swagger/tsconfig.lib.json", "libs/swagger/tsconfig.spec.json"],
|
"tsConfig": [
|
||||||
"exclude": ["**/node_modules/**"]
|
"libs/swagger/tsconfig.lib.json",
|
||||||
|
"libs/swagger/tsconfig.spec.json"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"**/node_modules/**"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -288,8 +314,13 @@
|
|||||||
"lint": {
|
"lint": {
|
||||||
"builder": "@angular-devkit/build-angular:tslint",
|
"builder": "@angular-devkit/build-angular:tslint",
|
||||||
"options": {
|
"options": {
|
||||||
"tsConfig": ["libs/mock/tsconfig.lib.json", "libs/mock/tsconfig.spec.json"],
|
"tsConfig": [
|
||||||
"exclude": ["**/node_modules/**"]
|
"libs/mock/tsconfig.lib.json",
|
||||||
|
"libs/mock/tsconfig.spec.json"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"**/node_modules/**"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -318,8 +349,13 @@
|
|||||||
"lint": {
|
"lint": {
|
||||||
"builder": "@angular-devkit/build-angular:tslint",
|
"builder": "@angular-devkit/build-angular:tslint",
|
||||||
"options": {
|
"options": {
|
||||||
"tsConfig": ["libs/shared/tsconfig.lib.json", "libs/shared/tsconfig.spec.json"],
|
"tsConfig": [
|
||||||
"exclude": ["**/node_modules/**"]
|
"libs/shared/tsconfig.lib.json",
|
||||||
|
"libs/shared/tsconfig.spec.json"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"**/node_modules/**"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -348,12 +384,17 @@
|
|||||||
"lint": {
|
"lint": {
|
||||||
"builder": "@angular-devkit/build-angular:tslint",
|
"builder": "@angular-devkit/build-angular:tslint",
|
||||||
"options": {
|
"options": {
|
||||||
"tsConfig": ["libs/sso/tsconfig.lib.json", "libs/sso/tsconfig.spec.json"],
|
"tsConfig": [
|
||||||
"exclude": ["**/node_modules/**"]
|
"libs/sso/tsconfig.lib.json",
|
||||||
|
"libs/sso/tsconfig.spec.json"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"**/node_modules/**"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"defaultProject": "sales"
|
"defaultProject": "sales"
|
||||||
}
|
}
|
||||||
35
apps/sales/src/environments/environment.integration.ts
Normal file
35
apps/sales/src/environments/environment.integration.ts
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
export const environment = {
|
||||||
|
production: false,
|
||||||
|
includeGoogleAnalytics: false,
|
||||||
|
swagger: {
|
||||||
|
api: {
|
||||||
|
rootUrl: 'https://isa-integration.paragon-data.net/catsearch/v5'
|
||||||
|
},
|
||||||
|
av: {
|
||||||
|
rootUrl: 'https://isa-integration.paragon-data.net/ava/v4'
|
||||||
|
},
|
||||||
|
checkout: {
|
||||||
|
rootUrl: 'https://isa-integration.paragon-data.net/checkout/v3'
|
||||||
|
},
|
||||||
|
crm: {
|
||||||
|
rootUrl: 'https://isa-integration.paragon-data.net/crm/v2'
|
||||||
|
},
|
||||||
|
isa: {
|
||||||
|
rootUrl: 'https://isa-integration.paragon-data.net/isa/v1'
|
||||||
|
},
|
||||||
|
oms: {
|
||||||
|
rootUrl: 'https://isa-integration.paragon-data.net/oms/v2'
|
||||||
|
},
|
||||||
|
print: {
|
||||||
|
rootUrl: 'https://isa-integration.paragon-data.net/print/v1'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
remissionModuleOptions: {
|
||||||
|
useMock: false,
|
||||||
|
endpoints: {
|
||||||
|
catsearch: 'https://isa-integration.paragon-data.net/catsearch/v5/',
|
||||||
|
remi: 'https://isa-integration.paragon-data.net/inv/v1/',
|
||||||
|
print: 'https://isa-integration.paragon-data.net/print/v1/'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
@@ -1,4 +1,35 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
production: true,
|
production: true,
|
||||||
config: '/assets/config.json'
|
includeGoogleAnalytics: true,
|
||||||
|
swagger: {
|
||||||
|
api: {
|
||||||
|
rootUrl: 'https://isa.paragon-data.net/catsearch/v5'
|
||||||
|
},
|
||||||
|
av: {
|
||||||
|
rootUrl: 'https://isa.paragon-data.net/ava/v4'
|
||||||
|
},
|
||||||
|
checkout: {
|
||||||
|
rootUrl: 'https://isa.paragon-data.net/checkout/v3'
|
||||||
|
},
|
||||||
|
crm: {
|
||||||
|
rootUrl: 'https://isa.paragon-data.net/crm/v2'
|
||||||
|
},
|
||||||
|
isa: {
|
||||||
|
rootUrl: 'https://isa.paragon-data.net/isa/v1'
|
||||||
|
},
|
||||||
|
oms: {
|
||||||
|
rootUrl: 'https://isa.paragon-data.net/oms/v2'
|
||||||
|
},
|
||||||
|
print: {
|
||||||
|
rootUrl: 'https://isa.paragon-data.net/print/v1'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
remissionModuleOptions: {
|
||||||
|
useMock: false,
|
||||||
|
endpoints: {
|
||||||
|
catsearch: 'https://isa.paragon-data.net/catsearch/v5/',
|
||||||
|
remi: 'https://isa.paragon-data.net/inv/v1/',
|
||||||
|
print: 'https://isa.paragon-data.net/print/v1/'
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
35
apps/sales/src/environments/environment.staging.ts
Normal file
35
apps/sales/src/environments/environment.staging.ts
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
export const environment = {
|
||||||
|
production: true,
|
||||||
|
includeGoogleAnalytics: true,
|
||||||
|
swagger: {
|
||||||
|
api: {
|
||||||
|
rootUrl: 'https://isa-staging.paragon-data.net/catsearch/v5'
|
||||||
|
},
|
||||||
|
av: {
|
||||||
|
rootUrl: 'https://isa-staging.paragon-data.net/ava/v4'
|
||||||
|
},
|
||||||
|
checkout: {
|
||||||
|
rootUrl: 'https://isa-staging.paragon-data.net/checkout/v3'
|
||||||
|
},
|
||||||
|
crm: {
|
||||||
|
rootUrl: 'https://isa-staging.paragon-data.net/crm/v2'
|
||||||
|
},
|
||||||
|
isa: {
|
||||||
|
rootUrl: 'https://isa-staging.paragon-data.net/isa/v1'
|
||||||
|
},
|
||||||
|
oms: {
|
||||||
|
rootUrl: 'https://isa-staging.paragon-data.net/oms/v2'
|
||||||
|
},
|
||||||
|
print: {
|
||||||
|
rootUrl: 'https://isa-staging.paragon-data.net/print/v1'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
remissionModuleOptions: {
|
||||||
|
useMock: false,
|
||||||
|
endpoints: {
|
||||||
|
catsearch: 'https://isa-staging.paragon-data.net/catsearch/v5/',
|
||||||
|
remi: 'https://isa-staging.paragon-data.net/inv/v1/',
|
||||||
|
print: 'https://isa-staging.paragon-data.net/print/v1/'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
35
apps/sales/src/environments/environment.test.ts
Normal file
35
apps/sales/src/environments/environment.test.ts
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
export const environment = {
|
||||||
|
production: false,
|
||||||
|
includeGoogleAnalytics: false,
|
||||||
|
swagger: {
|
||||||
|
api: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/catsearch/v5'
|
||||||
|
},
|
||||||
|
av: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/ava/v4'
|
||||||
|
},
|
||||||
|
checkout: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/checkout/v3'
|
||||||
|
},
|
||||||
|
crm: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/crm/v2'
|
||||||
|
},
|
||||||
|
isa: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/isa/v1'
|
||||||
|
},
|
||||||
|
oms: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/oms/v2'
|
||||||
|
},
|
||||||
|
print: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/print/v1'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
remissionModuleOptions: {
|
||||||
|
useMock: false,
|
||||||
|
endpoints: {
|
||||||
|
catsearch: 'https://isa-test.paragon-data.net/catsearch/v5/',
|
||||||
|
remi: 'https://isa-test.paragon-data.net/inv/v1/',
|
||||||
|
print: 'https://isa-test.paragon-data.net/print/v1/'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
@@ -1,17 +1,35 @@
|
|||||||
// This file can be replaced during build by using the `fileReplacements` array.
|
|
||||||
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
|
|
||||||
// The list of file replacements can be found in `angular.json`.
|
|
||||||
|
|
||||||
export const environment = {
|
export const environment = {
|
||||||
production: false,
|
production: false,
|
||||||
config: '/assets/config.json'
|
includeGoogleAnalytics: false,
|
||||||
|
swagger: {
|
||||||
|
api: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/catsearch/v5'
|
||||||
|
},
|
||||||
|
av: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/ava/v4'
|
||||||
|
},
|
||||||
|
checkout: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/checkout/v3'
|
||||||
|
},
|
||||||
|
crm: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/crm/v2'
|
||||||
|
},
|
||||||
|
isa: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/isa/v1'
|
||||||
|
},
|
||||||
|
oms: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/oms/v2'
|
||||||
|
},
|
||||||
|
print: {
|
||||||
|
rootUrl: 'https://isa-test.paragon-data.net/print/v1'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
remissionModuleOptions: {
|
||||||
|
useMock: false,
|
||||||
|
endpoints: {
|
||||||
|
catsearch: 'https://isa-test.paragon-data.net/catsearch/v5/',
|
||||||
|
remi: 'https://isa-test.paragon-data.net/inv/v1/',
|
||||||
|
print: 'https://isa-test.paragon-data.net/print/v1/'
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
* For easier debugging in development mode, you can import the following file
|
|
||||||
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
|
|
||||||
*
|
|
||||||
* This import should be commented out in production mode because it will have a negative impact
|
|
||||||
* on performance if an error is thrown.
|
|
||||||
*/
|
|
||||||
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.
|
|
||||||
|
|||||||
@@ -9,9 +9,11 @@
|
|||||||
"lint": "ng lint",
|
"lint": "ng lint",
|
||||||
"e2e": "ng e2e",
|
"e2e": "ng e2e",
|
||||||
"gen-swagger-api": "cd libs/swagger && npm run-script gen-swagger",
|
"gen-swagger-api": "cd libs/swagger && npm run-script gen-swagger",
|
||||||
"build-libraries": "ng build cat-service && ng build feed-service && ng build swagger && ng build ui && ng build mock && ng build sso",
|
"build-libraries": "ng build swagger && ng build ui && ng build mock && ng build sso",
|
||||||
"build-prod": "npm run-script gen-swagger-api && npm run-script build-libraries && ng build --prod",
|
"build-prod": "npm run-script gen-swagger-api && npm run-script build-libraries && ng build --prod",
|
||||||
"build-test": "npm run-script gen-swagger-api && npm run-script build-libraries && ng build sales --configuration=integration"
|
"build-test": "npm run-script gen-swagger-api && npm run-script build-libraries && ng build sales --configuration=test",
|
||||||
|
"build-integration": "npm run-script gen-swagger-api && npm run-script build-libraries && ng build sales --configuration=integration",
|
||||||
|
"build-staging": "npm run-script gen-swagger-api && npm run-script build-libraries && ng build sales --configuration=staging"
|
||||||
},
|
},
|
||||||
"prettier": {
|
"prettier": {
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
@@ -93,4 +95,4 @@
|
|||||||
"tslint": "~5.11.0",
|
"tslint": "~5.11.0",
|
||||||
"typescript": "~3.2.4"
|
"typescript": "~3.2.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user