Scaffold a React + TypeScript + Vite app with ESLint, Prettier, Vitest, Husky, and commitlint already wired in.
npx github:ideaspaper/create-react-ts my-appThe CLI copies the bundled template/ directory into your new project and then updates the generated package name.
If you are working directly inside the bundled template/ folder in this repository, run npm install there before using any npm scripts. The checked-in template does not include node_modules.
- React 19 + Vite 8 + TypeScript 6
- ESLint 9 with TypeScript, React Hooks, import ordering, and Prettier integration
- Vitest 4 + Testing Library + jsdom 29
- Husky, lint-staged, and commitlint
- Path alias support via
@/
npm run devstarts the dev servernpm run buildcreates a production buildnpm run typecheckruns TypeScript project referencesnpm run lintchecks lint rulesnpm run lint:fixfixes autofixable lint issuesnpm run testruns the test suitenpm run test:coverageruns tests with coveragenpm run checkruns lint, tests, and build together