0.1.0 • Published 8 months ago

cra-template-comp6080-typescript v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

CRA Template for COMP6080

A custom Create React App template designed for COMP6080 course.

✨ Features

  • Pre-configured TypeScript support
  • Integrated testing suite (Jest + React Testing Library)
  • React Router v6 for routing
  • Code quality tools:
    • Prettier - Code formatting
    • ESLint - Code linting
    • Husky - Git hooks management
    • lint-staged - Staged files checking

🚀 Quick Start

Create a new project with:

npx create-react-app my-app --template comp6080-typescript

📦 Available Scripts

# Start development server
npm start

# Run tests
npm test

# Build for production
npm run build

🔧 Project Structure

my-app/
  ├── public/          # Static assets
  │   ├── index.html   # HTML template
  │   └── favicon.ico  # Website icon
  ├── src/             # Source code
  │   ├── components/  # Reusable components
  │   │   └── Footer.tsx
  │   ├── pages/       # Page components
  │   │   ├── About.tsx
  │   │   └── Home.tsx
  │   ├── styles/      # Styled components & themes
  │   ├── App.tsx      # Application entry
  │   └── index.tsx    # Render entry
  ├── package.json     # Project configuration
  ├── tsconfig.json    # TypeScript configuration
  ├── .eslintrc.js    # ESLint configuration
  └── .prettierrc     # Prettier configuration

## 📝 License

MIT © [Snowden Fu](https://github.com/snowden-fu)
0.1.0

8 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago