This is a small portfolio site built with modern web tooling.
- Framework: React
- Tooling / Bundler: Vite
- Language: TypeScript
- Styling: Tailwind CSS
- Icons: Font Awesome (
@fortawesome/react-fontawesome) - Routing:
react-router - Deployment:
gh-pages(publishes thedistfolder to GitHub Pages) - Linting: ESLint
- Formatting: Prettier (with
prettier-plugin-tailwindcss) - Vite React plugin:
@vitejs/plugin-react-swc
Run these from the project root after installing dependencies with npm install.
npm run dev: Starts the Vite development server for local development.npm run build: Runs TypeScript build (tsc -b) and thenvite buildto produce a productiondistfolder.npm run preview: Serves the production build locally usingvite previewso you can check the built site.npm run lint: Runs ESLint across the project to detect linting issues.npm run format: Runs Prettier in check mode (prettier --check .) to show formatting issues.npm run format:fix: Runs Prettier to write formatting changes (script uses a Node wrapper to execute Prettier with--write).npm run predeploy: Runs thebuildscript (this is configured to run automatically beforedeploy).npm run deploy: Publishes thedistfolder to GitHub Pages usinggh-pages -d dist.
- Install dependencies:
npm install- Start local development server:
npm run dev- Build for production:
npm run build- Deploy to GitHub Pages:
npm run deploy