Every story is now executed as a smoke test (mount + no console errors) via @storybook/test-runner. New script: pnpm test:stories runs build-storybook then test-storybook against the static build. Spec: §6.8 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 lines
625 B
JSON
25 lines
625 B
JSON
{
|
|
"name": "template",
|
|
"private": true,
|
|
"packageManager": "pnpm@9.15.4",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"dev": "turbo run dev",
|
|
"lint": "turbo run lint",
|
|
"test": "turbo run test",
|
|
"test:e2e": "turbo run test:e2e",
|
|
"test:stories": "turbo run test:stories",
|
|
"typecheck": "turbo run typecheck",
|
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
|
|
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\""
|
|
},
|
|
"devDependencies": {
|
|
"prettier": "^3.5.0",
|
|
"turbo": "^2.4.0",
|
|
"typescript": "^5.8.0"
|
|
}
|
|
}
|