angular workspace - rbinsztock/angular-cli GitHub Wiki
Angular CLI workspace file (angular.json) schema
Properties
-
version (
integer): File format version. This is currently"1". -
newProjectRoot (
string): Path where new projects will be created. -
defaultProject (
string): Default project name used in commands. -
cli: Workspace configuration options for Angular CLI.
- defaultCollection (
string): The default schematics collection to use. - packageManager (
string): Specify which package manager tool to use. - warnings (
object): Warning configuration.- versionMismatch (
boolean): Show a warning when the global version is newer than the local one. - typescriptMismatch (
boolean): The name of the project.
- versionMismatch (
- defaultCollection (
-
schematics (
object): Workspace configuration options for Schematics.- schematic-package:schematic-name (
object): Object containing options for this schematic. JSON Schema for default schematics:
- schematic-package:schematic-name (
-
projects: Configuration options for each project in the workspace.
- root (
string): Root of the project files. - sourceRoot (
string): The root of the source files, assets and index.html file structure.. - projectType (
string): the type of this project,applicationorlibrary. - prefix (
string): The prefix to apply to generated selectors. - schematics (
object): Project configuration options for Schematics. Has the same format as top level Schematics configuration). - architect (
string): Project configuration for Architect targets.- targetName (
string): Name of this target.- builder (
string): Builder for this target, in the formatpackage-name:builder-name. - options (
string): Options for this builder. JSON Schema for default schematics:- @angular-devkit/build-angular:app-shell
- @angular-devkit/build-angular:browser
- @angular-devkit/build-angular:dev-server
- @angular-devkit/build-angular:extract-i18n
- @angular-devkit/build-angular:karma
- @angular-devkit/build-angular:protractor
- @angular-devkit/build-angular:server
- @angular-devkit/build-angular:tslint
- configurations (
object): A map of alternative target options.- configurationName (
object): Partial options override for this builder.
- configurationName (
- builder (
- targetName (
- root (