alykoshin/express-end

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "express-end",
  "version": "0.0.8",
  "description": "Express middleware to emit 'end' event on res.end()",
  "main": "./index.js",
  "engines": {
    "node": ">=0.11"
  },
  "scripts": {
    "nsp": "nsp check",
    "_deps-check": "npm-check-updates --error-level 2",
    "_deps-update": "echo '* Updating packages versions... '; npm-check-updates -u --upgradeAll --error-level 1 && npm install",
    "_check-changes": "echo '* Checking if git directory is clean... '; bash -c '[[ -z $(git status -uno --porcelain) ]]'",
    "update-deps": "npm run _check-changes && npm run _deps-update && npm test && git commit -am 'updated deps'",
    "lint": "eslint -f unix .",
    "inspect": "jsinspect",
    "pretest": "npm run lint && npm run inspect && npm run nsp && npm run _deps-check",
    "_test": "node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- -R spec ./test/*",
    "test": "npm run _test",
    "__test": "echo \"Warning: no test specified\" && exit 0",
    "___test": "echo \"Error: no test specified\" && exit 1",
    "test-travis": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- -R spec ./test/*",
    "_commit": "git commit -am \"commit by 'npm run commit'\"",
    "_push": "git push --follow-tags",
    "commit-and-push": "npm run _commit && npm test && npm run _push",
    "_patch-release": "npm version patch && npm publish",
    "_minor-release": "npm version minor && npm publish",
    "_major-release": "npm version major && npm publish",
    "patch-release": "npm test && npm run _patch-release && npm run _push",
    "minor-release": "npm test && npm run _minor-release && npm run _push",
    "__major-release": "npm test && npm run _major-release && npm run _push",
    "coverall": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
  },
  "keywords": [
    "express,middleware,mw,emit,end,event,res,finish,close,patch"
  ],
  "author": "Alexander <alykoshin@gmail.com>",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/alykoshin/express-end.git"
  },
  "bugs": {
    "url": "https://github.com/alykoshin/express-end/issues"
  },
  "homepage": "https://github.com/alykoshin/express-end",
  "dependencies": {
    "debug": "^2.2.0"
  },
  "devDependencies": {
    "chai": "^3.5.0",
    "chai-things": "^0.2.0",
    "coveralls": "^2.11.8",
    "eslint": "^2.3.0",
    "istanbul": "^0.4.2",
    "jshint": "^2.9.1",
    "jsinspect": "^0.8.0",
    "mocha": "^2.4.5",
    "mockery": "^1.4.1",
    "sinon": "^1.17.3"
  }
}