UNPKG

zust

Version:

A powerful, lightweight, and fully standalone state management library for React with time-travel debugging, computed values, and zero dependencies

98 lines (97 loc) 2.83 kB
{ "name": "zust", "version": "1.0.6", "description": "A powerful, lightweight, and fully standalone state management library for React with time-travel debugging, computed values, and zero dependencies", "type": "module", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.esm.js", "require": "./dist/index.cjs.js", "types": "./dist/index.d.ts" } }, "sideEffects": false, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "rollup -c", "build:clean": "rm -rf dist && npm run build", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src --ext .ts,.tsx", "lint:fix": "eslint src --ext .ts,.tsx --fix", "format": "prettier --write \"src/**/*.{ts,tsx}\"", "format:check": "prettier --check \"src/**/*.{ts,tsx}\"", "typecheck": "tsc --noEmit", "validate": "npm run typecheck && npm run lint && npm run test", "prepublishOnly": "npm run typecheck && npm run lint && npm run build:clean" }, "keywords": [ "state management", "store", "react", "typescript", "state", "hooks", "middleware", "persistence", "devtools", "time-travel", "undo-redo", "computed-values", "async-actions", "standalone", "zero-dependencies" ], "author": "Kamyar Taher", "license": "MIT", "engines": { "node": ">=18.0.0" }, "devDependencies": { "@jest/globals": "^30.2.0", "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-typescript": "^12.3.0", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "16.3.0", "@types/jest": "^30.0.0", "@types/react": "^19.2.5", "@types/react-dom": "^19.2.3", "@typescript-eslint/eslint-plugin": "^8.46.4", "@typescript-eslint/parser": "^8.46.4", "eslint": "^9.39.1", "eslint-config-prettier": "^10.1.8", "jest": "^30.2.0", "jest-environment-jsdom": "^30.2.0", "prettier": "^3.6.2", "react": "^19.2.0", "react-dom": "^19.2.0", "rollup": "^4.53.2", "rollup-plugin-dts": "^6.2.3", "rollup-plugin-peer-deps-external": "^2.2.4", "ts-jest": "^29.4.5", "tslib": "^2.8.1", "typescript": "^5.9.3" }, "peerDependencies": { "react": ">=19.0.0", "react-dom": ">=19.0.0" }, "repository": { "type": "git", "url": "https://github.com/KamyarTaher/zust.git" }, "bugs": { "url": "https://github.com/KamyarTaher/zust/issues" }, "homepage": "https://github.com/KamyarTaher/zust#readme" }