The Angular-CLI Documentation does not seem contain a full reference to the schema of the angular.json, is there any place to find a more complete list of available options?
what are all the angular.json options in angular 6? [closed]
Asked Answered
With a little digging I found the Schema Reference for the angular.json file inside the @Angular/cli github repo at
https://github.com/angular/angular-cli/wiki/angular-workspace (no longer working, see update below)
Schema of schema.json:
Some of the options inside the angular.json file reference schema files. The schema of schema.json files can be found at http://json-schema.org/.
Update
The original link no longer works. The (archived) version of the angular.json schema is still available.
However, an updated description is accessible via the Angular Docs.
Thanks for the link @Jens It's useful but it doesn't provide details of each option. Is there any document/tutorial that provides more details about each option ? –
Litho
I'm pretty sure there is no documentation that gets more in-depth than the provided link, what descriptions are you missing? –
Varney
For example, 'format' option lists enums which can be configurable but there are no details on how those options should be used or how it works etc. –
Litho
There is no 'format' key in these options, what are you refering to ? –
Varney
I was checking the default schematics of '@angular-devkit/build-angular:tslint' and it's related options. –
Litho
In that case, you're looking for the schema of a schema.json, check json-schema.org –
Varney
Ok how about outputhashing? –
Foofaraw
@gyozokudor I think you may want to create a separate question –
Varney
© 2022 - 2024 — McMap. All rights reserved.