Introduction to New Angular CLI

What is Angular-CLI?

Angular CLI stands for Angular Command Line Interface. It is a command line tool for creating angular apps. Angular-CLI provides you with boilerplates for a quick start and configures everything you need for development such as development server and a build process for deployment.

What is package.json?

Every Angular project is a Node.js npm package project. All npm packages contain a file, usually in the project root, called package.json – this file holds various metadata relevant to the project. This file is used to give information to npm that allows it to identify the project as well as handle the project’s dependencies. It can also contain other metadata such as a project description, the version of the project in a particular distribution, license information, even configuration data – all of which can be vital to both npm and to the end users of the package. The package.json file is normally located at the root directory of a Node.js project.

With the existence of package.json, it will be easy to manage the dependencies of the project. If we are using typescript in the angular project then we can mention the typescript package and version of typescript in package.json.