UNPKG

zustand-ards

Version:

A library of simple opinionated utilities for zustand. zustand-ards are typesafe and designed to be easily added to an existing codebase to improve the experience of developing with zustand.

81 lines 1.78 kB
{ "name": "zustand-ards", "version": "2.0.0", "description": "", "author": "Ivo Ilic", "license": "MIT", "keywords": [ "zustand", "pmndrs", "react", "state", "manager", "management", "redux", "store" ], "repository": { "type": "git", "url": "git+https://github.com/ivoilic/zustand-ards.git" }, "files": [ "./package.json", "LICENSE", "README.md", "./index.*", "./array-selector.*", "./default-shallow.*", "./types.*" ], "main": "./index.js", "module": "./index.mjs", "types": "./index.d.ts", "exports": { "./package.json": "./package.json", ".": { "types": "./index.d.ts", "import": "./index.mjs", "require": "./index.js" }, "./array-selector": { "types": "./array-selector.d.ts", "import": "./array-selector.mjs", "require": "./array-selector.js" }, "./default-shallow": { "types": "./default-shallow.d.ts", "import": "./default-shallow.mjs", "require": "./default-shallow.js" }, "./types": { "types": "./types.d.ts", "import": "./types.mjs", "require": "./types.js" } }, "peerDependencies": { "zustand": "^5.0.3", "@types/react": ">=18.0.0", "react": ">=18.0.0", "use-sync-external-store": ">=1.2.0" }, "devDependencies": { "@changesets/cli": "^2.26.0", "husky": "^8.0.0", "prettier": "^2.8.8", "pretty-quick": "^3.1.3", "react": ">=18.0.0", "tsup": "^6.5.0", "typescript": "^4.5.0", "zustand": "^5.0.3" }, "engines": { "node": ">=12.7.0" }, "scripts": { "build": "tsup", "copy": "cp -r ./dist/* ./", "release": "pnpm run build && pnpm run copy && changeset publish", "lint": "tsc" } }