- Implemented `add` and `subtract` functions in multiple packages (web, ui, utils). - Created unit tests for these functions using Vitest in respective test files. - Updated turbo.json to include a new test pipeline for coverage and watch mode.
33 lines
1.0 KiB
JSON
33 lines
1.0 KiB
JSON
{
|
|
"name": "docs-dev",
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "storybook dev -p 6006",
|
|
"build": "storybook build --docs",
|
|
"preview-storybook": "serve storybook-static",
|
|
"clean": "rm -rf .turbo node_modules",
|
|
"lint": "eslint ./stories/*.stories.tsx --max-warnings 0"
|
|
},
|
|
"dependencies": {
|
|
"@repo/ui": "workspace:*",
|
|
"react": "^19.2.3",
|
|
"react-dom": "^19.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"@repo/eslint-config": "workspace:*",
|
|
"@repo/typescript-config": "workspace:*",
|
|
"@storybook/addon-actions": "^8.2.6",
|
|
"@storybook/addon-essentials": "^8.2.6",
|
|
"@storybook/addon-links": "^8.2.6",
|
|
"@storybook/react": "^8.2.6",
|
|
"@storybook/react-vite": "^8.2.6",
|
|
"@vitejs/plugin-react": "^5.1.2",
|
|
"eslint": "^8.57.0",
|
|
"serve": "^14.2.1",
|
|
"storybook": "^8.2.6",
|
|
"typescript": "5.5.4",
|
|
"vite": "^5.1.4"
|
|
}
|
|
} |