UNPKG

@useflow/react

Version:

Type-safe, declarative multi-step flows for React

77 lines (76 loc) 1.75 kB
{ "name": "@useflow/react", "version": "0.2.0", "description": "Type-safe, declarative multi-step flows for React", "author": "Brian Cheung <bcheung.dev@gmail.com> (https://github.com/bcheung)", "license": "MIT", "homepage": "https://docs.useflow.sh", "repository": { "type": "git", "url": "https://github.com/useflow-sh/useflow.git", "directory": "packages/react" }, "bugs": { "url": "https://github.com/useflow-sh/useflow/issues" }, "keywords": [ "useflow", "react", "flow", "multi-step", "wizard", "stepper", "onboarding", "checkout", "survey", "typescript", "state-machine", "form", "navigation", "analytics" ], "publishConfig": { "access": "public" }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" } }, "type": "module", "sideEffects": false, "scripts": { "build": "tsdown", "typecheck": "tsc --noEmit", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "test:ui": "vitest --ui", "clean": "rm -rf node_modules dist .turbo" }, "dependencies": { "@useflow/core": "0.2.0" }, "devDependencies": { "tsdown": "^0.15.5", "@types/react": "~19.1.10", "@vitest/ui": "^3.2.4", "@vitest/coverage-v8": "^3.2.4", "vitest": "^3.2.4", "@testing-library/react": "^16.1.0", "@testing-library/jest-dom": "^6.6.3", "jsdom": "^26.0.0" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "typescript": "^5" } }