shybyte/binary-search-by

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "binary-search-by",
  "version": "0.3.0",
  "description": "Search in sorted arrays fast and comfortable by a selector",
  "homepage": "https://github.com/shybyte/binary-search-by",
  "repository": "https://github.com/shybyte/binary-search-by",
  "main": "dist/src/index.js",
  "types": "dist/src/index.d.ts",
  "scripts": {
    "build": "tsc",
    "clean": "rimraf dist tmp",
    "test": "run-s test:*",
    "test:lint": "eslint src/*.ts test/*.ts -f visualstudio",
    "test:jest": "jest",
    "test:markdown": "run-s build markdownDoctest",
    "test:mutation": "stryker run",
    "fix:lint": "eslint --fix src/*.ts test/*.ts -f visualstudio",
    "prepublishOnly": "run-s clean test build",
    "markdownDoctest": "markdown-doctest"
  },
  "files": [
    "dist/src"
  ],
  "author": "Marco Stahl",
  "license": "MIT",
  "devDependencies": {
    "@stryker-mutator/core": "^2.1.0",
    "@stryker-mutator/html-reporter": "^2.1.0",
    "@stryker-mutator/jest-runner": "^2.1.0",
    "@stryker-mutator/typescript": "^2.1.0",
    "@types/jest": "^24.0.18",
    "@types/ramda": "^0.26.31",
    "@typescript-eslint/eslint-plugin": "^2.3.3",
    "@typescript-eslint/parser": "^2.3.3",
    "eslint": "^6.5.1",
    "eslint-config-prettier": "^6.4.0",
    "eslint-plugin-prettier": "^3.1.1",
    "fast-check": "^1.17.0",
    "jest": "^24.9.0",
    "markdown-doctest": "^1.0.0",
    "npm-run-all": "^4.1.5",
    "prettier": "^1.18.2",
    "ramda": "^0.26.1",
    "rimraf": "^3.0.0",
    "ts-jest": "^24.1.0",
    "typescript": "^3.6.4"
  },
  "prettier": {
    "singleQuote": true
  },
  "jest": {
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    },
    "collectCoverage": true,
    "collectCoverageFrom": [
      "src/*"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 100,
        "functions": 100,
        "statements": 100,
        "lines": 100
      }
    },
    "coverageDirectory": "tmp/reports/coverage"
  }
}