{"_id":"@dabe5651/aem-core-cif-react-components-apollo-logger","_rev":"2-1d531adae54e323a39f1822f642c7531","name":"@dabe5651/aem-core-cif-react-components-apollo-logger","dist-tags":{"latest":"2.4.2"},"versions":{"2.4.0":{"name":"@dabe5651/aem-core-cif-react-components-apollo-logger","version":"2.4.0","description":"A collection of React components used in the AEM CIF Core Components project","author":{"name":"Adobe Systems Inc."},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/adobe/aem-core-cif-components.git"},"main":"dist/index.js","scripts":{"lint":"eslint 'src/**/*.js'","lint:fix":"eslint --fix 'src/**/*.js'","webpack:dev":"npm run i18n:extract-compile && webpack --mode=development","webpack:prod":"npm run i18n:extract-compile && webpack --mode=production && node css-template.js","test":"npm run i18n:extract-compile && npm run lint && npm run prettier:check && jest --coverage","ci":"npm run i18n:extract-compile && npm run lint && npm run prettier:check && jest --ci --runInBand --coverage","test:watch":"npm run i18n:extract-compile && npm run lint && jest --watch","prettier:check":"prettier --check '{src,test}/**/*.{js,css}' --config ./.prettierrc","prettier:fix":"prettier --write '{src,test}/**/*.{js,css}' --config ./.prettierrc","snapshot:update":"jest --updateSnapshot","i18n:extract-compile":"formatjs extract --out-file i18n/__temp.json 'src/**/*.js' && formatjs compile --ast --out-file i18n/en.json i18n/__temp.json && rm i18n/__temp.json"},"devDependencies":{"@apollo/client":"^3.2.4","@babel/core":"^7.8.7","@babel/plugin-proposal-optional-chaining":"^7.11.0","@babel/preset-env":"^7.8.7","@babel/preset-react":"^7.8.3","@formatjs/cli":"^4.2.33","@magento/peregrine":"^11.0.0","@peculiar/webcrypto":"^1.1.4","@testing-library/jest-dom":"^5.14.0","@testing-library/react":"^9.5.0","@testing-library/react-hooks":"^7.0.0","acorn":"^6.1.0","babel-eslint":"^10.1.0","babel-loader":"^8.0.6","babel-plugin-formatjs":"^10.3.8","braintree-web-drop-in":"^1.22.1","bufferutil":"^4.0.1","clean-webpack-plugin":"^3.0.0","css-loader":"^3.4.2","eslint":"^7.10.0","eslint-plugin-header":"^3.0.0","eslint-plugin-jest":"^22.21.0","eslint-plugin-react":"^7.19.0","eslint-plugin-react-hooks":"^4.1.2","file-loader":"^4.3.0","graphql":"~15.3.0","identity-obj-proxy":"^3.0.0","informed":"~3.9.0","jest":"^24.9.0","jest-junit":"^10.0.0","mini-css-extract-plugin":"^0.8.2","prettier":"^1.19.1","prop-types":"^15.7.2","react":"^17.0.2","react-dom":"~17.0.1","react-feather":"^2.0.3","react-intl":"~5.20.0","react-redux":"~7.2.2","redux-actions":"~2.6.5","redux-thunk":"^2.3.0","typescript":"^4.4.2","utf-8-validate":"^5.0.2","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"peerDependencies":{"@apollo/client":"^3.2.4","@magento/peregrine":"^11.0.0","braintree-web-drop-in":"^1.22.1","graphql":"~15.3.0","informed":"~3.29.4","prop-types":"^15.7.2","react":"~17.0.1","react-dom":"~17.0.1","react-feather":"^2.0.3","react-intl":"~5.20.0"},"engines":{"node":">=12","npm":">= 6"},"bugs":{"url":"https://github.com/adobe/aem-core-cif-components/issues"},"homepage":"https://github.com/adobe/aem-core-cif-components#readme","_id":"@dabe5651/aem-core-cif-react-components-apollo-logger@2.4.0","_nodeVersion":"12.22.10","_npmVersion":"6.14.16","dist":{"integrity":"sha512-7l2pAQA3gkWkdrYDPM94cMOwloagC/vZTXeUD0bx3bhmjVPIgh7OCYM7lWXaeykmEM69rtTeLW0WUVg7mcu8AA==","shasum":"b0eb1800a72535e447f010a8c9923865f71784d5","tarball":"https://registry.npmjs.org/@dabe5651/aem-core-cif-react-components-apollo-logger/-/aem-core-cif-react-components-apollo-logger-2.4.0.tgz","fileCount":8,"unpackedSize":1625796,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG8szKtgMm9MHMXe2/9Z0XNv/cS1Phg1L0e2zyQDvdjUAiEA+TchpRj4DTdSsczTHQZwOIVT0Y/Srdg0QERrJKtuDV8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNhAKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmogQA//Xkrobzv+LQbj/4iYYNvvFPe8lOID0MBnn26LnQBhDB1T4DTd\r\nb9PADMnOrPNdwZAVdakmAynZBOUp/0caAQpODy45ormoSDFE0R71kuKSthUD\r\n0aep/LF0d4Bevgky0CdpUVaAhbOPlI+qNY32IAJ4yvTE3uFs2yiXQhiXK41Q\r\n06QrMvtiUJTsbaBG5khf+PwXrjmZRNJ5EsFUgclIOoT1SkiVT//USd+Q2Z9L\r\ngUWnfeP7xoPaGeYNCjC8Iy+dJB5S0wTqEiC+jMRVhncwzABj5CU+kM/BGMH3\r\nldlHkRJeVUUGzSM7XjFvLhE53YcZpGrajKH5heTq6wbz2JvwasFk9GKOzfUW\r\nMhJ1HiO2W/ReiopmHRKhI3O1a7RzOV4zmo2xYSHWGsyvEdYDreoEVXTgllPH\r\ngzZL3yij2im6udE/RfVPo30TndIimIzOkTdyOTCW8tp6DR9uWnLBX6eB3F3b\r\n/bfzBizaeoFM01fiEvbjpZd3VDBYOn0UUBlygLwyhz84CkIlQpzfQyDPclAp\r\nxYjVbU4140WiaFNIDMimvNAWSLsyAjC2UGHf1pbiLL6W8lt0evlaQobmlPDp\r\ndRjJAj6wKZ2UPWER+LHnF+vlDB8lW02uT2Op06jxYLvcWT5KReTlhx5iKJ10\r\nlUHqN7fG+AqHs2pDWUKkbs2cFoOokOD5qtA=\r\n=GKMi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dabe5651","email":"bcidavidb@gmail.com"},"directories":{},"maintainers":[{"name":"dabe5651","email":"bcidavidb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aem-core-cif-react-components-apollo-logger_2.4.0_1664487434051_0.06296984795428018"},"_hasShrinkwrap":false},"2.4.1":{"name":"@dabe5651/aem-core-cif-react-components-apollo-logger","version":"2.4.1","description":"A collection of React components used in the AEM CIF Core Components project","author":{"name":"Adobe Systems Inc."},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/adobe/aem-core-cif-components.git"},"main":"dist/index.js","scripts":{"lint":"eslint 'src/**/*.js'","lint:fix":"eslint --fix 'src/**/*.js'","webpack:dev":"npm run i18n:extract-compile && webpack --mode=development","webpack:prod":"npm run i18n:extract-compile && webpack --mode=production && node css-template.js","test":"npm run i18n:extract-compile && npm run lint && npm run prettier:check && jest --coverage","ci":"npm run i18n:extract-compile && npm run lint && npm run prettier:check && jest --ci --runInBand --coverage","test:watch":"npm run i18n:extract-compile && npm run lint && jest --watch","prettier:check":"prettier --check '{src,test}/**/*.{js,css}' --config ./.prettierrc","prettier:fix":"prettier --write '{src,test}/**/*.{js,css}' --config ./.prettierrc","snapshot:update":"jest --updateSnapshot","i18n:extract-compile":"formatjs extract --out-file i18n/__temp.json 'src/**/*.js' && formatjs compile --ast --out-file i18n/en.json i18n/__temp.json && rm i18n/__temp.json"},"devDependencies":{"@apollo/client":"^3.2.4","@babel/core":"^7.8.7","@babel/plugin-proposal-optional-chaining":"^7.11.0","@babel/preset-env":"^7.8.7","@babel/preset-react":"^7.8.3","@formatjs/cli":"^4.2.33","@magento/peregrine":"^11.0.0","@peculiar/webcrypto":"^1.1.4","@testing-library/jest-dom":"^5.14.0","@testing-library/react":"^9.5.0","@testing-library/react-hooks":"^7.0.0","acorn":"^6.1.0","babel-eslint":"^10.1.0","babel-loader":"^8.0.6","babel-plugin-formatjs":"^10.3.8","braintree-web-drop-in":"^1.22.1","bufferutil":"^4.0.1","clean-webpack-plugin":"^3.0.0","css-loader":"^3.4.2","eslint":"^7.10.0","eslint-plugin-header":"^3.0.0","eslint-plugin-jest":"^22.21.0","eslint-plugin-react":"^7.19.0","eslint-plugin-react-hooks":"^4.1.2","file-loader":"^4.3.0","graphql":"~15.3.0","identity-obj-proxy":"^3.0.0","informed":"~3.9.0","jest":"^24.9.0","jest-junit":"^10.0.0","mini-css-extract-plugin":"^0.8.2","prettier":"^1.19.1","prop-types":"^15.7.2","react":"^17.0.2","react-dom":"~17.0.1","react-feather":"^2.0.3","react-intl":"~5.20.0","react-redux":"~7.2.2","redux-actions":"~2.6.5","redux-thunk":"^2.3.0","typescript":"^4.4.2","utf-8-validate":"^5.0.2","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"peerDependencies":{"@apollo/client":"^3.2.4","@magento/peregrine":"^11.0.0","braintree-web-drop-in":"^1.22.1","graphql":"~15.3.0","informed":"~3.29.4","prop-types":"^15.7.2","react":"~17.0.1","react-dom":"~17.0.1","react-feather":"^2.0.3","react-intl":"~5.20.0"},"engines":{"node":">=12","npm":">= 6"},"dependencies":{"apollo3-cache-persist":"^0.14.1"},"bugs":{"url":"https://github.com/adobe/aem-core-cif-components/issues"},"homepage":"https://github.com/adobe/aem-core-cif-components#readme","_id":"@dabe5651/aem-core-cif-react-components-apollo-logger@2.4.1","_nodeVersion":"12.22.10","_npmVersion":"6.14.16","dist":{"integrity":"sha512-VAtmM/yb2FUr1Kq2itdAtciWh8YJwSMhY+RH50d6LUYbYVLEHXo0AHf4D30bG1Hlg9c8072cfg/KxpzT7KFlLQ==","shasum":"dfd62b03a826b51f839c9527ff9ac90952d74d7d","tarball":"https://registry.npmjs.org/@dabe5651/aem-core-cif-react-components-apollo-logger/-/aem-core-cif-react-components-apollo-logger-2.4.1.tgz","fileCount":8,"unpackedSize":1696641,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSb7TIOxRb9kKrNnOw1pMN1pF1jRt2VCwqdQEOlvEKnwIhAJ5XTrWOaNP3IDO9zSSZ/z63u2HjkP+9KJ5Xn4C1vCmI"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjOsZHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0Tw/+MzkeqwcGPK7vLlWKTLQ7jcKgxsdjt/x4A1U5KLu/uPw6Lxs0\r\nutere3VnbElPNXKLFRK1TueymU5xpTzSTq9xneJFTqR/Gnx5Vfk/avMmU8E3\r\nA4l07bJjd0oT60+tKR4PxXU5npYiaI32ZPN5uWfd8XJ3e48vD8MOTnBNO4/9\r\ncwrbODnRsYKTRu5TcePDESVaHD1QiUIH8isvI1+HqMpT9hSoGKTK9qlGXH1Q\r\n+1e8zDWw8M9LHO5imGJTtTTX83JuU34bDU5PEjyHbAkcE/OkQskMNa8Fatl6\r\nElrVi6aMcqP+6tD5moHQDC295U9wJIG8gg9SCZph6sjU9m0o1JRrpHdLVjWq\r\ntrSptQ+4/xy9jPeoVBRYgT5xjpZY1Xat9EoQWCSzIaknEDt+oRzcmCxUdLPE\r\niHAvCHiAHEa/+G0jRU7JdN19VIuxrYDalQsqMmb36qzSgjhK7dnvoJ+hqJlj\r\n04Qvp7zFxQJd278igdXjFMhR5zjT/oAV9DxhMdupyqzc5pdL2DcWWOW644v2\r\nOuJmTaYUxe8JES91g1rtBOXYsuwd5HeLlUO4IPryse8eFv0NGChU9X27lpUN\r\nNHlNDANSuTiljlB6Kz9bhXmeer/JpB66p2e4rm5XsmtkkbtM6MJ7eiGbRQEH\r\n1qjbvzIeudbjU0N6/XvBC3ux4vdji/SHDOg=\r\n=oJIO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dabe5651","email":"bcidavidb@gmail.com"},"directories":{},"maintainers":[{"name":"dabe5651","email":"bcidavidb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aem-core-cif-react-components-apollo-logger_2.4.1_1664796231432_0.006989114740523883"},"_hasShrinkwrap":false},"2.4.2":{"name":"@dabe5651/aem-core-cif-react-components-apollo-logger","version":"2.4.2","description":"A collection of React components used in the AEM CIF Core Components project","author":{"name":"Adobe Systems Inc."},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/adobe/aem-core-cif-components.git"},"main":"dist/index.js","scripts":{"lint":"eslint 'src/**/*.js'","lint:fix":"eslint --fix 'src/**/*.js'","webpack:dev":"npm run i18n:extract-compile && webpack --mode=development","webpack:prod":"npm run i18n:extract-compile && webpack --mode=production && node css-template.js","test":"npm run i18n:extract-compile && npm run lint && npm run prettier:check && jest --coverage","ci":"npm run i18n:extract-compile && npm run lint && npm run prettier:check && jest --ci --runInBand --coverage","test:watch":"npm run i18n:extract-compile && npm run lint && jest --watch","prettier:check":"prettier --check '{src,test}/**/*.{js,css}' --config ./.prettierrc","prettier:fix":"prettier --write '{src,test}/**/*.{js,css}' --config ./.prettierrc","snapshot:update":"jest --updateSnapshot","i18n:extract-compile":"formatjs extract --out-file i18n/__temp.json 'src/**/*.js' && formatjs compile --ast --out-file i18n/en.json i18n/__temp.json && rm i18n/__temp.json"},"devDependencies":{"@apollo/client":"^3.2.4","@babel/core":"^7.8.7","@babel/plugin-proposal-optional-chaining":"^7.11.0","@babel/preset-env":"^7.8.7","@babel/preset-react":"^7.8.3","@formatjs/cli":"^4.2.33","@magento/peregrine":"^11.0.0","@peculiar/webcrypto":"^1.1.4","@testing-library/jest-dom":"^5.14.0","@testing-library/react":"^9.5.0","@testing-library/react-hooks":"^7.0.0","acorn":"^6.1.0","babel-eslint":"^10.1.0","babel-loader":"^8.0.6","babel-plugin-formatjs":"^10.3.8","braintree-web-drop-in":"^1.22.1","bufferutil":"^4.0.1","clean-webpack-plugin":"^3.0.0","css-loader":"^3.4.2","eslint":"^7.10.0","eslint-plugin-header":"^3.0.0","eslint-plugin-jest":"^22.21.0","eslint-plugin-react":"^7.19.0","eslint-plugin-react-hooks":"^4.1.2","file-loader":"^4.3.0","graphql":"~15.3.0","identity-obj-proxy":"^3.0.0","informed":"~3.9.0","jest":"^24.9.0","jest-junit":"^10.0.0","mini-css-extract-plugin":"^0.8.2","prettier":"^1.19.1","prop-types":"^15.7.2","react":"^17.0.2","react-dom":"~17.0.1","react-feather":"^2.0.3","react-intl":"~5.20.0","react-redux":"~7.2.2","redux-actions":"~2.6.5","redux-thunk":"^2.3.0","typescript":"^4.4.2","utf-8-validate":"^5.0.2","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"peerDependencies":{"@apollo/client":"^3.2.4","@magento/peregrine":"^11.0.0","braintree-web-drop-in":"^1.22.1","graphql":"~15.3.0","informed":"~3.29.4","prop-types":"^15.7.2","react":"~17.0.1","react-dom":"~17.0.1","react-feather":"^2.0.3","react-intl":"~5.20.0"},"engines":{"node":">=12","npm":">= 6"},"dependencies":{"apollo3-cache-persist":"^0.14.1"},"bugs":{"url":"https://github.com/adobe/aem-core-cif-components/issues"},"homepage":"https://github.com/adobe/aem-core-cif-components#readme","_id":"@dabe5651/aem-core-cif-react-components-apollo-logger@2.4.2","_nodeVersion":"12.22.10","_npmVersion":"6.14.16","dist":{"integrity":"sha512-Gnah+MyRIzjxpGhT/3biPxPKq0hAV3GCeguyH1kbcBkSy0u/S27PHoYwpMpg0c9GSDS4g0EsJMANuNyfsA3scg==","shasum":"228c31f4b1c8d1939a29812967f30ff7a057ff91","tarball":"https://registry.npmjs.org/@dabe5651/aem-core-cif-react-components-apollo-logger/-/aem-core-cif-react-components-apollo-logger-2.4.2.tgz","fileCount":8,"unpackedSize":1698730,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWVeC8/cSvsBLCWe58o6OsH0RaEcinAhofk4AlzZZn5QIhAP1/T2giQU3/6NY04EPYJ3P6rabqEk2XwJ82xipCPw+K"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjO2GDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtFQ//R+Dfp4myVi/0LwI+vTz3HJcBmU2Q/RFLRrptujGb0OUD0qd1\r\nsI2IkoEgaTXDosNEzT1ecOEhAWeQdPvd4eLwF9bEu867Fl6MjYHTesUNT07w\r\nEYxISlX3mYAlDUZVk0tHD51ECD2DaVmQmkb3yYPogjzmJrdm2Jf8upgadpDc\r\nenNibAcZrgSJ7+NFxmE+QaYMN05/9MvRouZyhwt1CQaIcVjOLoLkS+AF8iBg\r\nGjt1ieyNf3/+cRH/UKs1KhY84/imsEo+U/IZ3ouurCFU0YE6wdEfQ5MLlUa1\r\n4OlSz+bOxpZgYlBBx+q03kdiCaPkR9TS2XnPfOP/HaC6sc/ui7CrF9YZnegB\r\njeOZ8oXCq6brWyjgXiynfBiP6vDrn1avMN1qI5ZBWx/Zd11bZYQExejWQdGR\r\n96Qoo59UyqBp+YercrDeVh4TYBem1zAuedqDdgdNu3klJeU0sZ7t9Arq118a\r\ndFWI7unnfIeGwCa7jVJ6BHcbU+m9wmyXeUpD8oaXhlPIbj2FObynNLGVX7xi\r\n2jBkE18s0+CrJ3283RFSSWCP9IJMB2XmT+0WSoKLQx7VVMEtRWaSirOrgVef\r\n8TQsnTFM/9xOle4jHSi+72n+bEXRnfbcEq4HozXEd1BwuM7C4/nx5yxAUvYx\r\ny5LqIbIBy23fC18Ah5D41vY6L2B/++2OOXM=\r\n=FRW9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dabe5651","email":"bcidavidb@gmail.com"},"directories":{},"maintainers":[{"name":"dabe5651","email":"bcidavidb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aem-core-cif-react-components-apollo-logger_2.4.2_1664835971123_0.5285121671448498"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-29T21:37:13.848Z","2.4.0":"2022-09-29T21:37:14.345Z","modified":"2022-10-03T22:26:11.463Z","2.4.1":"2022-10-03T11:23:51.617Z","2.4.2":"2022-10-03T22:26:11.391Z"},"maintainers":[{"name":"dabe5651","email":"bcidavidb@gmail.com"}],"description":"A collection of React components used in the AEM CIF Core Components project","homepage":"https://github.com/adobe/aem-core-cif-components#readme","repository":{"type":"git","url":"git+https://github.com/adobe/aem-core-cif-components.git"},"author":{"name":"Adobe Systems Inc."},"bugs":{"url":"https://github.com/adobe/aem-core-cif-components/issues"},"license":"Apache-2.0","readme":"# CIF Core Components - React Components\n\nThe React Components project is the code base for all the CIF Core Components built using [React](https://reactjs.org/). The following components are exposed by this library:\n\n## Components related to the shopping cart\n\n### Cart\n\nAn implementation of the \"minicart\" component, complete with checkout experience.\n\n### CartProvider\n\nA context provider for a cart component which provides state management for cart operations\n\n### CartInitializer\n\nA component which provides cart operations such as \"Add to cart\" and \"Remove from cart\"\n\n### CheckoutProvider\n\nA context provider for a cart component which provides state management for checkout operations\n\n## Components related to user authentication / account management\n\n### AuthBar\n\nThe account management components - Sign In, Forgot Password, Change Password and My Account, all wrapped into one component\n\n### AccountContainer\n\nThe same as AuthBar, but rendered in a dropdown instead of a panel.\n\n### AddressBook\n\nA component that allows authenticated shoppers to manage their address books.\n\n### UserContextProvider\n\nA context provider for user operations - sign in / sign-out, create user\n\n## General purpose components\n\n## CommerceApp\n\nA convenience wrapper for React components, encapsulating all the required contexts to run the app\n\n## graphqlAuthLink\n\nAn ApolloLink instance that handles authorization on certain graphql requests (e.g.: cart mutations).\nThis is intended to be used when creating a new ApolloClient instance:\n\n```javascript\nimport { ApolloClient, from, HttpLink, InMemoryCache } from '@apollo/client';\nimport { graphqlAuthLink } from '@adobe/aem-core-cif-react-components';\n\nconst client = new ApolloClient({\n    link: from([graphqlAuthLink, new HttpLink({ uri: graphqlEndpoint, headers: { Store: storeView } })]),\n    cache: new InMemoryCache()\n});\n```\n\n### Portal\n\nA component that allows rendering a React tree inside of a Portal. Uses `ReactDOM.createPortal()` under the hood.\n\n###\n\n## Building the project\n\nThe project is built using the command `npm run build`. The build process bundles all the code into one client library which is placed in `../ui.apps/src/main/content/jcr_root/apps/core/cif/clientlibs/react-components/dist`.\n\n## Testing the components\n\nThis project uses [Jest](https://jestjs.io/) for running unit tests and [React Testing Library](https://testing-library.com/docs/react-testing-library/intro) as the testing framework. This framework allows you to test the behavior of the components rather than the implementations.\n\nThe unit tests are run using the `npm run test` command. To run the tests during development you can use `npm run test:watch` to start Jest in watch mode.\n\n## Development\n\n### Prerequisites\n\nFor development, please have [node.js](https://nodejs.org/) (v12+) and [npm](https://www.npmjs.com/get-npm) (v6+) installed.\n\nThe React components access the Magento GraphQL endpoint directly, so all calls have to either be served from the same endpoint as AEM or served via a proxy that adds CORS headers.\n\nTo start a local proxy server, you can use the following command:\n\n```\nnpx local-cors-proxy --proxyUrl https://my.magento.cloud --port 3002 --proxyPartial ''\n```\n\nThe GraphQL endpoint is then available at `http://localhost:3002/graphql`.\n\nIf you develop for AEM on-prem installations, a proxy is included in our sample Dispatcher configuration (see [the dispacher configuration](../dispatcher) for details). You have to access AEM through the dispatcher (i.e. use https://localhost instead of http://localhost:4502).\n\n### Building\n\nTo build the components you can use\n\n```\nnpm run build\n```\n","readmeFilename":"README.md"}