When you npm install cowsay, this entry is added to the package.json file: Let’s say you install cowsay, a cool command line tool that lets you make a cow say things. Npm calculates the dependencies and installs the latest available version of those as well. When you install a package using npm install, the latest available version of the package is downloaded and put in the node_modules folder, and a corresponding entry is added to the package.json and package-lock.json files that are present in your current folder. How do you update all the npm dependencies store in the package.json file, to their latest version available?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |