{"bin":{"chromatic":"./bin/register.js","chromatic-cli":"./bin/register.js"},"dist":{"shasum":"766421dbceca1fd454b63865509a4d22edc519dd","tarball":"https://registry.npmjs.org/storybook-chromatic/-/storybook-chromatic-1.0.0-debug.1.tgz","fileCount":51,"integrity":"sha512-z6EC/ccu1sPRFy5MuqgijIdIAZ14agTNOi0tO1fhY06KwEQK9OGdcUIjzCEq286bwuTIJZ4T5mJIzIc3YgYKQA==","signatures":[{"sig":"MEYCIQCfHkmvIumUe1H292aI59i46/Z7UMDb2KH8iIlb92DlWAIhAIo+d6jqxjxzGJA3C2r80iAF0Gi847sZOoFqbJPxQWYh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":110818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZPkvCRA9TVsSAnZWagAAeZQP/0W7P0ncufDarp7gUhEh\nDnun/i6fGp8cyAviDlC/7b8ABq6er6HVal/2jKA/Q0lplIFpFAIOYLDC+xHO\npBKISQIroxevDedYE7p7Q0WvzsleA8D0YOW/TV6seq2G+wy9BIl4x3xUTAjA\n1pmI3MUts6r0Dxn+LB3QMWUvBJjxOmL79ZB5YqZf3DUrQRmtQN/aG4fDaTdI\nAvLy28teFOKiS4Y1hr9osBVWPgBhOGjASBJzLOePMRvbXAZuhrVV3ZHIC30C\nZ4tbcF855OOtUfp4YHUbu3HhKZywuUgh28qdks+0wmxEnd2sAzR62V1gpdwW\nqqIWHgbC0rSGqvfmZUDGCm71PBHNrZsv6SXazXhvodPzQEx1xEs+R5zaMiym\nN7/JwUyMdh7O3clFeejH/Y3cvS74W13uMykDlHdrrWSrKW17oGpiatl5tx+n\nF1cbGCF1p89owRPVW1xjVxdM+Ni/sQdGKnoIgDXLc4dHfVbScWSTFrmxf9jo\nW1x80gzsCp0bH7TXaKZrc+RH4g1tHIrJHtRGhS7+5udq30o3G861C82aYnHE\nEL2nhe58H+921vw6y6f197DPil5NJAmEvx+OlV6HNLTcau5X+Mrvpaaybbkg\nBTQMSpaBRixstyIUibbr2TzMYf1iK/WGv1XW6iYIRdp6UW6LA1Oa78y3QknI\n+VXv\r\n=n2yb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./storybook-addon.js","name":"storybook-chromatic","husky":{"hooks":{"pre-commit":"yarn lint-staged"}},"module":"./src/storybook-addon.js","readme":"# Storybook Chromatic & Storybook Chroma\n\nA CLI for uploading/connecting your storybook to chromatic/chroma.\n\n## Install\n\n```sh\nyarn add storybook-chromatic\n# or\nyarn add storybook-chroma\n```\n\n## Usage\n\nAdd a npm script called `chromatic` to your `package.json`\n\n```\n  \"chromatic\": \"chromatic\",\n```\n\n### Main options\n\n```\n--app_code=\"<your app code>\"\n```\n\nYou can also use the environment variable: `CHROMATIC_APP_CODE`\n\n### Storybook options\n\n```\n--build-script-name [name], -b  The npm script that builds your Storybook [build-storybook]\n--script-name [name], -s  The npm script that starts your Storybook [storybook]\n--exec <command>, -e  Alternatively, a full command to run to start your storybook\n--do-not-start, -S  Don't attempt to start or build; use if your Storybook is already running\n\n--storybook-port <port>, -p  What port is your Storybook running on (auto detected from -s, if set)\n--storybook-url <url>, -u  Storybook is already running at (external) url (implies -S)'\n--storybook-build-dir, -d     <dirname>  Provide a directory with your built storybook; use if you've already built your storybook\n--storybook-https  Use if Storybook is running on https (auto detected from -s, if set)\n--storybook-cert <path>  Use if Storybook is running on https (auto detected from -s, if set)\n--storybook-key <path>  Use if Storybook is running on https (auto detected from -s, if set)\n--storybook-ca <ca>  Use if Storybook is running on https (auto detected from -s, if set)    \n```\n\nThese options are not required, this CLI is 0-config if you have a `build-storybook` script in your `package.json`.\n\n### Chromatic options\n\n```\n--auto-accept-changes [branch]  Accept any (non-error) changes or new stories for this build [only for <branch> if specified]'\n--exit-zero-on-changes [branch]  Use a 0 exit code if changes are detected (i.e. don't stop the build) [only for <branch> if specified]\n--ignore-last-build-on-branch [branch]  Do not use the last build on this branch as a baseline if it is no longer in history (i.e. branch was rebased) [only for <branch> if specified]'\n--preserve-missing  Treat missing stories as unchanged (as opposed to deleted) when comparing to the baseline'\n--no-interactive  Do not prompt for package.json changes\n--only <component:story>  Only run a single story or a glob-style subset of stories (for debugging purposes\n```\n\n### Debug options\n\n```\n--skip  Skip chromatic tests (mark as passing)\n--list  List available stories (for debugging purposes)\n--ci  This build is running on CI, non-interactively (alternatively, pass CI=true)\n--debug  Output more debugging information\n```\n\n## Contributing\n\nBecause of the nature of this package: it being a connector between storybook and a web service, you may need an app_code to test this locally. Just send us a message at opensource@hichroma.com or sign up for an account!\n\nAll contributions are welcome!\n\n## Future plans:\n\n- We'd like to unify this so there's just a single package on npm.\n- Migrate to Typescript\n- Deprecate all the storybook options in favour of a sane `--config` flag\n\n## Publishing\n\nWe publish with a script:\n\n```sh\n./scripts/publish.js\n```\n\nYou can pass any flags to this you'd normally be able to pass to `npm publish`, such as `--dry-run` or `--tag=\"alpha\"`.\n\nBefore publishing we check if the current user has permissions and if the version isn't already on npm\n\n## Compatibility & versioning\n\nCompatibility is guaranteed between this package and chromatic like so:\n\n- Production chromatic ensures it’s compatible with what’s on NPM\n- What's on the master branch is equal to what's published on npm\n- This package ensures it’s compatible with production chromatic\n\nTo facilitate upgrading in the future, removing and adding features, this is the process:\n\n- Any new features will have to be on chromatic production before they could be used in this package\n- We can feature flags to be able to test new functionality\n- Chromatic production can not remove any features this package depends on until after the usage has been removed from this package.\n  Plus a grace period so users have upgraded\n","gitHead":"381ec80c6d132dc35b25bc6bf966b5d0c13cbdc9","license":"MIT","scripts":{"dev":"npm-run-all --parallel -l 'build:** -- --watch'","lint":"yarn lint:js src .storybook bin stories","test":"jest","build":"npm-run-all --serial -l build:**","lint:js":"cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.json,.mjs --report-unused-disable-directives","prepare":"npm run build","prebuild":"rm -rf ./dist","build:bin":"BABEL_ENV=build babel -s -d ./dist ./src -D","chromatic":"./bin/register.js","storybook":"start-storybook -p 9009","lint:package":"sort-package-json","build-storybook":"build-storybook"},"_npmUser":{"name":"ndelangen","email":"ndelangen@me.com"},"_npmVersion":"6.9.0","description":"Visual Testing for Storybook","directories":{},"lint-staged":{"linters":{"*.js":["yarn lint:js --fix","git add"],"*.json":["yarn lint:js --fix","git add"],"package.json":["yarn lint:package","git add"]}},"maintainers":[{"name":"ndelangen","email":"ndelangen@me.com"},{"name":"tmeasday","email":"tom@thesnail.org"}],"_nodeVersion":"8.11.3","dependencies":{"esm":"^3.2.25","tmp":"^0.1.0","jest":"^24.8.0","meow":"^5.0.0","pino":"5.13.2","uuid":"^3.3.2","debug":"^4.1.1","jsdom":"^15.1.1","dotenv":"^8.1.0","env-ci":"^4.1.1","is-url":"^1.2.4","npmlog":"^4.1.2","pkg-up":"^3.1.0","semver":"^6.2.0","fake-tag":"^1.0.0","fs-extra":"^8.1.0","jsonfile":"^5.0.0","node-ask":"^1.0.1","progress":"^2.0.3","denodeify":"^1.2.1","minimatch":"^3.0.4","tree-kill":"^1.1.0","node-fetch":"^2.6.0","param-case":"^2.1.1","async-retry":"^1.1.4","common-tags":"^1.8.0","strip-color":"^0.1.0","yarn-or-npm":"^3.0.1","@babel/runtime":"^7.3.1","util-deprecate":"^1.0.2","progress-stream":"^2.0.0","enhanced-resolve":"^4.1.0","node-loggly-bulk":"^2.2.4","@storybook/router":"^5.0.0","@babel/preset-react":"^7.0.0","rotating-file-stream":"^1.4.3","@chromaui/localtunnel":"2.0.0","babel-plugin-require-context-hook":"^1.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chalk":"^2.4.2","husky":"3.0.3","react":"^16.0.0","eslint":"^6.1.0","cross-env":"^5.2.0","@babel/cli":"^7.2.3","prop-types":"^15.7.2","@babel/core":"^7.3.1","lint-staged":"^8.1.7","npm-run-all":"^4.0.2","babel-loader":"8","@babel/register":"^7.0.0","prettier-eslint":"^9.0.0","@storybook/react":"5.2.0-beta.30","@babel/preset-env":"7.5.5","babel-preset-jest":"^24.9.0","eslint-plugin-jest":"^22.4.1","eslint-plugin-json":"^1.4.0","babel-preset-minify":"^0.5.1","eslint-plugin-react":"^7.12.4","why-is-node-running":"^2.1.0","eslint-config-airbnb":"^18.0.1","eslint-plugin-import":"^2.16.0","eslint-config-prettier":"^6.0.0","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-prettier":"^3.0.1","@typescript-eslint/parser":"^2.0.0","@babel/plugin-transform-runtime":"^7.5.5","@typescript-eslint/eslint-plugin":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/storybook-chromatic_1.0.0-debug.1_1566898478972_0.3890025075897503","host":"s3://npm-registry-packages"},"_id":"storybook-chromatic@1.0.0-debug.1","version":"1.0.0-debug.1"}