From dfbe3374830504ffb7b27dc84a8d5e3baa2d74c9 Mon Sep 17 00:00:00 2001 From: Rob Colburn Date: Thu, 16 Jul 2015 08:50:57 -0700 Subject: [PATCH] Update docs for public release --- README.md | 9 +++------ package.json | 13 +++++++++++-- 2 files changed, 14 insertions(+), 8 deletions(-) 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" + } + } }