@chromatic-com/storybook
Version:
Catch unexpected visual changes & UI bugs in your stories
178 lines (177 loc) • 4.84 kB
JSON
{
"name": "@chromatic-com/storybook",
"version": "4.0.1",
"description": "Catch unexpected visual changes & UI bugs in your stories",
"keywords": [
"storybook-addons",
"test",
"visual tests",
"vrt",
"chromatic"
],
"repository": {
"type": "git",
"url": "git+https://github.com/chromaui/addon-visual-tests.git"
},
"license": "MIT",
"author": "Chromatic <support@chromatic.com>",
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": "./dist/index.js",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./manager": "./dist/manager.js",
"./preset": "./dist/preset.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
"files": [
"assets/**/*",
"dist/**/*",
"README.md",
"*.js",
"*.d.ts"
],
"scripts": {
"build": "tsup",
"build-storybook": "storybook build --webpack-stats-json",
"build:staging": "CHROMATIC_BASE_URL=https://www.staging-chromatic.com tsup",
"build:watch": "run-p 'build --watch' 'codegen --watch'",
"chromatic": "chromatic --config-file production.config.json",
"codegen": "graphql-codegen",
"lint": "eslint src --report-unused-disable-directives",
"format": "prettier . --write",
"prerelease": "zx scripts/prepublish-checks.mjs",
"release": "yarn run build && auto shipit",
"start": "run-p build:watch 'storybook --quiet'",
"storybook": "CHROMATIC_ADDON_NAME='../src/dev.ts' storybook dev -p 6004",
"storybook-from-dist": "CHROMATIC_USE_DIST_VERSION=true CHROMATIC_ADDON_NAME='../dist/index.js' storybook dev -p 6004",
"test": "vitest --coverage",
"typecheck": "tsc --noemit"
},
"resolutions": {
"jackspeak": "2.1.1"
},
"dependencies": {
"@neoconfetti/react": "^1.0.0",
"chromatic": "^12.0.0",
"filesize": "^10.0.12",
"jsonfile": "^6.1.0",
"strip-ansi": "^7.1.0"
},
"devDependencies": {
"@0no-co/graphqlsp": "^1.12.16",
"@auto-it/slack": "^11.2.1",
"@emotion/weak-memoize": "^0.3.1",
"@graphql-codegen/cli": "^5.0.5",
"@graphql-typed-document-node/core": "^3.2.0",
"@parcel/watcher": "^2.4.1",
"@storybook/addon-designs": "^10.0.1",
"@storybook/addon-docs": "^9.0.0",
"@storybook/icons": "^1.4.0",
"@storybook/react-vite": "^9.0.0",
"@types/jsonfile": "^6.1.1",
"@types/node": "^22.13.5",
"@types/pluralize": "^0.0.29",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.25.0",
"@typescript-eslint/parser": "^8.25.0",
"@urql/exchange-auth": "^2.1.6",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.8",
"auto": "^11.0.5",
"boxen": "^5.0.1",
"date-fns": "^2.30.0",
"dedent": "^0.7.0",
"eslint": "^9.21.0",
"eslint-config-prettier": "^10.0.2",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-storybook": "^9.0.0",
"graphql": "^16.8.1",
"msw": "^2.0.0",
"msw-storybook-addon": "2.0.4",
"npm-run-all": "^4.1.5",
"pluralize": "^8.0.0",
"polished": "^4.2.2",
"prettier": "^3.5.3",
"prompts": "^2.4.2",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-joyride": "^2.7.2",
"rimraf": "^3.0.2",
"storybook": "^9.0.0",
"ts-dedent": "^2.2.0",
"tsup": "^6.6.3",
"typescript": "^5.7.3",
"urql": "^4.0.3",
"uuid": "^11.1.0",
"vite": "^6.2.2",
"vite-plugin-environment": "^1.1.3",
"vite-plugin-turbosnap": "^1.0.3",
"vitest": "^3.0.8",
"zod": "^3.22.2",
"zx": "^1.14.1"
},
"peerDependencies": {
"storybook": "^0.0.0-0 || ^9.0.0 || ^9.1.0-0"
},
"packageManager": "yarn@4.1.1",
"engines": {
"node": ">=20.0.0",
"yarn": ">=1.22.18"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"auto": {
"baseBranch": "main",
"plugins": [
"npm",
"released",
[
"slack",
{
"atTarget": "support-team",
"iconEmoji": ":package:"
}
]
]
},
"bundler": {
"exportEntries": [
"./src/index.ts"
],
"managerEntries": [
"./src/manager.tsx"
],
"nodeEntries": [
"./src/preset.ts"
]
},
"msw": {
"workerDirectory": "public"
},
"storybook": {
"displayName": "Visual Tests",
"icon": "https://github.com/chromaui/addon-visual-tests/assets/486540/9acf6f3f-eadb-4b9e-b934-c4b0f87d9430",
"supportedFrameworks": [
"react",
"vue",
"angular",
"web-components",
"ember",
"html",
"svelte",
"preact",
"react-native"
]
}
}