259 строки
8.2 KiB
JSON
259 строки
8.2 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "",
|
|
"projects": {
|
|
"docs": {
|
|
"root": "apps/docs",
|
|
"sourceRoot": "apps/docs/src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"aot": true,
|
|
"outputPath": "dist/apps/docs",
|
|
"index": "apps/docs/src/index.html",
|
|
"main": "apps/docs/src/main.ts",
|
|
"tsConfig": "apps/docs/tsconfig.app.json",
|
|
"polyfills": "apps/docs/src/polyfills.ts",
|
|
"assets": ["apps/docs/src/assets", "apps/docs/src/favicon.ico", "apps/docs/src/404.html"],
|
|
"styles": ["apps/docs/src/styles.scss"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"extractCss": true,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/docs/src/environments/environment.ts",
|
|
"with": "apps/docs/src/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "docs:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "docs:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "docs:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "apps/docs/src/test.ts",
|
|
"karmaConfig": "apps/docs/karma.conf.js",
|
|
"polyfills": "apps/docs/src/polyfills.ts",
|
|
"tsConfig": "apps/docs/tsconfig.spec.json",
|
|
"scripts": [],
|
|
"styles": ["apps/docs/src/styles.scss"],
|
|
"assets": ["apps/docs/src/assets", "apps/docs/src/favicon.ico", "apps/docs/src/404.html"]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": ["apps/docs/tsconfig.app.json", "apps/docs/tsconfig.spec.json"],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
},
|
|
"prefix": "app"
|
|
},
|
|
"demo": {
|
|
"root": "apps/demo",
|
|
"sourceRoot": "apps/demo/src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"aot": true,
|
|
"outputPath": "dist/apps/demo",
|
|
"index": "apps/demo/src/index.html",
|
|
"main": "apps/demo/src/main.ts",
|
|
"tsConfig": "apps/demo/tsconfig.app.json",
|
|
"polyfills": "apps/demo/src/polyfills.ts",
|
|
"assets": ["apps/demo/src/assets", "apps/demo/src/favicon.ico", "apps/demo/src/404.html"],
|
|
"styles": ["apps/demo/src/styles.css"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"extractCss": true,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/demo/src/environments/environment.ts",
|
|
"with": "apps/demo/src/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "demo:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "demo:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "demo:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "apps/demo/src/test.ts",
|
|
"karmaConfig": "apps/demo/karma.conf.js",
|
|
"polyfills": "apps/demo/src/polyfills.ts",
|
|
"tsConfig": "apps/demo/tsconfig.spec.json",
|
|
"scripts": [],
|
|
"styles": ["apps/demo/src/styles.css"],
|
|
"assets": ["apps/demo/src/assets", "apps/demo/src/favicon.ico", "apps/demo/src/404.html"]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": ["apps/demo/tsconfig.app.json", "apps/demo/tsconfig.spec.json"],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
},
|
|
"prefix": "app"
|
|
},
|
|
"core": {
|
|
"root": "libs/core",
|
|
"sourceRoot": "libs/core/src",
|
|
"projectType": "library",
|
|
"architect": {
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "libs/core/src/test.ts",
|
|
"karmaConfig": "libs/core/karma.conf.js",
|
|
"scripts": [],
|
|
"styles": [],
|
|
"assets": [],
|
|
"tsConfig": "libs/core/tsconfig.spec.json"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": ["libs/core/tsconfig.lib.json", "libs/core/tsconfig.spec.json"],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
},
|
|
"prefix": "app"
|
|
},
|
|
"fabric": {
|
|
"root": "libs/fabric",
|
|
"sourceRoot": "libs/fabric/src",
|
|
"projectType": "library",
|
|
"architect": {
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "libs/fabric/src/test.ts",
|
|
"karmaConfig": "libs/fabric/karma.conf.js",
|
|
"scripts": [],
|
|
"styles": [],
|
|
"assets": [],
|
|
"tsConfig": "libs/fabric/tsconfig.spec.json"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": ["libs/fabric/tsconfig.lib.json", "libs/fabric/tsconfig.spec.json"],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
},
|
|
"prefix": "app"
|
|
},
|
|
"semantic-ui": {
|
|
"root": "libs/semantic-ui",
|
|
"sourceRoot": "libs/semantic-ui/src",
|
|
"projectType": "library",
|
|
"architect": {
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "libs/semantic-ui/src/test.ts",
|
|
"karmaConfig": "libs/semantic-ui/karma.conf.js",
|
|
"scripts": [],
|
|
"styles": [],
|
|
"assets": [],
|
|
"tsConfig": "libs/semantic-ui/tsconfig.spec.json"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": ["libs/semantic-ui/tsconfig.lib.json", "libs/semantic-ui/tsconfig.spec.json"],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
}
|
|
},
|
|
"prefix": "app"
|
|
}
|
|
},
|
|
"defaultProject": "docs",
|
|
"cli": {
|
|
"warnings": {
|
|
"typescriptMismatch": false
|
|
},
|
|
"defaultCollection": "@nrwl/schematics"
|
|
}
|
|
}
|