AkashBabu/supervised-emitter

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "supervised-emitter",
  "version": "1.0.0",
  "description": "A event emitter library that supports middleware functionality which can be used to supervise the events flow in the system / application.",
  "sideEffects": false,
  "main": "lib/supervisedEmitter.js",
  "unpkg": "dist/supervisedEmitter.js",
  "module": "es/supervisedEmitter.js",
  "typings": "types/src/supervisedEmitter.d.ts",
  "scripts": {
    "_test": "cross-env TS_NODE_FILES=true mocha --require ts-node/register test/**/*.spec.ts test/*.spec.ts",
    "_test:exit": "npm run _test -- --exit",
    "test": "cross-env NODE_ENV=test npm run _test:exit",
    "test:dev": "cross-env NODE_ENV=test npm run _test -- -w",
    "test:grep": "cross-env NODE_ENV=test npm run _test -- -g ",
    "coverage": "nyc npm run test",
    "build:rollup": "rollup -c",
    "build:tsc": "tsc",
    "build": "npm run build:tsc && npm run build:rollup",
    "lint:fix": "tslint --fix --config tslint.json src/supervisedEmitter.ts",
    "lint": "tslint --config tslint.json src/supervisedEmitter.ts",
    "benchmark:clean": "node benchmark/clean.js",
    "benchmark:report": "radargun benchmark/**/*.bench.js",
    "benchmark:template": "node benchmark/template.js",
    "benchmark": "run-s build benchmark:clean benchmark:report benchmark:template",
    "status": "git status",
    "coveralls": "npm run coverage && nyc report --reporter=text-lcov | coveralls",
    "load": "cross-env TS_NODE_FILES=true mocha --require ts-node/register load/**/*.ts",
    "tsdoc": "typedoc --plugin typedoc-plugin-markdown --theme markdown --hideSources src/supervisedEmitter.ts typings/",
    "clean": "rimraf types build coverage .nyc_output",
    "gitbook:pre": "gitbook install",
    "gitbook:serve": "npm run gitbook:pre && gitbook serve",
    "gitbook:gen-api-summary": "book sm -r gitbook/apidocs -o gitbook/API_SUMMARY.md",
    "gitbook:cp-api-summary-to-summary": "node scripts/copyAPISummaryToSummary.js",
    "gitbook:api-summary": "run-s gitbook:gen-api-summary gitbook:cp-api-summary-to-summary",
    "gitbook:build": "run-s gitbook:api-summary gitbook:pre && gitbook build && rimraf docs && cp -R _book ./docs/",
    "update-docs": "run-s benchmark tsdoc gitbook:build",
    "pack": "npm run build && npm pack",
    "commit": "git-cz"
  },
  "engines": {
    "node": ">=8"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/AkashBabu/supervised-emitter.git"
  },
  "keywords": [
    "event",
    "emitter",
    "scalable",
    "middleware",
    "glob",
    "pattern",
    "state"
  ],
  "author": "001akashbabu@gmail.com",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/AkashBabu/supervised-emitter/issues"
  },
  "homepage": "https://github.com/AkashBabu/supervised-emitter#readme",
  "husky": {
    "hooks": {
      "pre-commit": "run-s clean lint:fix test build:tsc benchmark tsdoc update-docs status",
      "pre-push": "run-s coverage load build:rollup status"
    }
  },
  "nyc": {
    "extension": [
      ".ts"
    ],
    "exclude": [
      "**/*.d.ts"
    ],
    "include": [
      "src/**/*"
    ]
  },
  "devDependencies": {
    "@babel/core": "^7.7.7",
    "@babel/plugin-transform-runtime": "^7.7.6",
    "@babel/preset-env": "^7.7.1",
    "@babel/preset-typescript": "^7.7.2",
    "@babel/runtime": "^7.7.7",
    "@rollup/plugin-replace": "^2.2.1",
    "@types/chai": "^4.2.3",
    "@types/mocha": "^5.2.7",
    "@types/node": "^12.7.12",
    "chai": "^4.1.2",
    "cli-progress": "^3.3.1",
    "commitizen": "^4.0.3",
    "coveralls": "^3.0.6",
    "cross-env": "^6.0.0",
    "cz-conventional-changelog": "^3.0.2",
    "delay": "^4.3.0",
    "ejs": "^3.0.1",
    "gitbook-cli": "^2.3.2",
    "gitbook-plugin-ga": "^1.0.1",
    "gitbook-summary": "^1.2.2",
    "glob-fs": "^0.1.7",
    "husky": "^3.1.0",
    "mocha": "^5.2.0",
    "npm-run-all": "^4.1.5",
    "nyc": "^12.0.2",
    "radargun": "^1.0.1",
    "rimraf": "^2.6.2",
    "rollup": "^1.26.5",
    "rollup-plugin-babel": "^4.3.3",
    "rollup-plugin-commonjs": "^10.1.0",
    "rollup-plugin-node-builtins": "^2.1.2",
    "rollup-plugin-node-resolve": "^5.2.0",
    "rollup-plugin-terser": "^5.1.2",
    "rollup-plugin-typescript2": "^0.25.2",
    "source-map-support": "^0.5.13",
    "ts-node": "^8.0.2",
    "tslint": "^5.20.0",
    "typedoc": "^0.15.0",
    "typedoc-plugin-markdown": "^2.2.11",
    "typescript": "^3.6.4"
  },
  "dependencies": {
    "@akashbabu/lfu-cache": "^1.0.1",
    "@akashbabu/node-dll": "^2.0.2"
  },
  "npmName": "supervised-emitter",
  "npmFileMap": [
    {
      "basePath": "/dist/",
      "files": [
        "*.js"
      ]
    }
  ],
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  }
}