Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are all the angular-cli.json Options?

Tags:

I need to update the angular-cli.json configuration settings for an @angular/cli project that I inherited, but the Angular-CLI Wiki does not have any information on the content of that JSON file, nor the available options.

How do I get a list of all properties available in the angular-cli.json configuration settings?

The closest thing seems to be this ng get documentation, but that assumes that I know all the properties.

like image 430
JJ Zabkar Avatar asked Aug 01 '17 16:08

JJ Zabkar


People also ask

What is CLI in Angular json?

Angular CLI uses JSON Schema to enforce the configuration schema. The Angular team created Schematics packages which are used by the CLI. We can configure the options of Schematics packages, as we please, for the root project and internal projects as well.

Where is Angular json CLI?

The angular-cli. json should be located in the root folder of the project. This is using the latest version "@angular/cli": "1.0.

What is the use of DOT Angular CLI json?

1 Answer. Angular JSON file provides project-specific configuration defaults for building and developing tools with the help of Angular CLI widely throughout the workspace.

Where is config json in Angular?

You can have the JSON file somewhere in assets folder like: assets/config . Depending on whether the environment is dev or not you can use two . json files, one for development and one for production.


1 Answers

I think the documentation you are looking for is here: https://github.com/angular/angular-cli/wiki/angular-cli

like image 70
Brady Olsen Avatar answered Sep 29 '22 20:09

Brady Olsen