Skip to content

Instantly share code, notes, and snippets.

@fetchTe
Created September 26, 2016 03:28
Show Gist options
  • Select an option

  • Save fetchTe/02c36318ff664505f0582ccc52dd8737 to your computer and use it in GitHub Desktop.

Select an option

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 <you.name@example.org>",
"license": "MIT",
"contributors": [{
"name": "Foo Bar",
"email": "foo.bar@example.com"
}],
"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