{"bugs":{"url":"https://github.com/mapbox/frontend-documentation/issues"},"dist":{"shasum":"7ef7bd9a6543bd7a86d09d1e0dd086dc5bd44e31","tarball":"https://registry.npmjs.org/@mapbox/dr-ui/-/dr-ui-0.10.0-beta.3.tgz","fileCount":86,"integrity":"sha512-AEiF4TdvIIuqbOoRtUilBYcrk7BcXEmTn/cZor58qehKNzcrlUudOTLP5uchNcO/ifV8HByd3DDknclVIBXmTA==","signatures":[{"sig":"MEUCIGwMFF5QSUx1hTeNzZe/JNFJM0w9Gru1tTKthlvY3J2QAiEA40yNLsZnhoF8Bh7K/gmzB7e/kLesZ5fPkyBRNvaxyac=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":127916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0ehHCRA9TVsSAnZWagAAtRgP/0rn9ecg2gCkG9NFYpvj\nASYtMGjB1y6WVjbFnEJCcVjCVcJXgbFufUADRzFF2hDJ/Dxkg3clWeW3ciad\nwhZ+RwB9p1WSr2Y50Rs1lsY1tOen4J2f8ZNMDZMdRe35erom08lJhKMaR+f1\nlrHgIIW05YWph3sF6bBYW5vBj2X9wttC7Q40k4iaoKAS/ugLTHU6dQCeIQmC\nHBuis9EHGe7Du6bTJwJhvZ51pg/8PSWfRM9J4GCKhcft2GXgXdNNrXndwuhs\noapioEt8Nln2f/RucZ9IDv3tv1cxElzfm8y4jBuM0NG+XUorZtkyBx+ZnRR8\nwrD7j2J5UOZ5eXe7ksVxNZXDtbUXCseF98Fu0ZslSOdrpzQorwXUzMALf8RY\nQuU067PL3JrTMB/3xMDul03p/LADIdUlSKVNYVOpYfy0onw5KwBKRtIzHlj+\nfV0ZRSnKcukpyrtRgmv78NUddU0DvbOBaL4h+2j0DXK0jtjwjgLL5DdaPGX7\n/2nf64cyso1DWUjQP2vhtiLrXtEasfT1pZMEXoAo0G54O9IugvhT74h5ye5L\nxGai5D7ILMydhiU7n6QBy74RaLDTOTiNAwaAhBT8QynJ5gwI4r42gf8qTysm\nr/zx0b522dWUakR520PudjK6iagIbW7HZY4VbB0fh0SApUphSLqDX6vE0UXQ\nQG+x\r\n=oR+j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","name":"@mapbox/dr-ui","author":{"name":"Mapbox"},"readme":"# @mapbox/dr-ui\n\nPronounced \"Doctor UI\". **D**ocumentation **R**eact **UI** components. See [@mapbox/mr-ui](https://github.com/mapbox/mr-ui).\n\nUI components for Mapbox documentation projects.\n\n**This project is for internal Mapbox usage.** The code is open source and we appreciate bug reports; but we will only consider feature requests and pull requests from Mapbox developers.\n\n## Installation\n\n```\nnpm install @mapbox/dr-ui\n```\n\nOn Mapbox projects, pair these components with version 0.26.0 of Mapbox's custom [Assembly](https://labs.mapbox.com/assembly/) build. (This is not in `peerDependencies` because you might use `<link>` and `<script>` tags instead of the npm package.)\n\nThe public Assembly build should work fine, with maybe one or two hiccups.\n\n## Usage\n\n**Import individual components!** All components are exposed at `@mapbox/dr-ui/{component-name}`. For example:\n\n```js\nimport Card from '@mapbox/dr-ui/card';\nimport BackToTopButton from '@mapbox/dr-ui/back-to-top-button';\n```\n\nOnly the component itself and whatever *it* depends on will be drawn into your bundle.\n\n## Development\n\nHere are some commands you'll probably want to use:\n\n```bash\n# Start the test-cases app.\nnpm start\n\n```\n\nDocs build process and automated testing coming soon.\n\nWhen making changes to the build script, test that the module builds correctly by running `npm run build` and then linking the local package with another local repo. Make sure you are able to run the local repo without errors from dr-ui.\n\n### Publishing\n\nThe `build` command creates a `pkg/` directory that contains the code we want to publish, organized the way we want it. So `pkg/` is the directory that we publish. `pkg/package.json` is a clone of `package.json` but with `private: true` removed.\n\n1. Document changes in the CHANGELOG.\n1. Increment the version key in package.json and package-lock.json.\n1. Make sure all this is committed, typically with a commit message like `Prepare 0.0.11`.\n1. Create a tag. No message is necessary, since the changelog includes explanations of changes. For example: `git tag -a 0.0.11 -m \"\"`.\n1. Push the tag: `git push --tags`.\n1. Push your commit.\n1. Build the `pkg/` directory: `npm run build`.\n1. `cd` into the `pkg/` directory and publish the new version on npm.\n","gitHead":"e818148c681b05c5543400316e078f25c5767cf2","license":"BSD-2-Clause","scripts":{"budo":"budo test/app.js -l -d -P -- -t babelify","lint":"eslint .","test":"jest tests/*.test.js","build":"scripts/build-module-indexes.js && scripts/build-package.js","start":"budo ./src/test-cases-app/test-cases-app.js --dir ./src/test-cases-app --live --debug --pushstate -- -t babelify","format":"prettier '**/*.js' --write","pretest":"npm run lint","prestart":"npm run build-component-index && npm run cp-assembly","precommit":"lint-staged","cp-assembly":"del ./src/test-cases-app/dist && cpy node_modules/@mapbox/mapbox-assembly/dist/*.* ./src/test-cases-app/dist && cpy src/css/docs-prose.css ./src/test-cases-app/dist && cpy src/css/prism.css ./src/test-cases-app/dist","build-component-index":"rtk-index ./src/components ./src/test-cases-app/component-index.js"},"_npmUser":{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},"homepage":"https://github.com/mapbox/frontend-documentation#readme","repository":{"url":"git+https://github.com/mapbox/frontend-documentation.git","type":"git"},"_npmVersion":"6.9.0","description":"Mapbox frontend tools for documentation websites.","directories":{},"maintainers":[{"name":"mapbox-admin","email":"accounts@mapbox.com"},{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-05","email":"accounts+npmjs-05@mapbox.com"},{"name":"mapbox-npm-06","email":"accounts+npmjs-06@mapbox.com"},{"name":"mapbox-npm-07","email":"accounts+npmjs-07@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-advanced-actions","email":"accounts+npmjs-advanced-actions@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"}],"_nodeVersion":"10.1.0","dependencies":{"debounce":"^1.2.0","downshift":"^3.2.7","classnames":"^2.2.6","hastscript":"^5.0.0","@mapbox/mr-ui":"^0.7.0","react-stickynode":"^2.1.1","react-html-parser":"^2.0.2","@elastic/react-search-ui":"^0.8.0","rehype-sectionize-headings":"^1.0.0-rc.1","@elastic/search-ui-site-search-connector":"^0.8.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cpy":"^7.0.1","del":"^3.0.0","budo":"^11.6.0","jest":"^24.1.0","execa":"^0.10.0","husky":"^0.14.3","react":"^16.7.0","eslint":"^5.12.1","cpy-cli":"^2.0.0","del-cli":"^1.1.0","babelify":"^10.0.0","make-dir":"^1.3.0","prettier":"^1.16.1","react-dom":"^16.7.0","@babel/cli":"^7.2.3","prop-types":"^15.6.2","@babel/core":"^7.3.4","lint-staged":"^7.3.0","babel-eslint":"^8.2.6","highlight.js":"^9.13.1","hard-rejection":"^1.0.0","unist-util-visit":"^1.4.0","@babel/preset-env":"^7.3.4","eslint-plugin-node":"^6.0.1","@babel/preset-react":"^7.0.0","eslint-plugin-react":"^7.12.4","eslint-plugin-import":"^2.15.0","eslint-plugin-promise":"^3.8.0","eslint-config-prettier":"^2.10.0","@mapbox/mapbox-assembly":"^0.26.0","@mapbox/react-test-kitchen":"^0.1.3","@mapbox/eslint-config-mapbox":"^1.2.1","@babel/plugin-proposal-class-properties":"^7.3.4"},"_npmOperationalInternal":{"tmp":"tmp/dr-ui_0.10.0-beta.3_1557260358545_0.19823168746991549","host":"s3://npm-registry-packages"},"_id":"@mapbox/dr-ui@0.10.0-beta.3","version":"0.10.0-beta.3"}