diff --git a/README.md b/README.md index 23c787b..95a39ea 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,8 @@ APP LINK ====================================================== - - -https://www.drupal.org/sandbox/robcolburn/2289011 -[![build status](https://img.shields.io/travis/robcolburn/drupal-app_link.svg?style=flat-square)](https://travis-ci.org/robcolburn/drupal-app_link) - -github.com/robcolburn/drupal-app_link +* [Drupal.org App Link Project](https://www.drupal.org/project/app_link) +* [GitHub App Link Repo](https://github.com/robcolburn/drupal-app_link) +* [![build status](https://img.shields.io/travis/robcolburn/drupal-app_link.svg?style=flat-square)](https://travis-ci.org/robcolburn/drupal-app_link) Contents of this File ----------------------------- diff --git a/package.json b/package.json index 48c3fd0..0e8d979 100644 --- a/package.json +++ b/package.json @@ -7,13 +7,16 @@ "test": "test" }, "devDependencies": { + "eslint": "^1.0.0-rc-1", "express": "^4.13.1", + "ghooks": "^0.3.2", "lodash": "^3.10.0", "mocha": "^2.2.5", "phantom": "^0.7.2" }, "scripts": { - "test": "mocha" + "test": "mocha", + "lint": "eslint js/* test/*" }, "repository": { "type": "git", @@ -30,5 +33,11 @@ "bugs": { "url": "https://github.com/robcolburn/drupal-app_link/issues" }, - "homepage": "https://github.com/robcolburn/drupal-app_link#readme" + "homepage": "https://github.com/robcolburn/drupal-app_link#readme", + "config": { + "ghooks": { + "pre-commit": "npm run lint", + "pre-push": "npm test" + } + } }