{
  "name": "xd-message",
  "version": "1.0.0",
  "description": "A simple cross domain messaging library",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/deHugo/xd-message.git"
  },
  "keywords": [
    "postmessage",
    "dom",
    "cross-domain"
  ],
  "author": "Daniel McQuiston <daniel.pro@dehugo.net>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/deHugo/xd-message/issues"
  },
  "homepage": "https://github.com/deHugo/xd-message#readme",
  "devDependencies": {
    "eslint": "^3.1.1"
  }
}

{
  "name": "xd-message",
  "version": "1.0.0",
  "description": "A simple cross domain messaging library",
  "main": "index.js",
  "scripts": {
    "lint-fix": "./node_modules/eslint/bin/eslint.js ./index.js --fix",
    "test": "npm run lint-fix"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/deHugo/xd-message.git"
  },
  "keywords": [
    "postmessage",
    "dom",
    "cross-domain"
  ],
  "author": "Daniel McQuiston <daniel.pro@dehugo.net>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/deHugo/xd-message/issues"
  },
  "homepage": "https://github.com/deHugo/xd-message#readme",
  "devDependencies": {
    "eslint": "^3.1.1"
  }
}

Add npm scripts for linting
Add npm scripts for linting
