inadarei/fakepromise

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "fakepromise",
  "version": "1.0.6",
  "description": "On-demand fake promise that can take arbitrary time and return predefined result",
  "main": "src/fakepromise.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/inadarei/fakepromise.git"
  },
  "keywords": [
    "promise",
    "test"
  ],
  "author": "Irakli Nadareishvili",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/inadarei/fakepromise/issues"
  },
  "homepage": "https://github.com/inadarei/fakepromise#readme",
  "devDependencies": {
    "ava": "^3.5.0",
    "eslint": "^6.8.0",
    "nyc": "^15.0.0"
  },
  "scripts": {
    "lint": "eslint src test",
    "test": "npm run lint && nyc --check-coverage ava test/**/*.js --verbose",
    "test:watch": "ava test/**/*.js --verbose --watch",
    "test-cov": "nyc report test/"
  },
  "nyc": {
    "check-coverage": true,
    "per-file": true,
    "lines": [
      75,
      95
    ],
    "statements": [
      75,
      95
    ],
    "functions": [
      75,
      95
    ],
    "branches": [
      75,
      95
    ],
    "include": [
      "src/**/*.js"
    ],
    "reporter": [
      "text-summary",
      "lcov",
      "clover",
      "html"
    ],
    "all": true,
    "report-dir": "./coverage"
  }
}