Npm: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Publish an application == === Init you identity === <pre> npm set init.author.name "Your Name" npm set init.author.email "you@example.com" npm set init.author.url "http://y...") |
(No difference)
|
Latest revision as of 21:18, 12 June 2015
Publish an application
Init you identity
npm set init.author.name "Your Name" npm set init.author.email "you@example.com" npm set init.author.url "http://yourblog.com" npm adduser
Create a package.json and publish it:
cd /path/to/your-project npm init npm install -g pakmanager # this shows you dependencies as you `require`d them pakmanager deps # now edit `package.json` and add any deps you forgot about npm publish ./