-
Notifications
You must be signed in to change notification settings - Fork 2
Jakukyo Friel edited this page Dec 15, 2014
·
1 revision
Set author info
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
Then 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`
npm publish ./
If you don't want something to install by default
npm publish ./ --tag beta
If you published a bugfix as v1.0.7 and need to set v1.1.3 back to latest
npm tag foobar@1.1.3 latest
More info