Last active
March 26, 2020 16:57
-
-
Save robsonandradev/61bb8b57dcdf4a9277b2290abcd93447 to your computer and use it in GitHub Desktop.
Github npm server
This file contains 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 characters
registry=https://npm.pkg.github.com/RobsonAndraDev |
This file contains 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 characters
//npm.pkg.github.com/:_authToken=TOKEN |
This file contains 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 characters
"dependencies": { | |
"@RobsonAndraDev/npm-package-test": "^1.0.1" | |
} |
This file contains 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 characters
{ | |
"name": "@RobsonAndraDev/npm-package-test", | |
"version": "1.0.2", | |
... | |
} |
This file contains 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 characters
npm i "@RobsonAndraDev/npm-package-test" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On package.json what matters is package name using the format
@user/org/package-name
.npmrc.global is the file on user home folder
~/.npmrc
importer.package.json is the
package.json
file from app who uses this package as dependency.