concept package.json in category angular

appears as: package.json
Angular Development with Typescript, Second Edition

This is an excerpt from Manning's book Angular Development with Typescript, Second Edition.

This command will create a directory, hello-cli, and will generate a project with one module, one component, and all required configuration files including the package.json file, which includes all project dependencies (see appendix C for details). After generating these files, Angular CLI will start npm to install all dependencies specified in package.json. When this command completes, you’ll see a new directory, hello-cli, as shown in figure 1.3.

If you generate package.json using the npm init command, it’ll be missing two important sections: dependencies and devDependencies. Let’s see how dependencies of an Angular project are specified. Figure C.1 shows a fragment from a package.json file of a typical Angular project.

Figure C.1. Angular dependencies in package.json