UNPKG

promise-throttle-all

Version:
127 lines (126 loc) 3.01 kB
{ "name": "promise-throttle-all", "version": "1.1.1", "license": "MIT", "author": { "name": "Robin Pokorny", "email": "me@robinpokorny.com", "url": "http://robinpokorny.com" }, "description": "Promise.all with limited concurrency", "cdn": "dist/index.umd.js", "main": "dist/index.js", "types": "dist/index.d.ts", "unpkg": "dist/index.umd.js", "module": "dist/index.esm.js", "jsdelivr": "dist/index.umd.js", "umd:main": "dist/index.umd.js", "exports": { ".": [ { "import": "./dist/index.mjs", "require": "./dist/index.cjs", "default": "./dist/index.js" }, "./dist/index.js" ] }, "files": [ "dist", "src" ], "dependencies": {}, "devDependencies": { "@types/eslint": "^8.4.2", "@types/jest": "^27.5.1", "@types/prettier": "^2.6.1", "@typescript-eslint/eslint-plugin": "^5.23.0", "@typescript-eslint/parser": "^5.23.0", "eslint": "^8.15.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^28.1.0", "prettier": "^2.6.2", "rollup": "^2.73.0", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.31.2", "ts-jest": "^28.0.2", "ts-jest-resolver": "^2.0.0", "typedoc": "^0.22.15", "typedoc-plugin-markdown": "^3.12.1", "typescript": "^4.6.4" }, "scripts": { "doc": "typedoc src/index.ts", "test": "npm run test:lint && npm run test:unit", "test:lint": "eslint \"*/**/*.{ts,js,json}\"", "test:unit": "jest", "lint": "eslint \"*/**/*.{ts,js,json}\" --fix", "build": "rollup --config ./rollup.config.js", "prepublishOnly": "npm run doc && npm run build && npm run test" }, "repository": { "type": "git", "url": "git+https://github.com/robinpokorny/promise-throttle-all.git" }, "keywords": [ "promise", "throttle", "limit", "limited", "concurrency", "rate", "batch", "ratelimit", "queue", "discard", "async", "await", "promises", "time", "out", "wip", "cancel" ], "bugs": { "url": "https://github.com/robinpokorny/promise-throttle-all/issues" }, "homepage": "https://github.com/robinpokorny/promise-throttle-all#readme", "engines": { "node": ">=12" }, "prettier": { "printWidth": 80, "semi": false, "singleQuote": true, "trailingComma": "all", "endOfLine": "auto" }, "jest": { "preset": "ts-jest", "resolver": "ts-jest-resolver" }, "eslintConfig": { "root": true, "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaFeatures": { "jsx": true }, "ecmaVersion": 2021 }, "plugins": [ "@typescript-eslint" ], "extends": [ "eslint:recommended", "plugin:prettier/recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended" ], "ignorePatterns": [ "docs/", "dist/" ] } }