ng-thrift/angular.json
2024-05-07 15:40:11 +05:00

146 lines
6.0 KiB
JSON

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"ng-thrift": {
"projectType": "library",
"root": "projects/ng-thrift",
"sourceRoot": "projects/ng-thrift/src",
"prefix": "v",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/ng-thrift/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/ng-thrift/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/ng-thrift/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"tsConfig": "projects/ng-thrift/tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"],
"karmaConfig": "projects/ng-thrift/karma.conf.js"
}
}
}
},
"ng-thrift-doc": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": "projects/ng-thrift-doc",
"sourceRoot": "projects/ng-thrift-doc/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@ng-doc/builder:application",
"options": {
"outputPath": "dist/ng-thrift-doc",
"index": "projects/ng-thrift-doc/src/index.html",
"browser": "projects/ng-thrift-doc/src/main.ts",
"polyfills": ["zone.js"],
"tsConfig": "projects/ng-thrift-doc/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
{
"glob": "**/*",
"input": "node_modules/@ng-doc/app/assets",
"output": "assets/ng-doc/app"
},
{
"glob": "**/*",
"input": "node_modules/@ng-doc/ui-kit/assets",
"output": "assets/ng-doc/ui-kit"
},
{
"glob": "**/*",
"input": "ng-doc/ng-thrift-doc/assets",
"output": "assets/ng-doc"
},
"projects/ng-thrift-doc/src/favicon.ico",
"projects/ng-thrift-doc/src/assets"
],
"styles": [
"node_modules/@ng-doc/app/styles/global.css",
"projects/ng-thrift-doc/src/styles.scss"
],
"scripts": [],
"allowedCommonJsDependencies": ["@ng-doc/core"]
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "1.5mb",
"maximumError": "2mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@ng-doc/builder:dev-server",
"configurations": {
"production": {
"buildTarget": "ng-thrift-doc:build:production"
},
"development": {
"buildTarget": "ng-thrift-doc:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "ng-thrift-doc:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "projects/ng-thrift-doc/tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
"projects/ng-thrift-doc/src/favicon.ico",
"projects/ng-thrift-doc/src/assets"
],
"styles": ["projects/ng-thrift-doc/src/styles.scss"],
"scripts": []
}
}
}
}
},
"cli": {
"analytics": false
}
}