angular.json
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"ng-let": {
"projectType": "library",
"root": "projects/ng-let",
"sourceRoot": "projects/ng-let/src",
"prefix": "ng",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/ng-let/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/ng-let/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/ng-let/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/ng-let/src/test.ts",
"tsConfig": "projects/ng-let/tsconfig.spec.json",
"karmaConfig": "projects/ng-let/karma.conf.js"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/ng-let/**/*.ts",
"projects/ng-let/**/*.html"
]
}
}
}
},
"ng-let-demo": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "sass"
},
"@schematics/angular:application": {
"strict": true
}
},
"root": "projects/ng-let-demo",
"sourceRoot": "projects/ng-let-demo/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": {
"base": "dist/ng-let-demo"
},
"index": "projects/ng-let-demo/src/index.html",
"polyfills": [
"projects/ng-let-demo/src/polyfills.ts"
],
"tsConfig": "projects/ng-let-demo/tsconfig.app.json",
"inlineStyleLanguage": "sass",
"assets": [
"projects/ng-let-demo/src/favicon.ico",
"projects/ng-let-demo/src/assets"
],
"styles": [
"projects/ng-let-demo/src/styles.sass"
],
"scripts": [],
"browser": "projects/ng-let-demo/src/main.ts"
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"buildTarget": "ng-let-demo:build:production"
},
"development": {
"buildTarget": "ng-let-demo:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "ng-let-demochio:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/ng-let-demo/src/test.ts",
"polyfills": "projects/ng-let-demo/src/polyfills.ts",
"tsConfig": "projects/ng-let-demo/tsconfig.spec.json",
"karmaConfig": "projects/ng-let-demo/karma.conf.js",
"inlineStyleLanguage": "sass",
"assets": [
"projects/ng-let-demo/src/favicon.ico",
"projects/ng-let-demo/src/assets"
],
"styles": [
"projects/ng-let-demo/src/styles.sass"
],
"scripts": []
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/ng-let-demo/**/*.ts",
"projects/ng-let-demo/**/*.html"
]
}
}
}
}
},
"cli": {
"schematicCollections": [
"@angular-eslint/schematics"
]
}
}