UNPKG

povtor

Version:

Repeat function call depending on the previous call result and specified conditions.

77 lines (76 loc) 2.42 kB
{ "name": "povtor", "version": "1.1.0", "description": "Repeat function call depending on the previous call result and specified conditions.", "main": "dist/povtor.js", "module": "dist/povtor.m.js", "umd:main": "dist/povtor.umd.js", "types": "dist/povtor.d.ts", "scripts": { "build-cjs-es": "microbundle build src/index.ts --output dist --format cjs,es --strict --no-compress", "build-umd-min": "microbundle build src/index.ts --output dist --format umd --strict", "build": "del-cli dist && npm run build-cjs-es && npm run build-umd-min && move-file dist/src/index.d.ts dist/povtor.d.ts && del-cli dist/src", "lint": "eslint --cache --max-warnings 0 \"src/**/*.ts\"", "lint-error": "eslint --cache \"src/**/*.ts\"", "lint-all": "eslint --max-warnings 0 \"src/**/*.ts\"", "lint-all-error": "eslint \"src/**/*.ts\"", "test": "jest", "doc": "typedoc --out doc --readme README.md --gitRevision master ./src/index.ts", "check": "npm run lint && npm run test", "release": "bump patch --commit --tag --all --push package.json package-lock.json bower.json component.json", "release-minor": "bump minor --commit --tag --all --push package.json package-lock.json bower.json component.json", "release-major": "bump major --commit --tag --all --push package.json package-lock.json bower.json component.json" }, "keywords": [ "retry", "retries", "repeat", "repetition", "try", "action", "operation", "function", "call", "invoke", "invocation", "execution", "attempt", "promise", "failed", "rejected", "condition", "conditional", "delay", "timeout" ], "devDependencies": { "@types/jest": "25.1.4", "@typescript-eslint/eslint-plugin": "2.23.0", "del-cli": "3.0.0", "eslint": "6.8.0", "eslint-config-guard": "1.1.0", "husky": "4.2.3", "jest": "25.1.0", "microbundle": "0.11.0", "move-file-cli": "1.0.0", "ts-jest": "25.2.1", "typedoc": "0.16.11", "typescript": "3.8.3", "version-bump-prompt": "6.0.3" }, "homepage": "https://github.com/gamtiq/povtor", "repository": { "type": "git", "url": "git://github.com/gamtiq/povtor.git" }, "bugs": { "url": "https://github.com/gamtiq/povtor/issues" }, "author": { "name": "Denis Sikuler" }, "license": "MIT", "engines": { "npm": ">=3.0.0" } }