Last active
September 27, 2015 00:07
Revisions
-
baalexander renamed this gist
Jul 7, 2013 . 1 changed file with 3 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,17 +1,11 @@ # Test a package locally before publishing to NPM: # Install the package in the global space npm install . -g # Package should show up in list npm ls -g # Can view contents of the installed package with ls ~/.npm/<package name> # Publish a package to NPM # Inside the root directory of the package npm publish -
baalexander revised this gist
Aug 30, 2011 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,12 @@ Test a package locally before publishing to NPM: ```bash # Install the package in the global space npm install . -g # Package should show up in list npm ls -g # Can view contents of the installed package with ls ~/.npm/<package name> ``` Publish a package to NPM: -
baalexander created this gist
Aug 30, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ Test a package locally before publishing to NPM: ```bash # Install the package in the global space npm install . -g # Package should show up in list npm ls -g ``` Publish a package to NPM: ```bash # Inside the root directory of the package npm publish ```