title: npm pre commit not working
body: <p>I am using npm precommit hook, but it is not stopping a file with issues to be committed, nor am I getting the message "Pre commit checks" when I try to commit a file.</p>
  
  <pre><code>Package Json:
  {
    "name": "myfolder",
    "version": "1.0.0",
    "description": "",
    "main": "",
    "scripts": {
      "test": "echo \"Error: no test specified\" &amp;&amp; exit 0",
      "precommit-msg": "echo 'Pre-commit checks...' &amp;&amp; exit 0",
      "lint": "csslint global/css"
    },
    "author": "SR",
    "license": "ISC",
    "dependencies": {
      "csslint": "^1.0.4",
      "jshint": "^2.9.4",
      "pre-commit": "^1.2.2"
    },
    "pre-commit": [
      "precommit-msg",
      "lint"
    ],
    "devDependencies": {
      "pre-commit": "^1.2.2"
    }
  }
  </code></pre>