Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.77 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.77 KB

license ci workflow pnpm

React TypeScript App Template

This is a Github template repo that can be used for rapid application prototyping of React TypeScript applications:

  • React 18
  • Vite / Vitest setup
  • Prettier & Eslint setup (strict ruleset -- check the .eslintrc contents)
  • Github Actions CI & deployment workflows
  • Git pre-commit hook setup (husky & lint-staged)
  • Dependency management via Renovate
  • Package management via pnpm
  • CSS Reset

Make sure to update the following if using the template:

  • The LICENSE file.
  • All references to the string react-app-template-ts in package.json, package-lock.json, and vite.config.js files

Available Scripts

In the project directory, you can run:

pnpm start

Runs the app in the development mode.
Open http://localhost:3000/react-app-template-ts/ to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

pnpm test

Launches the test runner in the interactive watch mode.

pnpm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

Your app is ready to be deployed!

Learn More

You can learn more in the Vite documentation.

To learn React, check out the React documentation.