{"_id":"@c4i/react-redux-template","_rev":"1-dff6d9ef502549d4f41bb59cc02066b0","name":"@c4i/react-redux-template","dist-tags":{"latest":"0.0.1-alpha"},"versions":{"0.0.1-alpha":{"name":"@c4i/react-redux-template","version":"0.0.1-alpha","description":"React component which can manage the layers displayed in an react-webmapjs component.","_main":"./dist/index.js","module":"./src/index.js","scripts":{"build":"webpack --mode production --display-modules","start":"webpack --watch","babel":"babel src --out-dir lib","storybook":"start-storybook -p 6007","build-storybook":"build-storybook -c .storybook -o storybook-react-redux-template","test":"jest"},"repository":{"type":"git","url":"git+https://gitlab.com/is-enes-cdi-c4i/c4i-react-redux-template.git"},"keywords":["error","reduxerror","reacterror","react-redux-template","c4i"],"author":{"name":"Maarten Plieger, Mart Schilthuis & Martijn Sikkema"},"license":"UNLICENSED","bugs":{"url":"https://gitlab.com/is-enes-cdi-c4i/c4i-react-redux-template/issues"},"homepage":"https://gitlab.com/is-enes-cdi-c4i/c4i-react-redux-template","resolutions":{"**/react":"16.6.0","**/react-dom":"16.6.0"},"peerDependencies":{"react":"^16.9.0","react-dom":"^16.9.0","react-redux":"^7.1.1","redux":"^4.0.4"},"dependencies":{"bootstrap":"^4.1.3","es6-enum":"^1.1.0","reactstrap":"^6.5.0"},"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","@babel/preset-stage-2":"^7.0.0","@storybook/addon-actions":"^5.0.11","@storybook/addon-console":"^1.1.0","@storybook/addon-links":"^5.0.11","@storybook/addon-storyshots":"^5.1.11","@storybook/addon-storysource":"^5.0.11","@storybook/addons":"^5.0.11","@storybook/react":"^5.0.11","babel-cli":"^6.26.0","babel-core":"^6.26.3","babel-eslint":"^10.0.2","babel-loader":"^8.0.4","babel-plugin-macros":"^2.5.1","babel-preset-env":"^1.7.0","babel-preset-react":"^6.24.1","babel-register":"^6.26.0","canvas-prebuilt":"^1.6.1","css-loader":"^1.0.0","enzyme":"^3.9.0","enzyme-adapter-react-16":"^1.13.0","enzyme-to-json":"^3.3.5","eslint":"^5.16.0","eslint-config-standard":"^12.0.0","eslint-config-standard-react":"^7.0.2","eslint-plugin-babel":"^5.3.0","eslint-plugin-import":"^2.17.3","eslint-plugin-json":"^1.4.0","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.1.1","eslint-plugin-react":"^7.13.0","eslint-plugin-standard":"^4.0.0","expect":"^24.8.0","jest":"^24.8.0","jest-canvas-mock":"^2.1.0","jest-css-modules":"^2.0.0","json":"^9.0.6","mini-css-extract-plugin":"^0.4.4","moment":"^2.24.0","node-sass":"^4.11.0","react":"^16.9.0","react-dom":"^16.9.0","react-redux":"^7.1.1","react-test-renderer":"^16.8.6","redux":"^4.0.4","redux-devtools-extension":"^2.13.8","require-context.macro":"^1.0.4","sass-loader":"^7.1.0","source-map":"^0.7.3","storybook-addon-specifications":"^2.1.2","style-loader":"^0.23.1","webpack":"^4.35.3","webpack-cli":"^3.3.5"},"main":"./dist/index.js","directories":{"test":"test"},"_id":"@c4i/react-redux-template@0.0.1-alpha","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"maartenplieger","email":"maartenplieger@gmail.com"},"dist":{"integrity":"sha512-e/XWh+y6ARmWCj3k+ndv1JW+3dHcGAY+qnHMBEeKKYYQg5q0cTh2+sDnaQgPkZNcoWYcvTuHnGjqM6k/l2gRHw==","shasum":"b59cb83f35c747dbc03a1d1de29b6a60d92efc1d","tarball":"https://registry.npmjs.org/@c4i/react-redux-template/-/react-redux-template-0.0.1-alpha.tgz","fileCount":11,"unpackedSize":312092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZ7CTCRA9TVsSAnZWagAAWOAP/RFpEExjKC4vskPwLMNC\n7m+3QaFL49WcwLGHPjyf06oHUzqUtV2w3PQeBfkao56AXIz6v7+82UyiibuB\nbMb2vaAame23WxUb+IwaSOCu1ATgvxuCmFQBgiQT4zsKjrSy6lyX/veSbvRt\nC5fbZIR5ODqCJBW/URccsn3hcBZ9UwYFq9Y75EvnIVemwa+DWqkJzl8aL9Jw\nqk36PpnRV0EOiJOomJsKz2Wbz4YieVkvvfAYMGb387DFLBzA6xL8LQ77eSpF\nEEAwgVgDL/8l47JNz649FZ3whZApckKNLpr+7UV8RS/mHQzqEBggjEVLSPH6\ntDvqHgzs7fCEvFxzs/ruifa1OJrtJgJILafdI18iCOCb6xsCGVn8yP/PVsBb\nWEcUv4Za8+1QOVZ6A0ehvNAyiGL8WtmfuQxWZ14RX3mrxgHEBIbkKYwvQUoC\nWujN7NooIPaaU/Jx9EVojtIR/0Bug0BjbSKHi4C3MlPo6Ohw/8/IbygC5Ft0\nxdmXSfSPZqKCRk9CIgRuqVIPvEGh2ctdvcQEDQcQ1M8AlURxObPQT6FkDJvc\nxT5sSXnkZ83lQVdh1gQ7mlBqabF0ckxHdBfvBZBruLbdoMOoaMuM0Jyojr3a\nGMKyEnIp4oajnSVldO7IMbzOBD0rojo92BF+p4hnKYhiEGqhC1JF4k4B6pQ6\nEthp\r\n=3cpj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEK0zvdvFroCDjec4lNbGDtBcwmeqGMcEqMpO4It0SPwIhALf+6R6Ahp4sspAlfxhCM8PjrikF0SLGLIO2RSpz/UF2"}]},"maintainers":[{"name":"roccoturtolo","email":"rocco.turtolo@gmail.com"},{"name":"janmouwes","email":"jan.mouwes@gmail.com"},{"name":"christiaanko","email":"s1116195@student.windesheim.nl"},{"name":"martschilt","email":"mart.schilthuis@knmi.nl"},{"name":"sikkema","email":"martijn.sikkema@knmi.nl"},{"name":"maartenplieger","email":"maartenplieger@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-redux-template_0.0.1-alpha_1567076498614_0.13955695362131904"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-29T11:01:38.401Z","0.0.1-alpha":"2019-08-29T11:01:38.783Z","modified":"2022-04-04T21:25:33.906Z"},"maintainers":[{"name":"roccoturtolo","email":"rocco.turtolo@gmail.com"},{"name":"janmouwes","email":"jan.mouwes@gmail.com"},{"name":"christiaanko","email":"s1116195@student.windesheim.nl"},{"name":"martschilt","email":"mart.schilthuis@knmi.nl"},{"name":"sikkema","email":"martijn.sikkema@knmi.nl"},{"name":"maartenplieger","email":"maartenplieger@gmail.com"}],"description":"React component which can manage the layers displayed in an react-webmapjs component.","homepage":"https://gitlab.com/is-enes-cdi-c4i/c4i-react-redux-template","keywords":["error","reduxerror","reacterror","react-redux-template","c4i"],"repository":{"type":"git","url":"git+https://gitlab.com/is-enes-cdi-c4i/c4i-react-redux-template.git"},"author":{"name":"Maarten Plieger, Mart Schilthuis & Martijn Sikkema"},"bugs":{"url":"https://gitlab.com/is-enes-cdi-c4i/c4i-react-redux-template/issues"},"license":"UNLICENSED","readme":"# C4I ErrorHandler\nThe C4I ErrorHandler is an errorhandler written in Redux for the Climate4Impact portal.  \nIt gives access to a number of actions that you can call from your own `React` or `Redux` application, regarding adding and deleting error messages.  \nThe errorhandler also enables you to display these error messages on your application by using `ReactStrap`.\n  \n**DISCLAIMER:** Versions before `1.0.0` are unstable and not recommended for use.\n\n## Dependencies\nMake sure you have the following packages installed:\n* React\n* Redux\n* React-Redux\n\n## Installation\nOpen the terminal and enter `npm install @c4i/errorhandler`.\n\n## Summary\n*  `errorHandlerAdd` adds an error to the list. You need to call it with the necessary parameters (`message` and `error`).\n*  `errorHandlerDismiss` dismisses an error from the list. You need to call it with the necessary parameter (`id`).\n*  `errorHandlerDismissAll` dissmises all the errors from the list. You need to call it without any parameters.\n\n## Usage\n1. Import Error and errorHandlerAdd: `import { Error, errorHandlerAdd } from '@c4i/errorhandler'`.\n2. Add `<Error />` where error messages need to be rendered.\n3. Add a dispatch function that calls `errorHandlerAdd` with the necessary parameters (`message` and `error`).\n4. To create an error message, call the dispatch function with a message and error/exception (`this.errorHandlerAdd('Test message', exception)`).\n\n## License\nCopyright 2019 KNMI\n\n  Licensed under the `Apache License`, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.","readmeFilename":"README.md"}