Sergey Krylov 3534ec4f77
Some checks failed
CI / ci (pull_request) Failing after 3m26s
CI / ci (push) Failing after 2m49s
fix(design-system): add @storybook/test and @testing-library/dom deps
- @storybook/test needed by stories (import { fn })
- npm overrides resolves peer dep conflict with storybook 10
- @testing-library/dom explicit dep (peer of @testing-library/react)
- 157 design-system tests + 111 frontend tests all pass
2026-06-21 15:49:59 +03:00

53 lines
1.6 KiB
JSON

{
"name": "@moex-vibe/design-system",
"version": "0.1.0",
"private": true,
"type": "module",
"files": ["dist"],
"exports": {
".": "./dist/index.js",
"./tokens": "./dist/tokens/index.js",
"./theme": "./dist/theme/index.js"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "vitest run --project unit",
"storybook": "storybook dev -p 6006 --no-open",
"build-storybook": "storybook build",
"test:storybook": "vitest run --project storybook",
"lint": "eslint \"src/**/*.{ts,tsx}\""
},
"peerDependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@mui/icons-material": "^6.5.0",
"@mui/material": "^6.5.0",
"@tanstack/react-table": "^8.21.3",
"react": "^18.3.0",
"react-dom": "^18.3.0"
},
"devDependencies": {
"@storybook/addon-a11y": "^10.2.9",
"@storybook/addon-vitest": "^10.2.9",
"@storybook/react-vite": "^10.2.9",
"@storybook/test": "^8.6.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@vitest/browser": "^4.1.8",
"@vitest/browser-playwright": "^4.1.8",
"eslint": "^8.0.0",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"playwright": "^1.55.0",
"storybook": "^10.2.9",
"typescript": "^5.3.0",
"vitest": "^4.1.8"
}
}