From the course: Learning the Angular CLI

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Understanding the config files

Understanding the config files - Angular Tutorial

From the course: Learning the Angular CLI

Start my 1-month free trial

Understanding the config files

- [Instructor] Let`s take a look at the configuration files that the cli generate for us. To start with package dot Jason. Any javascript application should have a package dot Jason to describe projects 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 a few npm scripts were configured for us. In the terminal, any of these scripts can be run using npm run. For instance, to run the build script you can run npm run build. Using npm script is very useful because you can create custom behavior and abstract it all the way with this use of a simple npm script. We`ll be learning how to extend this. Let`s head now to angular dot Jason. The angular dot Jason file is a Jason file describing several aspects of your cli application. The…

Contents