Skip to content

Instantly share code, notes, and snippets.

@fetchTe
Created September 26, 2016 03:28
Show Gist options
  • Save fetchTe/02c36318ff664505f0582ccc52dd8737 to your computer and use it in GitHub Desktop.
Save fetchTe/02c36318ff664505f0582ccc52dd8737 to your computer and use it in GitHub Desktop.
Example / template for package.json
{
"name": "module-name",
"version": "0.0.1",
"description": "An example module to illustrate the usage of a package.json",
"author": "Your Name <[email protected]>",
"license": "MIT",
"contributors": [{
"name": "Foo Bar",
"email": "[email protected]"
}],
"scripts": {
"test":"echo \"Error: no test specified\" && exit 1",
"start": "node index.js",
"prepublish": "--compile"
},
"main": "lib/foo.js",
"repository": {
"type": "git",
"url": "https://github.com/[package]"
},
"bugs": {
"url": "https://github.com/[package]/issues"
},
"keywords": [
"buzz-words"
],
"dependencies": {
},
"devDependencies": {
},
"preferGlobal": false,
"private": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment