:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
{
"name": "@posthog/storybook",
"scripts": {
"build:products": "pnpm --filter=@posthog/frontend build:products",
"build:workers": "cd ../.. && node frontend/bin/watch-workers.mjs --outdir common/storybook/.workers",
"build": "pnpm build:products && pnpm build:workers && DEBUG=0 NODE_OPTIONS=--max-old-space-size=8192 storybook build -o dist",
"start": "pnpm build:products && pnpm build:workers && DEBUG=0 NODE_OPTIONS=--max-old-space-size=8192 storybook dev -p 6006 --no-open",
"test:visual:ci:update": "test-storybook -u --junit --no-index-json --maxWorkers=2",
"test:visual:ci:verify": "test-storybook --ci --junit --no-index-json --maxWorkers=2",
"test:visual:debug": "pnpm build:products && PWDEBUG=1 NODE_OPTIONS=--max-old-space-size=16384 test-storybook --browsers chromium webkit --no-index-json",
"test:visual:update": "pnpm build:products && cd ../.. && rm -rf frontend/__snapshots__/__failures__/ && docker compose -f docker-compose.playwright.yml run --rm -it --build playwright pnpm test:visual:update:docker --url http://host.docker.internal:6006",
"test:visual:update:docker": "pnpm build:products && NODE_OPTIONS=--max-old-space-size=16384 test-storybook -u --browsers chromium webkit --no-index-json"
},
"dependencies": {
"@babel/runtime": "^7.26.10",
"@jest/globals": "^30.0.5",
"@jest/test-sequencer": "^30.0.5",
"@posthog/frontend": "workspace:*",
"@storybook/addon-a11y": "^10.4.3",
"@storybook/addon-docs": "^10.4.3",
"@storybook/addon-links": "^10.4.3",
"@storybook/csf": "^0.1.12",
"@storybook/react": "catalog:",
"@storybook/react-vite": "catalog:",
"@storybook/test-runner": "^0.24.4",
"@tailwindcss/vite": "4.3.0",
"@types/jest-image-snapshot": "^6.4.0",
"buffer": "^6.0.3",
"history": "^5.0.1",
"jest-image-snapshot": "^6.4.0",
"mockdate": "^3.0.5",
"posthog-js-lite": "4.13.1",
"sass": "^1.26.2",
"storybook": "catalog:",
"vite": "catalog:"
},
"devDependencies": {
"@playwright/test": "catalog:",
"http-server": "^14.1.1",
"wait-on": "^7.2.0"
}
}