UNPKG

taskon

Version:

A simple JavaScript/TypeScript tasks queue that supports dynamic concurrency control

65 lines (64 loc) 1.92 kB
{ "name": "taskon", "version": "0.3.1", "description": "A simple JavaScript/TypeScript tasks queue that supports dynamic concurrency control", "keywords": [ "task", "queue", "taskqueue", "task-queue", "concurrent", "concurrency", "async", "asynchronous" ], "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "(rm -rf dist || true) && tsc", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:coverage:open": "jest --coverage && open coverage/lcov-report/index.html", "lint": "eslint .", "clean": "(rm -rf dist || true) && (rm -rf coverage || true) && (rm -rf yarn-error.log || true) && (rm -rf yarn.lock || true)", "clean:all": "npm run clean && (rm -rf node_modules || true)", "doc": "typedoc", "prepare": "yarn build && yarn lint && yarn test", "run-js-example": "node examples/js-example.js", "run-ts-example": "tsx examples/ts-example.ts" }, "repository": { "type": "git", "url": "git+https://github.com/shuo-s-feng/taskon.git" }, "author": "Shuo Feng", "license": "MIT", "bugs": { "url": "https://github.com/shuo-s-feng/taskon/issues" }, "homepage": "https://github.com/shuo-s-feng/taskon#readme", "devDependencies": { "@babel/preset-env": "^7.20.2", "@babel/preset-typescript": "^7.18.6", "@jest/globals": "^29.3.1", "@types/jest": "^29.2.3", "@typescript-eslint/eslint-plugin": "^5.46.0", "@typescript-eslint/parser": "^5.46.0", "eslint": "^8.0.1", "eslint-config-standard": "^17.0.0", "eslint-plugin-import": "^2.25.2", "eslint-plugin-n": "^15.0.0", "eslint-plugin-promise": "^6.0.0", "jest": "^29.2.3", "ts-node": "^10.9.1", "typedoc": "^0.25.12", "typescript": "^4.9.3" }, "optionalDependencies": { "tsx": "^4.19.2" } }