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.
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.
The angular-cli. json should be located in the root folder of the project. This is using the latest version "@angular/cli": "1.0.
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.
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.
I think the documentation you are looking for is here: https://github.com/angular/angular-cli/wiki/angular-cli
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With