UNPKG

@subscribe.dev/react

Version:

React hooks and components for SubscribeDev - provides context and hooks for managing AI predictions with billing and rate limiting

77 lines 1.84 kB
{ "name": "@subscribe.dev/react", "version": "0.1.19", "description": "React hooks and components for SubscribeDev - provides context and hooks for managing AI predictions with billing and rate limiting", "type": "module", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "private": false, "public": true, "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist/**/*", "README.md" ], "scripts": { "build": "rm -rf dist && vite build", "build:publish": "rm -rf dist && vite build --config vite.config.publish.ts", "dev": "vite build --watch", "test": "vitest", "typecheck": "tsc --noEmit", "lint": "eslint src/**/*.ts src/**/*.tsx", "clean": "rm -rf dist", "prepublish": "bun run build:publish" }, "dependencies": { "@subscribe.dev/client": "^0.0.111", "@tanstack/react-query": "^5.0.0", "zustand": "^4.5.0" }, "devDependencies": { "@types/node": "^20.0.0", "@types/react": "^18.0.0", "@types/semver": "^7.7.0", "react": "^18.0.0", "react-dom": "^18.0.0", "semver": "^7.7.2", "typescript": "^5.0.0", "vite-plugin-dts": "^3.6.0", "vitest": "^1.0.0" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "@tanstack/react-query": "^5.0.0" }, "peerDependenciesMeta": { "@tanstack/react-query": { "optional": true } }, "keywords": [ "react", "hooks", "context", "replicate", "ai", "machine-learning", "api-client", "typescript", "billing", "rate-limiting" ], "repository": { "type": "git", "url": "https://github.com/volter-ai/remetricate.git", "directory": "packages/react" }, "license": "MIT", "engines": { "node": ">=18" } }