Raiondesu/eventhoven

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "eventhoven",
  "version": "1.0.0",
  "sideEffects": false,
  "description": "Event manager that composes events effortlessly 🎵",
  "main": "dist/js",
  "module": "dist/es",
  "unpkg": "dist/es",
  "typings": "src",
  "files": [
    "dist",
    "src",
    "LICENSE",
    "tsconfig.json",
    "tslint.json",
    "README.md"
  ],
  "keywords": [
    "event manager",
    "event",
    "events",
    "event composer",
    "emitter",
    "event-manager",
    "tree-shakeable",
    "side-effect-free",
    "functional",
    "pure",
    "TypeScript",
    "compose",
    "typings",
    "event emitter",
    "emitter",
    "subscriber",
    "producer-consumer",
    "Node",
    "Browser",
    "for node",
    "for browser",
    "TS"
  ],
  "dependencies": {},
  "devDependencies": {
    "@kazanexpress/tslint": "^1.0.5",
    "@types/jest": "^24.0.18",
    "@types/lodash.clonedeep": "^4.5.6",
    "@types/node": "^12.11.7",
    "@zoltu/typescript-transformer-append-js-extension": "^1.0.1",
    "bili": "^4.8.1",
    "coveralls": "^3.0.7",
    "jest": "^24.9.0",
    "lodash.clonedeep": "^4.5.0",
    "madge": "^3.5.0",
    "rollup-plugin-typescript2": "^0.24.3",
    "ts-jest": "^24.1.0",
    "tslint": "^5.20.0",
    "ttypescript": "^1.5.7",
    "typescript": "^3.6.4"
  },
  "scripts": {
    "test": "jest -i",
    "build:js": "ttsc --outDir dist/js -t ES2015",
    "build:es": "ttsc --outDir dist/es -t ES2015 --module esnext",
    "build:next": "ttsc --outDir dist/esnext --module esnext",
    "build:umd": "bili",
    "build": "npm run checks && npm run build:js && npm run build:es && npm run build:next && npm run build:umd",
    "dev": "tsc --noEmit -w",
    "coverage": "cat ./coverage/lcov.info | coveralls",
    "checks": "madge --circular --extensions ts src/index.ts",
    "commit-build": "(git diff --quiet && git diff --staged --quiet) || (git commit -am \"Update dist\")",
    "preversion": "npm t && npm run build && npm run commit-build",
    "prerelease": "npm version prerelease --preid=rc && npm publish --tag next && git push",
    "pre-minor": "npm version preminor --preid=rc && npm publish --tag next && git push",
    "pre-major": "npm version premajor --preid=rc && npm publish --tag next && git push",
    "patch": "npm version patch && npm publish && git push",
    "minor": "npm version minor && npm publish && git push",
    "major": "npm version major && npm publish && git push"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Raiondesu/eventhoven.git"
  },
  "author": "Raiondesu",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/Raiondesu/eventhoven/issues"
  },
  "homepage": "https://github.com/Raiondesu/eventhoven#readme",
  "jest": {
    "preset": "ts-jest",
    "verbose": true,
    "coverageReporters": [
      "lcov",
      "text"
    ],
    "coveragePathIgnorePatterns": [
      "/node_modules/",
      "/tests?/",
      "/dist/"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 90,
        "functions": 100,
        "lines": 100,
        "statements": 100
      }
    },
    "collectCoverage": true
  }
}