Understanding the config files

- [Instructor] Let's take a look at the configuration files…that the CLI generated for us.…Let's start it with package .json.…Any JavaScript application should have a package .json…to describe the project and its dependencies.…We can see that we have the latest version of Angular,…along with Angular's dependencies.…And development tools that the CLI uses to do things…like building, serving, and testing our application.…We can also see that we have a few npm scripts…that were configured for us.…

In the terminal, any of these scripts…can be run using npm run.…Let me go ahead and open up…the Visual Studio code terminal, using control backtick.…To run the built script, you can run npm run build.…Using npm's scripts is very useful…because you can create custom behavior,…and abstract it all the way with…the use of a simple npm script.…We will be learning how to extend these.…Let's take a look now at the angular-cli.json file.…

The angular-cli.json file is a json file…describing several aspects of your CLI application.…

Resume Transcript Auto-Scroll

Author

Released

2/23/2018

The Angular command-line interface (CLI) is the recommended utility for building and maintaining Angular applications. Understanding what it provides—and how to make the most of its features—can set you up for maximum development productivity with Angular. In this course, learn how the Angular CLI is designed to not only help with creating new Angular projects, but also how it takes care of the application-build workflow and testing. Instructor Victor Mejia covers creating new projects, customizing the development server, generating Angular application code, running tests, and more. Plus, he shares real-world scenarios that can help you develop a more practical understanding of how to use the CLI. By the end of this course, you'll have the knowledge you need to use the Angular CLI as a core tool in your Angular application development workflow.