actor-kit
Version:
Actor Kit is a library for running state machines in Cloudflare Workers, leveraging XState for robust state management. It provides a framework for managing the logic, lifecycle, persistence, synchronization, and access control of actors in a distributed
85 lines (84 loc) • 1.98 kB
JSON
{
"name": "actor-kit",
"version": "0.51.0",
"main": "./src/index.ts",
"module": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./browser": {
"types": "./dist/browser.d.ts",
"import": "./dist/browser.js"
},
"./server": {
"types": "./src/server.ts",
"import": "./src/server.ts"
},
"./react": {
"types": "./dist/react.d.ts",
"import": "./dist/react.js"
},
"./storybook": {
"types": "./src/storybook.ts",
"import": "./src/storybook.ts"
},
"./test": {
"types": "./src/test.ts",
"import": "./src/test.ts"
},
"./worker": {
"types": "./src/worker.ts",
"import": "./src/worker.ts"
}
},
"files": [
"src",
"dist"
],
"scripts": {
"build": "rollup -c --bundleConfigAsCjs",
"prepublishOnly": "npm run build"
},
"keywords": [
"xstate",
"partykit",
"actor",
"state-machine"
],
"author": "jonmumm",
"license": "ISC",
"peerDependencies": {
"@cloudflare/workers-types": "^4.20240925.0",
"react": "^17.0.0 || ^18.0.0",
"xstate": "^5.18.0",
"zod": "^3.23.0"
},
"dependencies": {
"cloudflare": "^3.5.0",
"fast-json-patch": "^3.1.1",
"immer": "^10.1.1",
"jose": "^5.8.0",
"xstate-migrate": "^0.0.5"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240925.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-terser": "^0.4.4",
"@storybook/react": "^8.4.2",
"@types/node": "^22.7.4",
"@types/react": "^18.3.9",
"@types/use-sync-external-store": "^0.0.6",
"react": "^18.3.1",
"rollup": "^4.24.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-preserve-directives": "^0.4.0",
"rollup-plugin-typescript2": "^0.36.0",
"typescript": "^5.6.2",
"xstate": "^5.18.2",
"zod": "^3.23.8"
},
"type": "module"
}