{"_id":"@alessio.filippucci/admin-dashboard-core","_rev":"1-d6fb3f1cd6c47b8cf25649748095252d","name":"@alessio.filippucci/admin-dashboard-core","dist-tags":{"latest":"0.0.0-development"},"versions":{"0.0.0-development":{"name":"@alessio.filippucci/admin-dashboard-core","version":"0.0.0-development","description":"react-admin-core fork","main":"build/index.cjs.js","module":"build/index.esm.js","browser":"build/index.js","style":"build/index.css","scripts":{"build":"npx rollup -c","codecov":"npx codecov","commitmsg":"npx commitlint -e $GIT_PARAMS","deploy-storybook-ci":"npx storybook-to-ghpages --ci","gc":"commit","lint":"npx eslint --ext .js,.jsx .","prepare":"npm run build","semantic-release":"npx semantic-release","start":"npm run build -- -w","storybook":"npx start-storybook -p 6006","test":"npx jest --coverage","travis-deploy-once":"npx travis-deploy-once","is-build-es5":"npx es-check es5 './build/**/*.!(esm).js'"},"repository":{"type":"git","url":"git+https://github.com/alessiofilippucci/npmsample.git"},"publishConfig":{"access":"public"},"keywords":["rollup","react","react component","rollup react","component","example react component","example rollup react component"],"author":{"name":"info@alessiofilippucci.it"},"license":"MIT","homepage":"https://github.com/alessiofilippucci/npmsample.git","devDependencies":{"@babel/cli":"^7.12.1","@babel/core":"^7.12.3","@babel/plugin-transform-runtime":"^7.12.1","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@commitlint/cli":"^9.0.1","@commitlint/config-angular":"^9.0.1","@commitlint/prompt":"^9.0.1","@commitlint/prompt-cli":"^9.0.1","@rollup/plugin-babel":"^5.0.2","@rollup/plugin-commonjs":"^12.0.0","@rollup/plugin-node-resolve":"^8.0.0","@storybook/addon-a11y":"^6.0.28","@storybook/addon-actions":"^6.0.28","@storybook/addon-centered":"^5.3.21","@storybook/addon-console":"^1.2.2","@storybook/addon-essentials":"^6.0.28","@storybook/addon-info":"^5.3.21","@storybook/addon-notes":"^5.3.21","@storybook/addon-options":"^5.3.21","@storybook/addons":"^6.0.28","@storybook/channels":"^6.0.28","@storybook/cli":"^6.0.28","@storybook/react":"^6.0.28","@storybook/storybook-deployer":"^2.8.7","acorn":"^7.2.0","autoprefixer":"^9.8.0","babel-loader":"^8.1.0","babel-preset-minify":"^0.6.0-alpha.9","bufferutil":"^4.0.2","canvas":"^2.6.1","codecov":"^3.7.0","css-loader":"^3.5.3","enzyme":"^3.11.0","enzyme-adapter-react-16":"^1.15.2","es-check":"^5.1.2","eslint":"^7.11.0","eslint-config-airbnb":"^18.1.0","eslint-plugin-import":"^2.20.2","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-react":"^7.20.0","eslint-plugin-react-hooks":"^2.5.1","fibers":"^5.0.0","husky":"^4.2.5","jest":"^26.6.0","jest-transform-css":"^2.0.0","marked":"^1.1.0","node-sass":"^4.14.1","postcss":"^7.0.32","react-test-renderer":"^16.13.1","rollup":"^2.13.1","rollup-plugin-filesize":"^9.0.0","rollup-plugin-postcss":"^3.1.2","sass":"^1.26.7","sass-loader":"^8.0.2","semantic-release":"^17.0.8","source-map-loader":"^1.0.0","style-loader":"^1.2.1","travis-deploy-once":"^5.0.11","typescript":"^3.9.3","utf-8-validate":"^5.0.3","webpack":"^4.44.2","webpack-build-notifier":"^2.0.1","webpack-cli":"^3.3.11","webpack-dev-server":"^3.11.1","mutationobserver-shim":"^0.3.3"},"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","react-dom":"^16.12.0"},"dependencies":{"@babel/plugin-syntax-jsx":"^7.14.5","@babel/polyfill":"7.12.1","@babel/runtime":"^7.14.8","@fortawesome/fontawesome-free":"5.15.1","@material-ui/core":"4.10.1","@material-ui/icons":"4.9.1","@material-ui/styles":"4.10.0","@testing-library/react":"^12.0.0","autosuggest-highlight":"3.1.1","babel-eslint":"^10.1.0","babel-jest":"^26.6.0","classnames":"2.2.6","connected-react-router":"6.8.0","core-js":"3.9.1","cpx":"1.5.0","css-mediaquery":"0.1.2","date-fns":"2.16.1","downshift":"3.4.8","env-cmd":"10.1.0","eslint-config-react-app":"^6.0.0","expr-eval":"1.2.3","file-saver":"2.0.2","final-form":"4.20.2","final-form-arrays":"3.0.2","html-react-parser":"0.9.2","inflection":"1.12.0","jsonexport":"3.0.1","jwt-decode":"2.2.0","lodash":"4.17.11","node-polyglot":"2.4.0","node-sass":"4.14.1","prop-types":"15.7.2","query-string":"6.13.6","quill":"1.3.6","react":"16.14.0","react-app-polyfill":"1.0.1","react-beautiful-dnd":"13.1.0","react-color":"2.19.3","react-dom":"16.14.0","react-dropzone":"11.2.1","react-final-form":"6.5.2","react-final-form-arrays":"3.1.3","react-flippy":"0.1.5","react-helmet":"5.2.1","react-icons":"4.2.0","react-recaptcha":"2.3.10","react-redux":"7.2.1","react-router":"5.2.0","react-router-dom":"5.2.0","react-scripts":"^4.0.3","react-transition-group":"4.4.1","redux":"4.0.5","redux-saga":"1.1.3","styled-components":"5.3.0","underscore":"1.11.0"},"storybook-deployer":{"gitUsername":"alessiofilippucci","gitEmail":"info@alessiofilippucci.it"},"gitHead":"1983a0a8d59d007733f66f2d77447554034870f9","bugs":{"url":"https://github.com/alessiofilippucci/npmsample/issues"},"_id":"@alessio.filippucci/admin-dashboard-core@0.0.0-development","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-g26Qna8VRXb3/CH+W/9BYehkmzliYr+KPt/keMvP72mk+S1hrQVidfYuhmQwa+/qmsfeAUwhw7KGZqZMAeA8KA==","shasum":"8c50d67b7f3d10b8ee68a1189ef98b3bc3772437","tarball":"https://registry.npmjs.org/@alessio.filippucci/admin-dashboard-core/-/admin-dashboard-core-0.0.0-development.tgz","fileCount":9,"unpackedSize":13398494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMMZcCRA9TVsSAnZWagAA88UP/0DP1csYZVzMAa6cQ8pi\nA1W6YEwnLdhNYSbqIL7JWUkdfAjFDcNBNPIGk72A3EfEHRlU5sAGwtiJgSSw\n8i24Wjw1LM5HpKUo+inBCPDzQJY/lPTRxKSpSY913mU0QFEpOrAaUeM786BJ\nN7o32PhiLahurYhd6qXS10uZd1uNirYhNBMzflbThGzjWBws2KhcaDX/VhSH\nVabn8bq8Xc/YHJ0j3kafg70BHNfVNQCmTONGQmcMq9Knp5zSKZWrpdHTj7mX\nXu/UhCNchBqLqq1EJv0bXVDeM51Z2LrIidUY5AAmgxVN/qVQsbACpTNPWu1w\niO/Gv5FT+yQ00hagaK5Wq9SEHNS5Ykdc9ONHQwizfHdiXISnzOogmCVAIfyJ\nNUN6Js+mzwqpUPiq4RaDEV/fFNdWQdEDWJWiwsHVadzmz/QLcj8wzAXRgHs3\nSgq13pzQdCsRQLpzMA6Ao/43bSArMtkWmWmAYRDmyOfcATRwk5h/wl3Nxz5G\nJedUkbM9CKQg3tovFfQckkA/u6eNjtmSWIb1Bd/r6ZxX6vo4NC3JYY6J1AnV\n1KfG5KKXzPFF5VNRltee0xB9mA86vX2qWhVngAZ2qTnwYksZ/VKfgAsojFQ9\nexzvZxmMhdkWoUknAcgA3VsMg3x61PZoT4oxslRRAE4NVN5JuBTSMR5Fna1x\nGZdW\r\n=FsEE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDL4FIzw1wRHpRtODA6h9qSDbVCt2SjhUjqXO4WgyDUpAIgbrRYBvFetRR+9aJ1RABHfLY6zM0h6jq40sf4oTpTJl8="}]},"_npmUser":{"name":"alessio.filippucci","email":"info@alessiofilippucci.it"},"directories":{},"maintainers":[{"name":"alessio.filippucci","email":"info@alessiofilippucci.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/admin-dashboard-core_0.0.0-development_1630586460343_0.12569553237590814"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-02T12:41:00.276Z","0.0.0-development":"2021-09-02T12:41:00.698Z","modified":"2022-04-04T12:37:54.930Z"},"maintainers":[{"name":"alessio.filippucci","email":"info@alessiofilippucci.it"}],"description":"react-admin-core fork","homepage":"https://github.com/alessiofilippucci/npmsample.git","keywords":["rollup","react","react component","rollup react","component","example react component","example rollup react component"],"repository":{"type":"git","url":"git+https://github.com/alessiofilippucci/npmsample.git"},"author":{"name":"info@alessiofilippucci.it"},"bugs":{"url":"https://github.com/alessiofilippucci/npmsample/issues"},"license":"MIT","readme":"# example-rollup-react-component-npm-package\r\n\r\n[![Greenkeeper badge](https://badges.greenkeeper.io/jaebradley/example-rollup-react-component-npm-package.svg)](https://greenkeeper.io/)\r\n![Example Rollup React Component NPM Package](https://github.com/jaebradley/example-rollup-react-component-npm-package/workflows/Example%20Rollup%20React%20Component%20NPM%20Package/badge.svg)\r\n[![codecov](https://codecov.io/gh/jaebradley/example-rollup-react-component-npm-package/branch/master/graph/badge.svg)](https://codecov.io/gh/jaebradley/example-rollup-react-component-npm-package)\r\n[![npm](https://img.shields.io/npm/dt/@jaebradley/example-rollup-react-component-npm-package.svg)](https://www.npmjs.com/package/@jaebradley/example-rollup-react-component-npm-package)\r\n[![npm](https://img.shields.io/npm/v/@jaebradley/example-rollup-react-component-npm-package.svg)](https://www.npmjs.com/package/@jaebradley/example-rollup-react-component-npm-package)\r\n\r\nExample `React` component \"library\" using [`rollup`](https://github.com/rollup/rollup) that is published to `npm`.\r\n\r\n## `rollup` and `webpack`\r\n\r\nThere are a lot of articles that compare `rollup` and `webpack` (like [this](https://medium.com/webpack/webpack-and-rollup-the-same-but-different-a41ad427058c) or [this](https://webpack.js.org/comparison/) or [this](https://stackoverflow.com/a/43255948/5225575) or [this](https://nolanlawson.com/2016/08/15/the-cost-of-small-modules/)).\r\n\r\nThe general point is\r\n> `webpack` is generally a better fit for applications, and `rollup` is generally a better fit for libraries\r\n<sup>[1](#general-footnote)</sup>\r\n\r\n## So what is this project?\r\n\r\nI've never used `rollup` before - hell, I've *barely* used `webpack` before.\r\n\r\nThis was mostly to see how easy / difficult it was to create a `React` component package using `rollup` (aka \"proof-of-concept\").\r\n\r\nMy requirements for this package were\r\n\r\n1. Use `babel`\r\n2. Use `semantic-release`\r\n3. Use `sass`\r\n4. Support `umd` and `es` modules\r\n5. Use `storybook`\r\n6. Make the exported components really simple\r\n\r\n## My general thoughts\r\n\r\n* Seemed pretty easy to get started with `rollup`\r\n  * There are **a lot of plugins** <sup>[2](#metric-fuck-ton-footnote)</sup>\r\n  * Pretty easy to specify output types (`umd` and `es`, for example)\r\n  * Some `rollup` plugins didn't really play nicely with `babel@7` - which is why I downgraded to `6` (I could definitely be messing something up)\r\n* Not an easy way to plug `storybook` in\r\n  * It's weird and feels kind've gross because `storybook` is using `webpack` to build 😬\r\n* Articles that were helpful\r\n  * [`rollup` Guide](https://rollupjs.org/guide/en)\r\n  * [How I Set Up a React Component Library with Rollup](https://medium.com/tech-grandata-com/how-i-set-up-a-react-component-library-with-rollup-be6ccb700333)\r\n  * [Publishing Baller React Modules](https://hackernoon.com/publishing-baller-react-modules-2b039d84bce7) <sup>[3](#baller-react-modules-footnote)</sup>\r\n  * [Making of a Component Library for React](https://hackernoon.com/making-of-a-component-library-for-react-e6421ea4e6c7)\r\n  * The [`transitive-bullshit/create-react-library`](https://github.com/transitive-bullshit/create-react-library) was also very useful to inspect\r\n\r\n## Footnotes\r\n\r\n<ul>\r\n  <li><a name=\"general-footnote\"><sup>1</sup></a>general general general general general. In general, I could do this all day.</li>\r\n  <li><a name=\"metric-fuck-ton-footnote\"><sup>2</sup></a><a href=\"https://github.com/rollup/rollup/wiki/Plugins\">Like a metric fuck ton of plugins</a></li>\r\n  <li><a name=\"baller-react-modules-footnote\"><sup>3</sup></a><a href=\"https://media.giphy.com/media/oOTTyHRHj0HYY/giphy.gif\">How I feel about \"baller\"</a></li>\r\n</ul>\r\n","readmeFilename":"README.md"}