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
Last revision Both sides next revision
vms:webdev:nodejs:riot [2015/09/14 18:09]
admin
vms:webdev:nodejs:riot [2015/09/14 18:16]
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 43: Line 43:
 </​code> ​ </​code> ​
  
-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.+Once you share your code with others, they'​ll 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 setup a modern dev environment ​using npm.