This project is completelly generated by Cursor.
A TypeScript project with ESLint and Prettier configured for modern development.
This project is configured with:
- TypeScript - Type-safe JavaScript development
- ESLint - Code linting with TypeScript support
- Prettier - Code formatting
- tsx - Fast TypeScript execution for development
npm run build- Compile TypeScript to JavaScriptnpm run dev- Run TypeScript files directly in developmentnpm start- Run the compiled JavaScriptnpm run lint- Check for linting errorsnpm run lint:fix- Fix auto-fixable linting errorsnpm run format- Format code with Prettiernpm run format:check- Check if code is formattednpm run type-check- Run TypeScript type checking
- Install recommended VS Code extensions (you'll get a prompt when opening the project)
- Write your TypeScript code in the
src/directory - Code will be automatically formatted on save with Prettier
- ESLint errors will be auto-fixed on save when possible
- Use
npm run devfor development with hot reloading - Use
npm run lintandnpm run formatto ensure code quality - Use
npm run buildto compile for production
The project includes VS Code workspace settings that:
- Format code on save using Prettier
- Auto-fix ESLint errors on save
- Validate TypeScript/JavaScript files with ESLint
- Configure proper tab size and spacing
- Trim trailing whitespace and ensure final newlines
├── src/ # TypeScript source files
├── dist/ # Compiled JavaScript output
├── .vscode/ # VS Code workspace settings
│ ├── settings.json # Editor settings (format on save, etc.)
│ └── extensions.json # Recommended extensions
├── eslint.config.js # ESLint configuration
├── .prettierrc.json # Prettier configuration
├── .prettierignore # Prettier ignore patterns
├── tsconfig.json # TypeScript configuration
└── package.json # Project dependencies and scripts