UNPKG

kosha

Version:

⚡A modern, lightweight, fast, and powerful global state management library for modern React.js projects.

118 lines (117 loc) 3.23 kB
{ "name": "kosha", "author": "Mayank Kumar Chaudhari <https://mayank-chaudhari.vercel.app>", "private": false, "version": "1.3.1", "description": "⚡A modern, lightweight, fast, and powerful global state management library for modern React.js projects. ", "license": "MPL-2.0", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "repository": "github:react18-tools/kosha", "bugs": "https://github.com/react18-tools/kosha/issues", "homepage": "https://github.com/react18-tools/kosha/#readme", "sideEffects": false, "files": [ "dist/**" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./middleware": { "types": "./dist/middleware/index.d.ts", "import": "./dist/middleware/index.mjs", "require": "./dist/middleware/index.js" }, "./dist/middleware": { "types": "./dist/middleware/index.d.ts", "import": "./dist/middleware/index.mjs", "require": "./dist/middleware/index.js" }, "./utils/test": { "types": "./dist/utils/test.d.ts", "import": "./dist/utils/test.mjs", "require": "./dist/utils/test.js" }, "./dist/utils/test": { "types": "./dist/utils/test.d.ts", "import": "./dist/utils/test.mjs", "require": "./dist/utils/test.js" } }, "scripts": { "build": "tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c", "clean": "rm -rf dist", "dev": "tsup --watch && tsc -p tsconfig-build.json -w", "typecheck": "tsc --noEmit", "lint": "eslint src/", "lint:fix": "eslint src/ --fix", "test": "vitest run --coverage" }, "devDependencies": { "@repo/eslint-config": "workspace:*", "@repo/typescript-config": "workspace:*", "@testing-library/react": "^16.3.0", "@types/node": "^24.1.0", "@types/react": "^19.1.9", "@types/react-dom": "^19.1.7", "@vitejs/plugin-react": "^4.7.0", "@vitest/coverage-v8": "^3.2.4", "esbuild-plugin-rdi": "^0.0.0", "esbuild-plugin-react18": "0.2.6", "esbuild-plugin-react18-css": "^0.0.4", "immer": "^10.1.1", "jsdom": "^26.1.0", "react": "^19.1.1", "react-dom": "^19.1.1", "tsup": "^8.5.0", "typescript": "^5.9.2", "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.2.4" }, "peerDependencies": { "@types/react": ">=18", "immer": ">=9.0.0", "react": ">=18" }, "peerDependenciesMeta": { "immer": { "optional": true } }, "funding": [ { "type": "github", "url": "https://github.com/sponsors/react18-tools" }, { "type": "github", "url": "https://github.com/sponsors/mayank1513" } ], "keywords": [ "react", "react-state-management", "global-state", "react-hooks", "useSyncExternalStore", "lightweight-state-library", "kosha", "zustand-alternative", "react18", "frontend-performance", "state-selectors", "partial-state-updates", "concurrent-rendering", "modern-react", "npm-library", "javascript", "typescript", "immer", "persist-middleware", "mayank1513" ] }