{"id":18253,"library":"create-tsreact","title":"create-tsreact","description":"A minimal scaffolder/generator for React + TypeScript projects using esbuild as the compiler and bundler. Current stable version is 0.0.22. It focuses on generating the absolute minimum of files and dependencies, resulting in a small `node_modules` size and fast npm installs. Unlike larger scaffolders like Create React App or Vite templates, create-tsreact provides a bare-bones setup with only essential dependencies, using esbuild for fast builds targeting ES2022. The generated project includes Prettier for formatting and scripts for dev and build. Recommended for learners who want to understand the tech stack without boilerplate.","status":"active","version":"0.0.22","language":"javascript","source_language":"en","source_url":"https://github.com/ngmaibulat/create-tsreact","tags":["javascript","Scaffolder","Typescript","React","Create Application","ESBuild","Generator"],"install":[{"cmd":"npm install create-tsreact","lang":"bash","label":"npm"},{"cmd":"yarn add create-tsreact","lang":"bash","label":"yarn"},{"cmd":"pnpm add create-tsreact","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[],"quickstart":{"code":"npm create tsreact@latest my-app\ncd my-app\nnpm install\nnpm run dev","lang":"typescript","description":"Scaffold a new React+TypeScript project using the latest version of create-tsreact, install dependencies, and start the development server."},"warnings":[{"fix":"Ensure Node.js v14 or later is installed.","message":"Requires Node.js >=14 due to esbuild and modern features.","severity":"breaking","affected_versions":">=0.0.0"},{"fix":"Use ESM syntax; do not rely on CommonJS require().","message":"The generated project uses esbuild's default ESM output; CJS is not supported.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Use `npm run dev` which runs esbuild in watch mode.","message":"No hot module replacement (HMR) is configured; run `npm run dev` to rebuild on changes.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Use `npm create tsreact@latest <appname>` instead of `npx create-tsreact`.","cause":"Running the command without the npm create syntax (e.g., npx create-tsreact).","error":"Cannot find module 'create-tsreact'"},{"fix":"Update esbuild to 0.17.0 or later, or change target to 'es2020' in package.json scripts.","cause":"Older version of esbuild (pre-0.17) does not support 'es2022'.","error":"esbuild: The argument '--target=es2022' is not a valid target"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}