{
  "name": "node-package-template",
  "version": "1.0.0",
  "description": "Basic template for starting a new node package",
  "main": "lib/index.js",
  "scripts": {
    "test": "lab -c -t 100 -r console -o stdout -r html -o coverage/coverage.html test/unit",
    "coverage": "lab -r html -o coverage/coverage.html test/unit && open coverage/coverage.html",
    "lint": "eslint ."
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/briandela/node-package-template.git"
  },
  "author": "Brian Delahunty <brian@briandela.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/briandela/node-package-template/issues"
  },
  "homepage": "https://github.com/briandela/node-package-template#readme",
  "pre-commit": [
    "lint",
    "test"
  ],
  "devDependencies": {
    "code": "4.0.0",
    "eslint": "3.10.2",
    "eslint-config-hapi": "10.0.0",
    "lab": "11.2.1",
    "pre-commit": "1.1.3"
  }
}

{
  "name": "node-package-template",
  "version": "1.0.0",
  "description": "Basic template for starting a new node package",
  "main": "lib/index.js",
  "scripts": {
    "test": "lab -c -t 100 -r console -o stdout -r html -o coverage/coverage.html test/unit",
    "coverage": "lab -r html -o coverage/coverage.html test/unit && open coverage/coverage.html",
    "lint": "eslint .",
    "pre-commit": "npm run lint && npm test"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/briandela/node-package-template.git"
  },
  "author": "Brian Delahunty <brian@briandela.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/briandela/node-package-template/issues"
  },
  "homepage": "https://github.com/briandela/node-package-template#readme",
  "pre-commit": [
    "pre-commit"
  ],
  "devDependencies": {
    "code": "4.0.0",
    "eslint": "3.10.2",
    "eslint-config-hapi": "10.0.0",
    "lab": "11.2.1",
    "pre-commit": "1.1.3"
  }
}

Add command to run pre-commit directly
Add command to run pre-commit directly
