Thursday, April 26, 2018

Generate a package.json files with dependencies

A package.json file, among other things, it stores a list of the packages you depend on in your project. That way, when using the npm command install, it will go through that list and install everything automatically.

To create a package.json file, go to our terminal and type in:
 

npm init

No comments:

Post a Comment