When you create a project using NPM or Yarn Your project director has this file. Package.json is the Core file of the Node.js System. It is the manifest file of any Node project and contains all the configuration, dependencies, and metadata about the project. As a form extension, you can say it is a JSON(JavaScript Object Notation) file. So, you should know a bit about JSON before working on this file. A lot of things described in this file are affected at the configuration time.

let’s see an example of a complete Package.json look like:

Let’s first talk about how you create a package.json file

You are about to…

Rohit Jain

Experience in Project Management, Team Collaboration, and Software Engineering. Building Web & Mobile Projects and gain lot of expertise in them.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store