@vivocha/request-retry
Version:
HTTP requests with retry, and API client utilities
107 lines (106 loc) • 3.07 kB
JSON
{
"name": "@vivocha/request-retry",
"version": "3.2.0",
"description": "HTTP requests with retry, and API client utilities",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"clean": "rimraf dist coverage .nyc_output uploads",
"clean:all": "npm run clean && rimraf node_modules",
"build": "tsc",
"build:tests": "tsc -p test",
"build:all": "npm i --package-lock && npm run build && npm run build:tests",
"commit": "git-cz",
"check-coverage": "./node_modules/.bin/nyc check-coverage ",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"watch:test": "npm t -- -w",
"test": "find ./test/ts -type f -name '*.js' -delete && npm run build:tests && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js",
"test:debug": "npm run build && tsc -p test && mocha --inspect-brk --recursive test/**/*.test.js",
"cover": "npm run build && ./node_modules/.bin/nyc --reporter=lcov --reporter=text npm t",
"semantic-release": "semantic-release",
"semantic-release-dry": "semantic-release --dry-run"
},
"repository": {
"type": "git",
"url": "https://github.com/vivocha/request-retry.git"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"author": "Vivocha Development Team <dev@vivocha.com> (https://www.vivocha.com)",
"license": "MIT",
"keywords": [
"API Client",
"HTTP requests",
"HTTP Client"
],
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/chai": "^4.2.10",
"@types/chai-as-promised": "7.1.2",
"@types/chai-spies": "^1.0.1",
"@types/mocha": "^7.0.2",
"@types/multer": "^1.4.2",
"@types/node": "^12.12.24",
"@types/request": "^2.48.4",
"@types/request-promise-native": "^1.0.17",
"body-parser": "^1.19.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-spies": "^1.0.0",
"commitizen": "^4.0.3",
"coveralls": "^3.0.9",
"cz-conventional-changelog": "^3.1.0",
"express": "^4.17.1",
"husky": "^4.2.3",
"mocha": "^7.1.0",
"mochawesome": "^5.0.0",
"multer": "^1.4.2",
"nyc": "^15.0.0",
"pem-promise": "^1.0.0",
"rimraf": "^3.0.2",
"semantic-release": "^17.0.4",
"typescript": "^4.7.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"debuggo": "^1.2.0",
"request": "^2.88.2",
"request-promise-native": "1.0.8"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npm run build && npm run cover && npm run check-coverage"
}
},
"nyc": {
"lines": 90,
"statements": 90,
"functions": 80,
"branches": 80,
"include": [
"dist/**/*.js",
"src/**/*.ts"
],
"extension": [
".js",
".ts"
],
"exclude": [
"**/test"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": true
}
}