zustand-tracked
Version:
A small library that allows all your zustand store selectors to be tracked, optimizing computations and rerenders.
74 lines (73 loc) • 1.78 kB
JSON
{
"name": "zustand-tracked",
"version": "0.0.4",
"author": "Gabriel Saunders",
"repository": {
"type": "git",
"url": "https://github.com/mooalot/zustand-tracked"
},
"type": "module",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js"
}
},
"files": [
"dist"
],
"keywords": [
"react",
"zustand",
"tracked",
"performance"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint .",
"preview": "vite preview",
"type-check": "tsc --noEmit",
"test": "vitest"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.0",
"@types/lodash-es": "^4.17.12",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.16",
"globals": "^15.14.0",
"immer": "^10.1.1",
"jsdom": "^26.0.0",
"lodash-es": "^4.17.21",
"proxy-compare": "^3.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"ts-expect": "^1.3.0",
"typescript": "~5.6.2",
"typescript-eslint": "^8.18.2",
"use-sync-external-store": "^1.5.0",
"vite": "^6.0.5",
"vite-plugin-dts": "^4.5.0",
"vitest": "^3.0.2",
"zod": "^3.24.4",
"zundo": "^2.3.0",
"zustand": "^5.0.3"
},
"peerDependencies": {
"react": ">=18.0.0",
"zod": ">=3.0.0",
"zustand": ">=5.0.0"
},
"license": "MIT"
}