devlato/waitUntil

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "async-wait-until",
  "version": "2.0.12",
  "description": "Waits for a given predicate callback to return a truthy value and resolves",
  "main": "dist/index.js",
  "module": "dist/index.esm.js",
  "types": "dist/index.d.ts",
  "scripts": {
    "lint-staged": "lint-staged",
    "prepare": "husky install",
    "spellcheck": "cross-env NODE_ENV=production write-good *.md",
    "lint": "cross-env NODE_ENV=production eslint -c .eslintrc.js .",
    "lint:clean": "cross-env NODE_ENV=production rimraf lint",
    "test": "cross-env NODE_ENV=test jest --config=jest.config.unit.js",
    "test:integration": "cross-env NODE_ENV=test jest --config=jest.config.integration.js",
    "test:clean": "cross-env NODE_ENV=production rimraf coverage",
    "build": "cross-env NODE_ENV=production rollup -c rollup.config.js",
    "build:clean": "cross-env NODE_ENV=production rimraf dist",
    "docs": "cross-env NODE_ENV=production typedoc",
    "docs:view": "npm run docs && serve -p 3000 docs",
    "docs:clean": "cross-env NODE_ENV=production rimraf docs",
    "lint:ci": "npm run lint:clean && cross-env NODE_ENV=production eslint -c .eslintrc.js -o lint/report.log .",
    "test:ci": "npm run test:clean && npm run test",
    "test:integration:ci": "npm run test:clean && npm run test:integration",
    "build:ci": "npm run build:clean && npm run build",
    "docs:ci": "npm run docs:clean && npm run docs",
    "format": "cross-env NODE_ENV=production eslint -c .eslintrc.js --fix .",
    "clean": "npm run lint:clean & npm run test:clean & npm run build:clean & npm run docs:clean & wait",
    "release": "npm run lint:ci && npm run test:ci && npm run build:ci && npm run test:integration && npm run docs:ci",
    "prepublishOnly": "npm run clean && npm run release"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/devlato/async-wait-until.git"
  },
  "lint-staged": {
    "./**/*.{ts,js,json}": [
      "cross-env NODE_ENV=production eslint -c ./.eslintrc.js --fix",
      "cross-env NODE_ENV=test jest —-bail --color --findRelatedTests --coverage"
    ]
  },
  "keywords": [
    "apply",
    "when",
    "async",
    "then",
    "promise",
    "wait",
    "timeout",
    "interval",
    "until",
    "for",
    "while",
    "predicate",
    "resolve",
    "reject"
  ],
  "author": "devlato <npm@devlato.com> (https://devlato.com/)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/devlato/async-wait-until/issues"
  },
  "homepage": "https://github.com/devlato/async-wait-until#readme",
  "files": ["package.json", "README.md", "LICENSE", "dist/*.js", "dist/*.d.ts"],
  "devDependencies": {
    "@babel/core": "^7.16.0",
    "@babel/preset-env": "^7.16.4",
    "@rollup/plugin-commonjs": "^21.0.1",
    "@rollup/plugin-typescript": "^8.3.0",
    "@types/enzyme": "^3.10.10",
    "@types/jest": "^27.0.2",
    "@types/node": "^16.11.7",
    "@typescript-eslint/eslint-plugin": "^5.4.0",
    "@typescript-eslint/parser": "^5.4.0",
    "browser-resolve": "^2.0.0",
    "coveralls": "^3.1.1",
    "cross-env": "^7.0.3",
    "eslint": "^8.2.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-prettier": "^4.0.0",
    "husky": "^7.0.4",
    "jest": "^27.3.1",
    "lint-staged": "^12.0.2",
    "prettier": "^2.4.1",
    "rimraf": "^3.0.2",
    "rollup": "^2.60.0",
    "rollup-plugin-terser": "^7.0.2",
    "serve": "^13.0.2",
    "ts-jest": "^27.0.7",
    "ts-node": "^10.4.0",
    "tslib": "^2.3.1",
    "typedoc": "^0.22.9",
    "typescript": "^4.4.4",
    "write-good": "^1.0.8"
  },
  "engines": {
    "node": ">= 0.12.0",
    "npm": ">= 1.0.0"
  }
}