{"_id":"@angeleduardo/react-redux-pattern","_rev":"2-e5ffc3aca9b234a6aeb98544ce932116","name":"@angeleduardo/react-redux-pattern","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@angeleduardo/react-redux-pattern","version":"1.0.0","description":"A simple way to use Redux","author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Angele91/react-redux-pattern.git"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.js","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"react":"^16.0.0"},"devDependencies":{"babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^2.2.0","microbundle-crl":"^0.13.10","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^3.4.1"},"dependencies":{"lodash":"^4.17.21","prop-types":"^15.7.2","react-redux":"^7.2.2","redux":"^4.0.5","redux-persist":"^6.0.0","redux-thunk":"^2.3.0"},"gitHead":"2e15f03484bf0a03d3f1c70402f03864f5d9a4f9","bugs":{"url":"https://github.com/Angele91/react-redux-pattern/issues"},"homepage":"https://github.com/Angele91/react-redux-pattern#readme","_id":"@angeleduardo/react-redux-pattern@1.0.0","_nodeVersion":"14.15.3","_npmVersion":"7.5.2","dist":{"integrity":"sha512-8Hbr3u+HNEDm4hWQKkvI3kr7q5A08gpubofC8c9IWCo+dDxyQOvWLP1uK+T3fWHQFHgCq9+F5MZnGmgmsvLJOA==","shasum":"a32d191508569df643a06e2c595e07970b956a11","tarball":"https://registry.npmjs.org/@angeleduardo/react-redux-pattern/-/react-redux-pattern-1.0.0.tgz","fileCount":7,"unpackedSize":46346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgS+8qCRA9TVsSAnZWagAA8i8QAJ68R0+gEHXDkS/whcLF\ncC/uJ5ZCsA6JzoJ7K0ahQNRI+ba10AqxPU576BY15cP8IzcesRPKaDYtZhPW\nKIG3zqPbESfCfcXk7wgXn/bvTnCy2/yo0T/3IKZuldzsaHifRBMFIYxk564x\nmpyawfZ1QOTMaCX/sqcUNWhCDI9GObuYr0wD+M1kFaLPBrVUvnra9ctqo/so\nwUhyvbB9vZGjIclO0F9TVNbV1BwHbLkatLWuv+p9mE6jDgIOHA3q1M2Uxhzs\n17M+rk7zr9ZFfS0ENQE1DWUuh9sEy58bI2p0d4XisDmgrw7cFOrbk1B/PG+U\n1Lieu3csqUBGvuKhy9d9V+1Kd//31Vc4rExtVwfZ/3URwTVNRn2dJydQYtwK\n03HMmcIh0n2terhKCUiFRRrAuJxYbmhz9+iy+kkxxgmQ5ziGtawHFg4X+HRX\nbWm4ekwjn43Qzsd06MzIDJSi7MZaMaEls7EcxsFJx/lR+TWjy+R2gV2HHgiY\nHN94QDQlMrqcGOy4LBSH1/eWh/AQ+jsfiHAOGPxIiY8rmUm+wIF8FXBSjKPj\nnNywhbBd9+Y0b7egl2jTxzt6QGcoZrA1S1OGlNi17zRbzbhm0/egJ12ZRNTz\n73DsFETqfCe+y47JuJDfIflQNzcVxTfKZio+veb9H5kZuIsfJz/tK5oj7nEK\nJSMN\r\n=dvWG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHAZuiVU/yuFbqoXv+kk6EnZgew/wiQRy+M/ap5AGzjzAiEAzmXKl619BtogVLtIrfsyS6cqBelR0AaneRvB0moRH7Y="}]},"_npmUser":{"name":"angeleduardo","email":"angele.gm91@gmail.com"},"directories":{},"maintainers":[{"name":"angeleduardo","email":"angele.gm91@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-redux-pattern_1.0.0_1615589161808_0.053009269866046704"},"_hasShrinkwrap":false},"1.0.1":{"name":"@angeleduardo/react-redux-pattern","version":"1.0.1","description":"A simple way to use Redux","author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Angele91/react-redux-pattern.git"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.js","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"react":"^16.0.0"},"devDependencies":{"babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^2.2.0","microbundle-crl":"^0.13.10","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^3.4.1"},"dependencies":{"lodash":"^4.17.21","prop-types":"^15.7.2","react-redux":"^7.2.2","redux":"^4.0.5","redux-persist":"^6.0.0","redux-thunk":"^2.3.0"},"gitHead":"3070f8576c814b43716dbc1f9485cc95aec7ea22","bugs":{"url":"https://github.com/Angele91/react-redux-pattern/issues"},"homepage":"https://github.com/Angele91/react-redux-pattern#readme","_id":"@angeleduardo/react-redux-pattern@1.0.1","_nodeVersion":"14.15.3","_npmVersion":"7.5.2","dist":{"integrity":"sha512-vLHb51ch0tRG0wmhfsw7duAZIWmQCsp2rJXf9O/iWZ/ce6FghE2a2rnTitLGUsROFjtXHgOwqw7hdVby4uhJqA==","shasum":"fe090ef95f6f72239c6bfaf1e83fed384a4ed3e9","tarball":"https://registry.npmjs.org/@angeleduardo/react-redux-pattern/-/react-redux-pattern-1.0.1.tgz","fileCount":7,"unpackedSize":46352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgS++ZCRA9TVsSAnZWagAAyW0P/2GlMxPU2XT1KORx3XPT\n+J3hphrf7GlpJPKl+xMlD/qU9ecB8FbzWkeaustYAtc1oh7ARn13OeyOKZNZ\n0Xh3rVnAUwZxKdyM2QEkJCnUiwAN3EAEZk9ASO39qOR31VHB3EZAC/AnZIQS\nLpqIBp1hQcLJEPTiH1j31/B73INhpCcjn2BUCL3/Nj0DhF/teJ+ceO8lLmsL\nXgownOgtZCWvucAzugiSlv93nGVBCFnLyLjaqRlani7ySZv9nRLnmbiN+1ST\nJ5zh0lGr4kH1Il7OKFA22CMfOfJsWdc+BQn+LJw1l96Kgu3Znd3C19JkkktZ\nAhKIic8MG9BZlRdx4Aus6Yglc1wGXmkhOLnsoDz2f5l0faJSgxh4uUdUlX9J\ncRcN/yVpt7ureS3v3z1VkJAd9rre7KZpEJa5kmlsZCH7pX9PYXt5AAs3HIYh\n39WtMV72OPpcrSu5WwVkTJi/RJdYdzAzZJsXOzaGkzAU9WhTzT9xas6Cq0yO\nP8MEyFoA9CwVPbhsCtaA4Rdh2rkX8fYBiphoyN2BVQ+7hbr8kvBhFMRjGOaH\n04e9XvRZLvQmrgUMP0VhjfYRognvXsG9Mf3xvqlIdKGfN8ARZ7+GvmteXZPv\nBCwQycuGhjWpZstr2LvDr0LRlf1NnTW8qhJ/ZuSr1QIjNIRBkLqE1kkDEHb2\n+DfB\r\n=/GIh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1cmX3586rJowKANDByWRhdvYZ0v+pYCTThsgFqLqBrAiB3Lhg6TlNDljvSuMAarOZVwYA2aLFdjLOFZ/fWFCYdzg=="}]},"_npmUser":{"name":"angeleduardo","email":"angele.gm91@gmail.com"},"directories":{},"maintainers":[{"name":"angeleduardo","email":"angele.gm91@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-redux-pattern_1.0.1_1615589273346_0.3708182137484415"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-12T22:46:01.769Z","1.0.0":"2021-03-12T22:46:01.995Z","modified":"2022-04-04T14:05:43.829Z","1.0.1":"2021-03-12T22:47:53.514Z"},"maintainers":[{"name":"angeleduardo","email":"angele.gm91@gmail.com"}],"description":"A simple way to use Redux","homepage":"https://github.com/Angele91/react-redux-pattern#readme","repository":{"type":"git","url":"git+https://github.com/Angele91/react-redux-pattern.git"},"bugs":{"url":"https://github.com/Angele91/react-redux-pattern/issues"},"license":"MIT","readme":"# react-redux-pattern\n\n> A simple way to use Redux\n\n[![NPM](https://img.shields.io/npm/v/react-redux-pattern.svg)](https://www.npmjs.com/package/react-redux-pattern) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Install\n\n```bash\nnpm install --save react-redux-pattern\n```\n\nOr...\n\n```bash\nyarn add react-redux-pattern\n```\n\nOr...\n\n```bash\npnpm add react-redux-pattern\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from 'react'\nimport MyApplication from './MyApplication'\nimport ReduxAPIProvider from 'react-redux-pattern'\n\nconst initialState = {\n  coconuts: 100\n}\n\nconst App = () => {\n\n   return (\n     <ReduxAPIProvider\n       initialState={YOUR_INITIAL_STATE}\n       enablePersistence={false} // <--- You can do this if you don't want the default persistence.\n       persistenceConfig={...} // <--- This is optional. You can define your own persistence configuration and storage handler.\n       LoadingComponent={...} // <--- Also optional. If you want, you could define a component that will be shown when loading the persistence.\n     >\n\n       <MyApplication />\n\n     </ReduxAPIProvider>\n   )\n}\n```\n\n## License\n\nMIT © [](https://github.com/)\n","readmeFilename":"README.md"}