Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
vms:webdev:nodejs:riot [2015/09/14 18:09]
admin
vms:webdev:nodejs:riot [2015/09/14 18:12]
admin
Line 28: Line 28:
 </​code>​ </​code>​
  
-Basicaly what this will do is write to the //​**package.json**//​ file at the root of your project. It translates to the following:+Basicaly what this will do is write to the //​**package.json**//​ file at the root of your project, also adding a //​**node_modules**//​ directory there. It translates to the following:
 <​code>​ <​code>​
 > nano package.json > nano package.json
Line 42: Line 42:
 . .
 </​code> ​ </​code> ​
 +
 +Once you share your code with others, they'​lll simply have to issue:
 +<​code>​
 +> npm install
 +</​code>​
 +
 +To make sure all required Node Packages are available to the project.
  
 Refer to [[https://​drublic.de/​blog/​npm-builds/​|this great article by Hans Christian Reinl]] for a good starting reference about a modern dev environment setup. Refer to [[https://​drublic.de/​blog/​npm-builds/​|this great article by Hans Christian Reinl]] for a good starting reference about a modern dev environment setup.