加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/akveo/nebular
克隆/下载
angular.json 18.75 KB
一键复制 编辑 原始数据 按行查看 历史
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"playground": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"changeDetection": "OnPush",
"selector": "npg"
},
"@schematics/angular:application": {
"strict": true
}
},
"root": "",
"sourceRoot": "src",
"prefix": "npg",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/playground",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"outputHashing": "all"
},
"production-wp": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"tsConfig": "src/tsconfig.wp.json",
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "playground:build:production"
},
"production-wp": {
"browserTarget": "playground:build:production-wp"
},
"development": {
"browserTarget": "playground:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "playground:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "./karma.conf.js",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [],
"scripts": []
},
"configurations": {
"production-wp": {
"tsConfig": "src/tsconfig.spec-wp.json"
}
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
}
}
},
"playground-e2e": {
"root": "e2e",
"sourceRoot": "e2e",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "./protractor.conf.js",
"devServerTarget": "playground:serve"
},
"configurations": {
"production-wp": {
"devServerTarget": "playground:serve:production-wp"
}
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"e2e/**/*.ts",
"e2e/**/*.html"
]
}
}
}
},
"docs": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"changeDetection": "OnPush",
"selector": "ngd"
},
"@schematics/angular:application": {
"strict": true
}
},
"root": "docs",
"sourceRoot": "docs",
"prefix": "ngd",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/docs",
"index": "docs/index.html",
"main": "docs/main.ts",
"polyfills": "docs/polyfills.ts",
"tsConfig": "docs/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"docs/favicon.ico",
"docs/assets",
"docs/articles",
"docs/404.html",
"docs/favicon.png",
"docs/google46533d2e7a851062.html",
"docs/robots.txt",
{
"glob": "versions.json",
"input": "docs/",
"output": "/"
}
],
"styles": [
"node_modules/pace-js/templates/pace-theme-flash.tmpl.css",
{
"inject": true,
"bundleName": "algolia",
"input": "node_modules/docsearch.js/dist/cdn/docsearch.min.css"
},
"node_modules/highlight.js/styles/dracula.css",
"docs/app/@theme/styles/styles.scss"
],
"scripts": [
"node_modules/pace-js/pace.min.js",
"node_modules/docsearch.js/dist/cdn/docsearch.min.js"
],
"allowedCommonJsDependencies": [
"highlight.js"
]
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb"
}
],
"fileReplacements": [
{
"replace": "docs/environments/environment.ts",
"with": "docs/environments/environment.prod.ts"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
},
"production-wp": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb"
}
],
"fileReplacements": [
{
"replace": "docs/environments/environment.ts",
"with": "docs/environments/environment.prod.ts"
}
],
"outputHashing": "all",
"tsConfig": "docs/tsconfig.wp.json"
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "docs:build:production"
},
"development": {
"browserTarget": "docs:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "docs:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "docs/test.ts",
"polyfills": "docs/polyfills.ts",
"tsConfig": "docs/tsconfig.spec.json",
"karmaConfig": "./karma.conf.js",
"inlineStyleLanguage": "scss",
"assets": [
"docs/assets",
"docs/favicon.ico",
"docs/favicon.png",
"docs/google46533d2e7a851062.html"
],
"styles": [
"node_modules/highlight.js/styles/dracula.css",
"docs/app/@theme/styles/styles.scss"
],
"scripts": []
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"docs/**/*.ts",
"docs/**/*.html"
]
}
}
}
},
"theme": {
"projectType": "library",
"root": "src/framework/theme",
"sourceRoot": "src/framework/theme",
"prefix": "nb",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "src/framework/theme/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "src/framework/theme/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "src/framework/theme/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/framework/theme/test.ts",
"tsConfig": "src/framework/theme/tsconfig.spec.json",
"karmaConfig": "karma.conf.js"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/framework/theme/**/*.ts",
"src/framework/theme/**/*.html"
]
}
}
}
},
"auth": {
"projectType": "library",
"root": "src/framework/auth",
"sourceRoot": "src/framework/auth",
"prefix": "nb",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "src/framework/auth/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "src/framework/auth/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "src/framework/auth/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/framework/auth/test.ts",
"tsConfig": "src/framework/auth/tsconfig.spec.json",
"karmaConfig": "karma.conf.js"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/framework/auth/**/*.ts",
"src/framework/auth/**/*.html"
]
}
}
}
},
"date-fns": {
"projectType": "library",
"root": "src/framework/date-fns",
"sourceRoot": "src/framework/date-fns",
"prefix": "nb",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "src/framework/date-fns/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "src/framework/date-fns/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "src/framework/date-fns/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/framework/date-fns/test.ts",
"tsConfig": "src/framework/date-fns/tsconfig.spec.json",
"karmaConfig": "karma.conf.js"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/framework/date-fns/**/*.ts",
"src/framework/date-fns/**/*.html"
]
}
}
}
},
"eva-icons": {
"projectType": "library",
"root": "src/framework/eva-icons",
"sourceRoot": "src/framework/eva-icons",
"prefix": "nb",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "src/framework/eva-icons/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "src/framework/eva-icons/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "src/framework/eva-icons/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/framework/eva-icons/test.ts",
"tsConfig": "src/framework/eva-icons/tsconfig.spec.json",
"karmaConfig": "karma.conf.js"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/framework/eva-icons/**/*.ts",
"src/framework/eva-icons/**/*.html"
]
}
}
}
},
"firebase-auth": {
"projectType": "library",
"root": "src/framework/firebase-auth",
"sourceRoot": "src/framework/firebase-auth",
"prefix": "nb",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "src/framework/firebase-auth/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "src/framework/firebase-auth/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "src/framework/firebase-auth/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/framework/firebase-auth/test.ts",
"tsConfig": "src/framework/firebase-auth/tsconfig.spec.json",
"karmaConfig": "karma.conf.js"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/framework/firebase-auth/**/*.ts",
"src/framework/firebase-auth/**/*.html"
]
}
}
}
},
"moment": {
"projectType": "library",
"root": "src/framework/moment",
"sourceRoot": "src/framework/moment",
"prefix": "nb",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "src/framework/moment/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "src/framework/moment/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "src/framework/moment/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/framework/moment/test.ts",
"tsConfig": "src/framework/moment/tsconfig.spec.json",
"karmaConfig": "karma.conf.js"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/framework/moment/**/*.ts",
"src/framework/moment/**/*.html"
]
}
}
}
},
"security": {
"projectType": "library",
"root": "src/framework/security",
"sourceRoot": "src/framework/security",
"prefix": "nb",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "src/framework/security/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "src/framework/security/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "src/framework/security/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/framework/security/test.ts",
"tsConfig": "src/framework/security/tsconfig.spec.json",
"karmaConfig": "karma.conf.js"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/framework/security/**/*.ts",
"src/framework/security/**/*.html"
]
}
}
}
}
},
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"changeDetection": "OnPush"
},
"@schematics/angular:application": {
"strict": true
},
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
},
"cli": {
"analytics": false,
"schematicCollections": [
"@angular-eslint/schematics"
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化