UNPKG

@convex-dev/workflow

Version:

Convex component for durably executing workflows.

77 lines (76 loc) 2.56 kB
{ "name": "@convex-dev/workflow", "version": "0.2.1", "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": { "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", "typecheck": "tsc --noEmit", "test": "vitest run", "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", "prepare": "npm run build" }, "files": [ "dist", "src" ], "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-dev/workpool": "^0.2.7", "convex": ">=1.21.0 <1.25.0", "convex-helpers": "^0.1.77" }, "dependencies": { "async-channel": "^0.2.0" }, "devDependencies": { "@eslint/eslintrc": "^3.1.0", "@eslint/js": "^9.9.1", "@types/node": "^18.19.86", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", "eslint": "^8.57.0", "globals": "^15.9.0", "openai": "^4.54.0", "prettier": "3.2.5", "typescript": "~5.5.0", "typescript-eslint": "^7.0.0", "vitest": "^3.1.1" }, "main": "./dist/commonjs/client/index.js", "types": "./dist/commonjs/client/index.d.ts", "module": "./dist/esm/client/index.js" }