UNPKG

react-rv

Version:

react-rv is a lightweight and efficient state management library for React that allows you to create reactive variables and subscribe to them with minimal overhead.

70 lines 1.9 kB
{ "name": "react-rv", "version": "0.4.0", "description": "react-rv is a lightweight and efficient state management library for React that allows you to create reactive variables and subscribe to them with minimal overhead.", "files": [ "dist" ], "exports": { ".": { "types": "./dist/index.d.ts", "node": "./dist/index.cjs", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "keywords": [ "react", "reactive", "state", "state manager", "reactive state", "rv" ], "author": "rasulomaroff", "license": "MIT", "type": "module", "repository": { "type": "git", "url": "git+https://github.com/rasulomaroff/react-rv.git" }, "bugs": { "url": "https://github.com/rasulomaroff/react-rv/issues" }, "homepage": "https://rasulomaroff.github.io/react-rv/", "devDependencies": { "@eslint/js": "^9.22.0", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.2.0", "@types/react": "^19.0.10", "@types/use-sync-external-store": "^0.0.6", "@vitest/coverage-v8": "3.0.8", "eslint": "^9.22.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-prettier": "^5.2.3", "globals": "^16.0.0", "happy-dom": "^17.4.4", "jiti": "^2.4.2", "prettier": "^3.5.3", "react": "^19.0.0", "tsup": "^8.4.0", "typedoc": "^0.28.1", "typescript": "^5.8.2", "typescript-eslint": "^8.26.1", "vitest": "^3.0.8" }, "peerDependencies": { "react": ">=16.8.0" }, "dependencies": { "use-sync-external-store": "^1.4.0" }, "scripts": { "spec": "pnpm exec vitest run --typecheck", "coverage": "pnpm exec vitest run --typecheck --coverage", "doc": "pnpm exec typedoc ./src/index.ts", "lint:check": "pnpm exec eslint .", "type:check": "pnpm exec tsc --build --noEmit", "build": "pnpm exec tsup" } }