Skip to content

Instantly share code, notes, and snippets.

@alextanhongpin
Created January 11, 2018 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alextanhongpin/60bb6c318752888dc310594d38b58743 to your computer and use it in GitHub Desktop.
Save alextanhongpin/60bb6c318752888dc310594d38b58743 to your computer and use it in GitHub Desktop.
How to "host" your npm modules on Github and refer it.
{
"name": "test-github",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "alextanhongpin <alextan@seekasia.com>",
"description": "",
"dependencies": {
"compress": "github:alextanhongpin/compress.js"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment