{
  "name": "typescript-node-starter",
  "version": "0.0.1",
  "description": "",
  "main": "build/index.js",
  "scripts": {
    "build": "tsc",
    "clean": "rimraf build",
    "dev": "nodemon --exec ./node_modules/.bin/ts-node -- ./src/index.ts",
    "lint": "./node_modules/.bin/tslint -c \"tslint.json\" -e \"node_modules/**/*\"  \"./src/**/*.ts*\"",
    "precommit-msg": "echo 'Pre-commit checks...' && exit 0",
    "postinstall": "typings install",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Loc Nguyen, lochnguyen@gmail.com",
  "license": "MIT",
  "devDependencies": {
    "chai": "^3.5.0",
    "mocha": "^3.2.0",
    "nodemon": "^1.11.0",
    "pre-commit": "^1.2.2",
    "rimraf": "^2.5.4",
    "sinon": "^1.17.7",
    "ts-node": "^2.0.0",
    "tslint": "^4.3.1",
    "tslint-microsoft-contrib": "^4.0.0",
    "typescript": "^2.1.4",
    "typings": "^2.1.0"
  }
}

{
  "name": "typescript-node-starter",
  "version": "0.0.1",
  "description": "",
  "main": "build/index.js",
  "scripts": {
    "build": "tsc",
    "clean": "rimraf build",
    "dev": "nodemon --exec ./node_modules/.bin/ts-node -- ./src/index.ts",
    "lint": "./node_modules/.bin/tslint -c \"tslint.json\" -e \"node_modules/**/*\"  \"./src/**/*.ts*\"",
    "precommit-msg": "echo 'Pre-commit checks...' && exit 0",
    "postinstall": "typings install",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "precommit": [
    "lint"
  ],
  "author": "Loc Nguyen, lochnguyen@gmail.com",
  "license": "MIT",
  "devDependencies": {
    "chai": "^3.5.0",
    "mocha": "^3.2.0",
    "nodemon": "^1.11.0",
    "pre-commit": "^1.2.2",
    "rimraf": "^2.5.4",
    "sinon": "^1.17.7",
    "ts-node": "^2.0.0",
    "tslint": "^4.3.1",
    "tslint-microsoft-contrib": "^4.0.0",
    "typescript": "^2.1.4",
    "typings": "^2.1.0"
  }
}

Add a precommit hook to lint the project
Add a precommit hook to lint the project
