{
  "name": "adspeed_page_insights",
  "version": "0.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "lint": "eslint .",
    "type-check": "tsc -p .",
    "test": "mocha test/**/*.js"
  },
  "precommit": [
    "type-check",
    "lint",
    "test"
  ],
  "author": "",
  "dependencies": {
    "chrome-har": "^0.3.2",
    "chrome-launcher": "^0.10.2",
    "fs-extra": "^6.0.1",
    "lighthouse": "^3.0.0",
    "opn": "^5.3.0",
    "yargs": "^11.0.0"
  },
  "devDependencies": {
    "@types/fs-extra": "^5.0.3",
    "@types/opn": "^5.1.0",
    "chai": "^4.1.2",
    "eslint": "^4.19.1",
    "eslint-config-google": "^0.9.1",
    "mocha": "^5.1.1",
    "pre-commit": "^1.2.2",
    "sinon": "^5.0.7",
    "typescript": "^2.9.1",
    "vscode-chrome-debug-core": "3.23.8"
  }
}

{
  "name": "adspeed_page_insights",
  "version": "0.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "lint": "eslint .",
    "precommit": ".git/hooks/pre-commit",
    "test": "mocha test/**/*.js",
    "type-check": "tsc -p ."
  },
  "precommit": [
    "lint",
    "test",
    "type-check"
  ],
  "author": "",
  "dependencies": {
    "chrome-har": "^0.3.2",
    "chrome-launcher": "^0.10.2",
    "fs-extra": "^6.0.1",
    "lighthouse": "^3.0.0",
    "opn": "^5.3.0",
    "yargs": "^11.0.0"
  },
  "devDependencies": {
    "@types/fs-extra": "^5.0.3",
    "@types/opn": "^5.1.0",
    "chai": "^4.1.2",
    "eslint": "^4.19.1",
    "eslint-config-google": "^0.9.1",
    "mocha": "^5.1.1",
    "pre-commit": "^1.2.2",
    "sinon": "^5.0.7",
    "typescript": "^2.9.1",
    "vscode-chrome-debug-core": "3.23.8"
  }
}

Add script to run pre-commit hook.
Add script to run pre-commit hook.

Change-Id: I03cd0e4547101a0055c9176ef94b4d3ff784459f
