This is the documentation.
Last active
July 2, 2017 12:17
-
-
Save enil/4715ad3bde15edecd5864d2cd2b4ffe3 to your computer and use it in GitHub Desktop.
Trying to publish an NPM project through gist
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
exports.hello = function hello() { | |
return 'Hello gist!'; | |
}; | |
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": "4715ad3bde15edecd5864d2cd2b4ffe3", | |
"version": "1.0.0", | |
"description": "This is the documentation.", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"repository": { | |
"type": "git", | |
"url": "git+ssh://git@gist.github.com/4715ad3bde15edecd5864d2cd2b4ffe3.git" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC", | |
"bugs": { | |
"url": "https://gist.github.com/4715ad3bde15edecd5864d2cd2b4ffe3" | |
}, | |
"homepage": "https://gist.github.com/4715ad3bde15edecd5864d2cd2b4ffe3" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install with
npm install -S gist:4715ad3bde15edecd5864d2cd2b4ffe3
.Not very pretty, but effective ;)