Files
mina-sidor-fa-web/angular.json
Erik Tiekstra 4334fd7364 feat(api): Added connection to the dotnet api (TV-189)
Squashed commit of the following:

commit 6f06bf69b87c77473c21fbe5fcc5669964793b17
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Thu May 20 15:01:16 2021 +0200

    Fixed issue with including qp insde breadcrumbs

commit 579b6105acc7a60864f07b6082329872a2105bd3
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Thu May 20 14:46:54 2021 +0200

    Added some more data to the mock-api and fixed navigation-bar

commit f9b820136017584655fadafaf716155aec85316e
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Thu May 20 10:11:55 2021 +0200

    Updated mock-api

commit 5367d2a475b1c0b8807cf5a9c3f8987b3a586de4
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Wed May 19 16:00:07 2021 +0200

    Added different config for dotnet api

commit 47de5b8ad7c0924c82f07568aa2a4386613e3bd6
Merge: 22d5e9a dc40953
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Wed May 19 07:54:55 2021 +0200

    Merged develop

commit 22d5e9a126e3c1237531407ec3e6d47fbfea55e8
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Wed May 12 11:48:25 2021 +0200

    Added new configuration to talk with local API
2021-05-20 15:20:29 +02:00

173 lines
5.1 KiB
JSON

{
"version": 1,
"cli": {
"defaultCollection": "@nrwl/angular"
},
"defaultProject": "dafa-web",
"schematics": {
"@nrwl/angular": {
"application": {
"linter": "eslint"
},
"library": {
"linter": "eslint"
},
"storybook-configuration": {
"linter": "eslint"
}
},
"@nrwl/angular:application": {
"style": "scss",
"linter": "eslint",
"unitTestRunner": "jest",
"e2eTestRunner": "cypress"
},
"@nrwl/angular:library": {
"style": "scss",
"linter": "eslint",
"unitTestRunner": "jest"
},
"@nrwl/angular:component": {
"style": "scss",
"changeDetection": "OnPush"
}
},
"projects": {
"dafa-web": {
"projectType": "application",
"root": "apps/dafa-web",
"sourceRoot": "apps/dafa-web/src",
"prefix": "dafa",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/apps/dafa-web",
"index": "apps/dafa-web/src/index.html",
"main": "apps/dafa-web/src/main.ts",
"polyfills": "apps/dafa-web/src/polyfills.ts",
"tsConfig": "apps/dafa-web/tsconfig.app.json",
"aot": true,
"assets": ["apps/dafa-web/src/assets"],
"styles": ["apps/dafa-web/src/styles/styles.scss"],
"stylePreprocessorOptions": {
"includePaths": ["apps/dafa-web/src/styles"]
},
"scripts": ["node_modules/marked/lib/marked.js"]
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "apps/dafa-web/src/environments/environment.ts",
"with": "apps/dafa-web/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
},
"pega": {
"fileReplacements": [
{
"replace": "apps/dafa-web/src/environments/environment.ts",
"with": "apps/dafa-web/src/environments/environment.pega.ts"
}
]
},
"dotnet": {
"fileReplacements": [
{
"replace": "apps/dafa-web/src/environments/environment.ts",
"with": "apps/dafa-web/src/environments/environment.dotnet.ts"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "dafa-web:build",
"proxyConfig": "./config/proxy.conf.json"
},
"configurations": {
"production": {
"browserTarget": "dafa-web:build:production"
},
"pega": {
"browserTarget": "dafa-web:build:pega"
},
"dotnet": {
"proxyConfig": "./config/proxy.conf.dotnet.json",
"browserTarget": "dafa-web:build:dotnet"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "dafa-web:build"
}
},
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["apps/dafa-web/src/**/*.ts", "apps/dafa-web/src/**/*.html"]
}
},
"test": {
"builder": "@nrwl/jest:jest",
"outputs": ["coverage/apps/dafa-web"],
"options": {
"jestConfig": "apps/dafa-web/jest.config.js",
"passWithNoTests": true
}
}
}
},
"dafa-web-e2e": {
"root": "apps/dafa-web-e2e",
"sourceRoot": "apps/dafa-web-e2e/src",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/dafa-web-e2e/cypress.json",
"tsConfig": "apps/dafa-web-e2e/tsconfig.e2e.json",
"devServerTarget": "dafa-web:serve"
},
"configurations": {
"production": {
"devServerTarget": "dafa-web:serve:production"
}
}
},
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["apps/dafa-web-e2e/**/*.{js,ts}"]
}
}
}
}
}
}