NPM publish

15 views
Skip to first unread message

jayesh sapkale

unread,
Oct 5, 2015, 9:56:12 AM10/5/15
to nodejs
1:) How to publish whole project to npm?
2:) How to make our project available globally and generate executable file like in window (.cmd) file in \Roaming\npm  folder 

please help here...
 

Aria Stewart

unread,
Oct 5, 2015, 10:16:53 AM10/5/15
to nodejs
To publish: npm publish
To install globally and have an executable: make sure there's a 'bin' entry in package.json, publish, then npm install -g yourpackage 
Reply all
Reply to author
Forward
0 new messages