- @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
48 lines
1.7 KiB
JSON
48 lines
1.7 KiB
JSON
{
|
|
"name": "moex-vibe",
|
|
"private": true,
|
|
"workspaces": [
|
|
"apps/backend",
|
|
"apps/frontend",
|
|
"apps/docs",
|
|
"packages/design-system"
|
|
],
|
|
"scripts": {
|
|
"dev:backend": "npm run start:dev -w apps/backend",
|
|
"dev:frontend": "npm run dev -w apps/frontend",
|
|
"build:backend": "npm run build -w apps/backend",
|
|
"build:frontend": "npm run build -w apps/frontend",
|
|
"test:backend": "npm run test -w apps/backend",
|
|
"test:frontend": "npm run test -w apps/frontend",
|
|
"lint": "npm run lint -w apps/backend && npm run lint -w apps/frontend",
|
|
"format": "prettier --write \"**/*.{ts,tsx}\"",
|
|
"format:check": "prettier --check \"**/*.{ts,tsx}\"",
|
|
"dev:docs": "npm run dev -w apps/docs",
|
|
"build:docs": "npm run build -w apps/docs",
|
|
"build:design-system": "npm run build -w packages/design-system",
|
|
"test:design-system": "npm run test -w packages/design-system",
|
|
"lint:design-system": "npm run lint -w packages/design-system",
|
|
"storybook": "npm run storybook -w packages/design-system",
|
|
"build:storybook": "npm run build-storybook -w packages/design-system",
|
|
"test:storybook": "npm run test:storybook -w packages/design-system",
|
|
"prepare": "husky"
|
|
},
|
|
"lint-staged": {
|
|
"apps/backend/src/**/*.ts": ["eslint --max-warnings=0"],
|
|
"apps/backend/test/**/*.ts": ["eslint --max-warnings=0"],
|
|
"apps/frontend/src/**/*.{ts,tsx}": ["eslint --max-warnings=0"],
|
|
"packages/design-system/src/**/*.{ts,tsx}": ["eslint --max-warnings=0"],
|
|
"**/*.{ts,tsx}": ["prettier --check"]
|
|
},
|
|
"devDependencies": {
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.4.0",
|
|
"prettier": "^3.0.0"
|
|
},
|
|
"overrides": {
|
|
"@storybook/test": {
|
|
"storybook": "10.4.6"
|
|
}
|
|
}
|
|
}
|