chromatic
- Version 11.7.1
- Published
- 4.28 MB
- No dependencies
- MIT license
Install
npm i chromatic
yarn add chromatic
pnpm add chromatic
Overview
Automate visual testing across browsers. Gather UI feedback. Versioned documentation.
Index
Functions
Functions
function isChromatic
isChromatic: (window?: Window) => boolean;
Returns
true
if running within Chromatic,false
otherwise. window - The window object whosenavigator
and/orlocation
is used to determine if running in Chromatic.
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (101)
- @actions/core
- @actions/github
- @antfu/ni
- @auto-it/exec
- @auto-it/slack
- @discoveryjs/json-ext
- @storybook/addon-essentials
- @storybook/addon-webpack5-compiler-swc
- @storybook/csf-tools
- @storybook/linter-config
- @storybook/react
- @storybook/react-webpack5
- @tsconfig/node16
- @types/archiver
- @types/async-retry
- @types/cross-spawn
- @types/fs-extra
- @types/jsonfile
- @types/listr
- @types/node
- @types/picomatch
- @types/progress-stream
- @types/prompts
- @types/semver
- @types/webpack-env
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- @vitest/coverage-v8
- ansi-html
- any-observable
- archiver
- async-retry
- auto
- boxen
- chalk
- clean-package
- cpy
- cross-env
- cross-spawn
- debug
- dotenv
- env-ci
- eslint
- eslint-config-prettier
- eslint-plugin-import
- eslint-plugin-json
- eslint-plugin-react
- esm
- execa
- fake-tag
- filesize
- find-up
- formdata-node
- fs-extra
- https-proxy-agent
- husky
- jsonfile
- junit-report-builder
- lint-staged
- listr
- listr-update-renderer
- meow
- mock-fs
- no-proxy
- node-ask
- node-fetch
- npm-run-all
- observable
- os-browserify
- p-limit
- picomatch
- pkg-up
- pluralize
- prettier
- progress-stream
- prompts
- prop-types
- react
- react-dom
- read-pkg-up
- semver
- slash
- snyk-nodejs-lockfile-parser
- sort-package-json
- storybook
- string-argv
- strip-ansi
- tmp-promise
- ts-dedent
- ts-loader
- tsup
- typescript
- util-deprecate
- uuid
- vite
- vitest
- why-is-node-running
- xxhash-wasm
- yarn-or-npm
- zen-observable
- zod
Peer Dependencies (2)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/chromatic
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/chromatic)
- HTML<a href="https://www.jsdocs.io/package/chromatic"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3311 ms. - Missing or incorrect documentation? Open an issue for this package.