@convex-dev/workflow
Version:
Convex component for durably executing workflows.
84 lines (83 loc) • 3.27 kB
JSON
{
"name": "@convex-dev/workflow",
"version": "0.2.6",
"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": {
"example": "cd example && npm run dev",
"dev": "run-p -r 'example' 'build:watch'",
"dashboard": "cd example && npx convex dashboard",
"all": "run-p -r 'example' 'build:watch' 'test:watch'",
"setup": "npm i && npm run build && cd example && npm i && npx convex dev --once && printf 'VITE_CONVEX_SITE_URL=' >> .env.local && npx convex env get CONVEX_SITE_URL >> .env.local",
"build:watch": "cd src && npx chokidar -d 1000 '../tsconfig.json' '**/*.ts' -c 'npm run build' --initial",
"build": "tsc --project ./tsconfig.build.json && npm run copy:dts && echo '{\\n \"type\": \"module\"\\n}' > dist/package.json",
"copy:dts": "rsync -a --include='*/' --include='*.d.ts' --exclude='*' src/ dist/ || cpy 'src/**/*.d.ts' 'dist/' --parents",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist tsconfig.build.tsbuildinfo",
"alpha": "npm run clean && npm run build && run-p test lint typecheck && npm version prerelease --preid alpha && npm publish --tag alpha && git push --tags",
"release": "npm run clean && npm run build && run-p test lint typecheck && npm version patch && npm publish && git push --tags && git push",
"test": "vitest run --typecheck",
"test:watch": "vitest --typecheck",
"test:debug": "vitest --inspect-brk --no-file-parallelism",
"test:coverage": "vitest run --coverage --coverage.reporter=text",
"lint": "eslint src",
"version": "pbcopy <<<$npm_package_version; vim CHANGELOG.md && git add CHANGELOG.md"
},
"files": [
"dist",
"src"
],
"exports": {
"./package.json": "./package.json",
".": {
"@convex-dev/component-source": "./src/client/index.ts",
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.js"
},
"./convex.config": {
"@convex-dev/component-source": "./src/component/convex.config.ts",
"types": "./dist/component/convex.config.d.ts",
"default": "./dist/component/convex.config.js"
}
},
"peerDependencies": {
"@convex-dev/workpool": "^0.2.17",
"convex": ">=1.25.0 <1.35.0",
"convex-helpers": "^0.1.99"
},
"dependencies": {
"async-channel": "^0.2.0"
},
"devDependencies": {
"@edge-runtime/vm": "5.0.0",
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.33.0",
"@types/node": "22.17.2",
"@typescript-eslint/eslint-plugin": "8.39.1",
"@typescript-eslint/parser": "8.39.1",
"chokidar-cli": "3.0.0",
"convex-test": "0.0.38",
"cpy-cli": "6.0.0",
"eslint": "9.33.0",
"globals": "16.3.0",
"npm-run-all2": "8.0.4",
"openai": "5.12.2",
"pkg-pr-new": "0.0.55",
"prettier": "3.6.2",
"typescript": "5.9.2",
"typescript-eslint": "8.39.1",
"vitest": "3.2.4"
},
"main": "./dist/client/index.js",
"types": "./dist/client/index.d.ts",
"module": "./dist/client/index.js"
}