Skip to content

Instantly share code, notes, and snippets.

@jreeme
Last active March 15, 2016 17:23
Show Gist options
  • Save jreeme/2ad9c12266b3e97f034c to your computer and use it in GitHub Desktop.
Save jreeme/2ad9c12266b3e97f034c to your computer and use it in GitHub Desktop.
A nodejs pkginit JSON file
{
"name": basename.replace(/^node-/, ""),
"version": "0.0.1",
"description": prompt(),
"main": prompt("entry point","index.js"),
"scripts": {
"test": "./node_modules/.bin/jasmine-node test"
},
"repository": {
"type": "git",
"url": "git://github.com/jreeme/" + basename + ".git"
},
"keywords": [
basename
],
"author": "John Reeme <john.reeme@gmail.com> (http://blue-dot.com/)",
"license": "WTFPL v2",
"bugs": {
"url": "https://github.com/jreeme/" + basename + "/issues"
},
"devDependencies": {
"jasmine-node": "^1.14.5"
},
"dependencies": {
"jsnlog": "^2.17.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment