{
  "name": "gleipnir-publish",
  "version": "1.0.0",
  "description": "Gleipnir module that manages publishing of messages",
  "main": "src/index.js",
  "scripts": {
    "pretest": "npm run lint",
    "lint": "eslint .",
    "test": "istanbul cover _mocha"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/rexxars/gleipnir-publish.git"
  },
  "keywords": [
    "gleipnir",
    "amqp",
    "publish",
    "queue",
    "messaging"
  ],
  "author": "Espen Hovlandsdal <espen@hovlandsdal.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/rexxars/gleipnir-publish/issues"
  },
  "homepage": "https://github.com/rexxars/gleipnir-publish#readme",
  "devDependencies": {
    "eslint": "^1.8.0",
    "eslint-config-vaffel": "^3.0.0",
    "istanbul": "^0.4.0",
    "mocha": "^2.3.3",
    "sinon": "^1.17.2"
  },
  "dependencies": {
    "lodash.assign": "^3.2.0",
    "lodash.omit": "^3.1.0"
  }
}

{
  "name": "gleipnir-publish",
  "version": "1.0.0",
  "description": "Gleipnir module that manages publishing of messages",
  "main": "src/index.js",
  "scripts": {
    "pretest": "npm run lint",
    "lint": "eslint .",
    "test": "istanbul cover _mocha",
    "prepublish": "npm prune && npm test"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/rexxars/gleipnir-publish.git"
  },
  "keywords": [
    "gleipnir",
    "amqp",
    "publish",
    "queue",
    "messaging"
  ],
  "author": "Espen Hovlandsdal <espen@hovlandsdal.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/rexxars/gleipnir-publish/issues"
  },
  "homepage": "https://github.com/rexxars/gleipnir-publish#readme",
  "devDependencies": {
    "eslint": "^1.8.0",
    "eslint-config-vaffel": "^3.0.0",
    "istanbul": "^0.4.0",
    "mocha": "^2.3.3",
    "sinon": "^1.17.2"
  },
  "dependencies": {
    "lodash.assign": "^3.2.0",
    "lodash.omit": "^3.1.0"
  }
}

Add prune/test as prepublish step
Add prune/test as prepublish step
