UNPKG

retry-promise

Version:

Small utility function that automatically retries Promises.

55 lines (54 loc) 1.77 kB
{ "name": "retry-promise", "version": "1.0.0", "description": "Small utility function that automatically retries Promises.", "main": "./lib", "scripts": { "lint": "eslint ./src ./test", "build": "babel ./src --out-dir ./lib --copy-files", "clean": "rimraf ./lib", "pretest": "npm run lint", "test": "babel-node test/*.js", "preversion": "npm test && npm run changelog", "version:auto": "npm version $(conventional-recommended-bump --preset=angular)", "postversion": "git push && git push --tags", "release": "npm run version:auto && npm publish", "prepublish": "npm run build", "changelog:generate": "conventional-changelog -p angular -i CHANGELOG.md -w", "changelog:commit": "git add CHANGELOG.md && git commit -m \"chore(changelog): auto generate changelog\"", "changelog": "npm run changelog:generate && npm run changelog:commit" }, "repository": { "type": "git", "url": "ssh://git@github.com/olalonde/retry-promise.git" }, "keywords": [ "bluebird", "promise", "retry" ], "author": "Olivier Lalonde <olalonde@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/olalonde/retry-promise/issues" }, "config": { "commitizen": { "path": "node_modules/cz-conventional-changelog/" } }, "homepage": "https://github.com/olalonde/retry-promise", "dependencies": {}, "devDependencies": { "babel-cli": "^6.1.18", "babel-eslint": "^4.1.5", "babel-preset-es2015": "^6.1.18", "blue-tape": "^0.1.10", "conventional-changelog": "^0.5.1", "conventional-recommended-bump": "0.0.3", "cz-conventional-changelog": "^1.1.4", "eslint": "^1.9.0", "eslint-config-airbnb": "^1.0.0", "rimraf": "^2.4.3" } }