@convex-dev/workflow
Version:
Convex component for durably executing workflows.
99 lines (98 loc) • 3.56 kB
JSON
{
"name": "@convex-dev/workflow",
"version": "0.4.4",
"description": "Convex component for durably executing workflows.",
"keywords": [
"convex",
"workflow",
"durable-execution"
],
"homepage": "https://github.com/get-convex/workflow",
"repository": "github:get-convex/workflow",
"bugs": "https://github.com/get-convex/workflow/issues",
"license": "Apache-2.0",
"type": "module",
"scripts": {
"dev": "run-p -r 'dev:*'",
"dev:backend": "convex dev --typecheck-components",
"dev:frontend": "cd example && vite --clearScreen false",
"dev:build": "chokidar 'tsconfig*.json' 'src/**/*.ts' -i '**/*.test.ts' -c 'npm run build:codegen' --initial",
"predev": "convex init && (path-exists dist || npm run build)",
"build": "tsc --project ./tsconfig.build.json",
"build:codegen": "npx convex codegen --component-dir ./src/component && npm run build",
"build:clean": "rm -rf dist *.tsbuildinfo && npm run build:codegen",
"typecheck": "tsc --noEmit && tsc -p example/convex",
"lint": "eslint .",
"format": "prettier -w .",
"all": "run-p -r 'dev:*' 'test:watch'",
"test": "vitest run --typecheck",
"test:watch": "vitest --typecheck --clearScreen false",
"test:debug": "vitest --inspect-brk --no-file-parallelism",
"test:coverage": "vitest run --coverage --coverage.reporter=text",
"test:e2e": "convex dev --once && node ./example/e2e.mjs",
"preversion": "npm ci && npm run build:clean && run-p test lint typecheck test:e2e",
"alpha": "npm version prerelease --preid alpha && npm publish --tag alpha && git push --follow-tags",
"release": "npm version patch && npm publish && git push --follow-tags",
"version": "(npm whoami || npm login) && vim -c 'normal o' -c 'normal o## '$npm_package_version CHANGELOG.md && prettier -w CHANGELOG.md && git add CHANGELOG.md"
},
"files": [
"dist",
"src"
],
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.js"
},
"./test": "./src/test.ts",
"./_generated/component.js": {
"types": "./dist/component/_generated/component.d.ts"
},
"./convex.config": {
"types": "./dist/component/convex.config.d.ts",
"default": "./dist/component/convex.config.js"
},
"./convex.config.js": {
"types": "./dist/component/convex.config.d.ts",
"default": "./dist/component/convex.config.js"
}
},
"peerDependencies": {
"@convex-dev/workpool": "^0.4.4",
"convex": "^1.36.1",
"convex-helpers": "^0.1.99"
},
"dependencies": {
"async-channel": "^0.2.0"
},
"devDependencies": {
"@convex-dev/eslint-plugin": "^2.0.0",
"@convex-dev/workpool": "0.4.7",
"@edge-runtime/vm": "5.0.0",
"@eslint/eslintrc": "3.3.5",
"@eslint/js": "9.39.4",
"@types/node": "24.12.2",
"@typescript-eslint/eslint-plugin": "8.58.2",
"@typescript-eslint/parser": "8.58.2",
"chokidar-cli": "3.0.0",
"convex": "1.41.0",
"convex-helpers": "0.1.114",
"convex-test": "0.0.52",
"cpy-cli": "7.0.0",
"eslint": "9.39.4",
"eslint-plugin-react-hooks": "7.0.1",
"eslint-plugin-react-refresh": "0.5.2",
"globals": "17.5.0",
"npm-run-all2": "9.0.0",
"openai": "6.34.0",
"path-exists-cli": "2.0.0",
"pkg-pr-new": "0.0.66",
"prettier": "3.8.3",
"typescript": "5.9.3",
"typescript-eslint": "8.58.2",
"vitest": "4.1.4"
},
"types": "./dist/client/index.d.ts",
"module": "./dist/client/index.js"
}