UNPKG

promise-parallel-throttle

Version:
80 lines (79 loc) 2.54 kB
{ "name": "promise-parallel-throttle", "version": "3.5.0", "keywords": [ "promise", "async", "parallel", "throttle", "promise.all()", "sync", "synchronously" ], "description": "Run promises in parallel, but throttled", "main": "dist/lib/throttle.js", "module": "dist/lib/throttle.mjs", "types": "dist/types/throttle.d.ts", "scripts": { "prepublish": "npm run build", "test": "yarn lint && jest --coverage --no-cache", "test:watch": "jest --watch", "lint": "tslint -p ./tsconfig.json", "lint:fix": "tslint -p ./tsconfig.json --fix", "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,scss,md,graphl}\" --ignore-path .gitignore", "prebuild": "rimraf dist", "build": "tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript", "start": "rollup -c rollup.config.ts -w --configPlugin typescript", "prepare": "husky install" }, "repository": { "type": "git", "url": "git+https://github.com/DJWassink/Promise-parallel-throttle.git" }, "author": "Dirk-Jan Wassink <dirk.jan.wassink@gmail.com> (http://dirkjanwassink.nl)", "license": "MIT", "bugs": { "url": "https://github.com/DJWassink/Promise-parallel-throttle/issues" }, "homepage": "https://github.com/DJWassink/Promise-parallel-throttle#readme", "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(/tests/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] }, "lint-staged": { "*.{ts,tsx}": [ "prettier --write", "tslint -c ./tslint.json --fix" ], "*.{json,css,scss,md,graphl,js,jsx}": [ "prettier --write" ] }, "devDependencies": { "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", "@types/jest": "^29.5.12", "@types/node": "^20.11.19", "husky": "^9.0.11", "jest": "^29.7.0", "lint-staged": "^15.2.2", "prettier": "^3.2.5", "rimraf": "^5.0.5", "rollup": "^4.11.0", "ts-jest": "^29.1.2", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "tslint-eslint-rules": "^5.4.0", "typescript": "^5.3.3" } }