In Angular, the package.json file lets you keep a track of dependencies within a project. By using the reference of these packages in the dependency section, it enables you to use a module bundler such as webpack, browserify, etc. The package.json also helps you to keep your project linked to the specific versions of each package if the new version introduces any changes.

BY Best Interview Question ON 01 Mar 2020