Simple package.json file for NPM
Below is a very basic package.json file for a small node.js application I whipped up. It can be used as a boilerplate for new applications.
{
"name": "json-lint-express",
"preferGlobal": true,
"version": "0.0.1",
"author": "Cody Bonney <me@codybonney.com>",
"description": "a simple web server that lints json strings",
"license": "MIT",
"engines": {
"node": ">=0.10"
},
"scripts": {
"start": "node ./app.js"
},
"dependencies": {
"express": "~3.4.7",
"json-lint": "~0.1.0"
}
}