@convex-dev/workpool
Version:
A Convex component for managing async work.
88 lines (87 loc) • 2.92 kB
JSON
{
"name": "@convex-dev/workpool",
"description": "A Convex component for managing async work.",
"repository": "github:get-convex/workpool",
"homepage": "https://github.com/get-convex/workpool#readme",
"bugs": {
"email": "support@convex.dev",
"url": "https://github.com/get-convex/workpool/issues"
},
"version": "0.2.17",
"license": "Apache-2.0",
"keywords": [
"convex",
"queue",
"pool",
"component",
"async",
"work"
],
"type": "module",
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc --project ./esm.json && echo '{\\n \"type\": \"module\"\\n}' > dist/esm/package.json",
"build:cjs": "tsc --project ./commonjs.json && echo '{\\n \"type\": \"commonjs\"\\n}' > dist/commonjs/package.json",
"dev": "cd example; npm run dev",
"typecheck": "tsc --noEmit",
"lint": "tsc --noEmit && eslint . && prettier --check .",
"format": "prettier --write .",
"test": "vitest run",
"test:watch": "vitest",
"test:debug": "vitest --inspect-brk --no-file-parallelism",
"test:coverage": "vitest run --coverage --coverage.reporter=text",
"alpha": "rm -rf dist && npm run build && npm run test && npm version prerelease --preid alpha && npm publish --tag alpha && git push --tags",
"release": "rm -rf dist && npm run build && npm run test && npm version patch && npm publish && git push --tags && git push",
"prepare": "npm run build",
"prepack": "node node10stubs.mjs",
"postpack": "node node10stubs.mjs --cleanup"
},
"files": [
"dist",
"src",
"react"
],
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@convex-dev/component-source": "./src/client/index.ts",
"types": "./dist/esm/client/index.d.ts",
"default": "./dist/esm/client/index.js"
},
"require": {
"@convex-dev/component-source": "./src/client/index.ts",
"types": "./dist/commonjs/client/index.d.ts",
"default": "./dist/commonjs/client/index.js"
}
},
"./convex.config": {
"import": {
"@convex-dev/component-source": "./src/component/convex.config.ts",
"types": "./dist/esm/component/convex.config.d.ts",
"default": "./dist/esm/component/convex.config.js"
}
}
},
"peerDependencies": {
"convex": ">=1.25.0 <1.35.0",
"convex-helpers": "^0.1.94"
},
"devDependencies": {
"@edge-runtime/vm": "5.0.0",
"@eslint/js": "9.31.0",
"@types/node": "22.16.3",
"@vitest/coverage-v8": "3.2.4",
"convex-test": "0.0.38",
"eslint": "9.31.0",
"globals": "16.3.0",
"pkg-pr-new": "0.0.54",
"prettier": "3.6.2",
"typescript": "5.8.3",
"typescript-eslint": "8.36.0",
"vitest": "3.2.4"
},
"main": "./dist/commonjs/client/index.js",
"types": "./dist/commonjs/client/index.d.ts",
"module": "./dist/esm/client/index.js"
}