angular.json
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"ndb-core": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"i18n": {
"sourceLocale": "en-US"
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"i18nMissingTranslation": "warning",
"assets": [
"src/assets",
"src/favicon.ico",
"src/manifest.webmanifest",
{
"glob": "**/*",
"input": "node_modules/leaflet/dist/images/",
"output": "./assets"
}
],
"styles": [
"src/styles/styles.scss",
"src/styles/themes/ndb-theme.scss",
"node_modules/leaflet/dist/leaflet.css"
],
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/",
"src/styles"
]
},
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"optimization": {
"scripts": true,
"styles": {
"minify": true,
"inlineCritical": false
},
"fonts": true
},
"outputHashing": "all",
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"serviceWorker": true,
"ngswConfigPath": "ngsw-config.json"
},
"development": {}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {},
"configurations": {
"production": {
"buildTarget": "ndb-core:build:production"
},
"development": {
"buildTarget": "ndb-core:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "ndb-core:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"karmaConfig": "./karma.conf.js",
"polyfills": [
"src/polyfills.ts",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"styles": [
"src/styles/styles.scss",
"src/styles/themes/ndb-theme.scss"
],
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/",
"src/styles"
]
},
"assets": [
"src/assets",
"src/favicon.ico",
"src/manifest.webmanifest"
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.spec.ts"
}
]
}
},
"storybook": {
"builder": "@storybook/angular:start-storybook",
"options": {
"browserTarget": "ndb-core:build",
"compodoc": false,
"port": 4400
}
},
"build-storybook": {
"builder": "@storybook/angular:build-storybook",
"options": {
"browserTarget": "ndb-core:build",
"compodoc": false,
"enableProdMode": false
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
},
"cypress-open": {
"builder": "@cypress/schematic:cypress",
"options": {
"watch": true,
"headless": false,
"devServerTarget": "ndb-core:serve"
}
},
"e2e": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "ndb-core:serve",
"watch": false,
"headless": true
},
"configurations": {
"production": {
"devServerTarget": "ndb-core:serve:production"
}
}
}
}
}
},
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
"style": "scss"
},
"@schematics/angular:directive": {
"prefix": "app"
},
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
},
"cli": {
"cache": {
"enabled": true
},
"schematicCollections": [
"@angular-eslint/schematics"
],
"analytics": "3a23cbc9-8780-4947-bdf1-57719d16d60d"
}
}