194 lines
5.6 KiB
JSON
194 lines
5.6 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"cli": {
|
|
"packageManager": "pnpm",
|
|
"analytics": "10b848ad-8b81-4346-852f-5eff89573a85",
|
|
"defaultCollection": "@angular-eslint/schematics"
|
|
},
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"public-gateway-cacher": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
},
|
|
"@schematics/angular:application": {
|
|
"strict": true
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/angular",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.app.json",
|
|
"assets": [
|
|
"src/favicon.png",
|
|
"src/assets"
|
|
],
|
|
"styles": [
|
|
"src/styles.scss"
|
|
],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": [
|
|
"node_modules"
|
|
]
|
|
},
|
|
"scripts": [],
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"buildOptimizer": false,
|
|
"sourceMap": true,
|
|
"optimization": false,
|
|
"namedChunks": true
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"extractLicenses": true,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "10kb"
|
|
}
|
|
]
|
|
},
|
|
"gitlab": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.gitlab.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"extractLicenses": true,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "10kb"
|
|
}
|
|
]
|
|
},
|
|
"ipfs": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.ipfs.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"extractLicenses": true,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "10kb"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultConfiguration": ""
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "public-gateway-cacher:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "public-gateway-cacher:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "public-gateway-cacher:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.spec.json",
|
|
"karmaConfig": "karma.conf.js",
|
|
"assets": [
|
|
"src/favicon.png",
|
|
"src/assets"
|
|
],
|
|
"styles": [
|
|
"src/styles.scss"
|
|
],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": [
|
|
"node_modules"
|
|
]
|
|
},
|
|
"scripts": []
|
|
}
|
|
},
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
"devServerTarget": "public-gateway-cacher:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "public-gateway-cacher:serve:production"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"src/**/*.ts",
|
|
"src/**/*.html"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "public-gateway-cacher"
|
|
}
|