feat: add initial TypeScript and ESLint configurations for library and React applications
- Created TypeScript configuration files for library and React applications. - Added ESLint configurations for library, React, and Storybook. - Implemented a basic Button component in the UI package. - Set up Vite for the docs development environment.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"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.1",
|
||||
"serve": "^14.2.1",
|
||||
"storybook": "^8.2.6",
|
||||
"typescript": "5.5.4",
|
||||
"vite": "^5.1.4"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user