Scaffold Vite 8 + React 19 + TypeScript project using the react-ts template. Removes the previous plain HTML/CSS/JS files and replaces them with the Vite scaffold. npm run dev verified to start without errors. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
48 lines
1.4 KiB
Markdown
48 lines
1.4 KiB
Markdown
# Simple Calculator
|
|
|
|
Greenfield project. Implementation is driven by the Vexa AI-SDLC pipeline (Jira project TSC).
|
|
|
|
## Project Structure
|
|
|
|
```
|
|
/
|
|
├── public/ # Static assets (favicon, icons)
|
|
├── src/ # React + TypeScript source
|
|
│ ├── App.tsx # Root App component
|
|
│ ├── App.css # App-level styles
|
|
│ ├── main.tsx # Entry point
|
|
│ └── index.css # Global styles
|
|
├── index.html # Vite entry HTML
|
|
├── package.json
|
|
├── tsconfig.json
|
|
├── tsconfig.app.json
|
|
├── tsconfig.node.json
|
|
├── vite.config.ts
|
|
├── README.md
|
|
└── CLAUDE.md # This file
|
|
```
|
|
|
|
## Build Commands
|
|
|
|
- `npm run build` — compile TypeScript and bundle with Vite
|
|
|
|
## Test Commands
|
|
|
|
No test suite has been configured yet. Update this section once testing infrastructure is in place.
|
|
|
|
## Development Commands
|
|
|
|
- `npm run dev` — start the Vite dev server (http://localhost:5173)
|
|
- `npm run preview` — preview the production build locally
|
|
- `npm run lint` — run oxlint
|
|
|
|
## Architecture Notes
|
|
|
|
- **Domain**: Simple Calculator — arithmetic operations (add, subtract, multiply, divide at minimum).
|
|
- **Stack**: React 19 + TypeScript, bundled with Vite 8.
|
|
|
|
## Code Style
|
|
|
|
- TypeScript strict mode enabled via `tsconfig.app.json`.
|
|
- No formatter configured yet — update this section once tooling is set up.
|