UNPKG

react-pouch

Version:

The simplest state management library ever. No providers, no flux, no context hell. Just plug-and-play state for React & React Native with 100% test coverage.

101 lines (100 loc) 3.67 kB
{ "name": "react-pouch", "version": "1.1.1", "description": "The simplest state management library ever. No providers, no flux, no context hell. Just plug-and-play state for React & React Native with 100% test coverage.", "type": "module", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist/index.js", "dist/index.esm.js", "dist/index.d.ts", "dist/index.js.map", "dist/index.esm.js.map", "dist/index.d.ts.map" ], "scripts": { "build": "rollup -c", "test": "jest", "lint": "eslint 'src/**/*.{js,ts}'", "prepublishOnly": "npm run build", "analyze": "node scripts/analyze-bundle.js", "compare": "node scripts/compare-competitors.js", "bundle-report": "npm run compare", "benchmark": "ts-node --project benchmarks/tsconfig.json benchmarks/simple-runner.ts", "benchmark:memory": "node --expose-gc -r ts-node/register --project benchmarks/tsconfig.json benchmarks/simple-runner.ts", "benchmark:full": "ts-node --project benchmarks/tsconfig.json benchmarks/runner.ts", "benchmark:basic": "ts-node --project benchmarks/tsconfig.json -e \"import('./benchmarks/basic-operations').then(m => m.runBasicOperationsBenchmarks())\"", "benchmark:react": "ts-node --project benchmarks/tsconfig.json -e \"import('./benchmarks/react-render').then(m => m.runReactRenderBenchmarks())\"", "benchmark:complex": "ts-node --project benchmarks/tsconfig.json -e \"import('./benchmarks/complex-scenarios').then(m => m.runComplexUpdateBenchmarks())\"", "benchmark:run": "node benchmarks/runner.js", "benchmark:simple": "node benchmarks/simple-benchmark.js", "add-badges": "node scripts/add-size-badges.js", "benchmark:realistic": "node benchmarks/realistic-benchmark.js", "benchmark:honest": "node benchmarks/fixed-benchmark.js", "benchmark:comprehensive": "node benchmarks/comprehensive-benchmark.js" }, "keywords": [ "react", "react-native", "state-management", "pouch", "hooks", "plugins", "modular", "lightweight", "extensible" ], "author": "Your Name", "license": "MIT", "peerDependencies": { "react": ">=16.8.0" }, "devDependencies": { "@babel/core": "^7.22.0", "@babel/preset-env": "^7.22.0", "@babel/preset-react": "^7.22.0", "@babel/preset-typescript": "^7.22.0", "@reduxjs/toolkit": "^2.8.2", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-node-resolve": "^15.0.0", "@rollup/plugin-typescript": "^11.1.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^14.3.1", "@types/benchmark": "^2.1.5", "@types/jest": "^30.0.0", "@types/react": "^18.2.0", "@types/react-redux": "^7.1.34", "@typescript-eslint/eslint-plugin": "^5.59.0", "@typescript-eslint/parser": "^5.59.0", "benchmark": "^2.1.4", "bundlesize": "^0.18.2", "esbuild": "^0.25.6", "eslint": "^8.42.0", "eslint-plugin-react": "^7.32.0", "eslint-plugin-react-hooks": "^4.6.0", "gzip-size": "^7.0.0", "jest": "^29.5.0", "jest-environment-jsdom": "^30.0.4", "jotai": "^2.12.5", "jsdom": "^26.1.0", "react": "^18.2.0", "react-dom": "^18.3.1", "react-redux": "^9.2.0", "rollup": "^3.25.0", "rollup-plugin-dts": "^5.3.0", "tinybench": "^4.0.1", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "typescript": "^5.1.0", "valtio": "^2.1.5", "webpack-bundle-analyzer": "^4.10.2", "zustand": "^5.0.6" }, "repository": { "type": "git", "url": "git+https://github.com/jalasem/react-pouch.git" } }