Registry / web-framework / create-tsreact

create-tsreact

JSON →
library0.0.22jsnpmunverified

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.

npm install create-tsreact
INSTALL
IMPORT
SIG · CREATE-TSREACT
C
create-tsreact
web-frameworkjavascriptv0.0.22
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Scaffold a new React+TypeScript project using the latest version of create-tsreact, install dependencies, and start the development server.

npm create tsreact@latest my-app cd my-app npm install npm run dev
create-tsreact --version
Debug
Known issues
breakingRequires Node.js >=14 due to esbuild and modern features.
fix
Ensure Node.js v14 or later is installed.
affects: >=0.0.0
gotchaThe generated project uses esbuild's default ESM output; CJS is not supported.
fix
Use ESM syntax; do not rely on CommonJS require().
affects: >=0.0.0
gotchaNo hot module replacement (HMR) is configured; run `npm run dev` to rebuild on changes.
fix
Use `npm run dev` which runs esbuild in watch mode.
affects: >=0.0.0
Errors
Common errors & fixes
Cannot find module 'create-tsreact'
Running the command without the npm create syntax (e.g., npx create-tsreact).
fix
Use `npm create tsreact@latest <appname>` instead of `npx create-tsreact`.
esbuild: The argument '--target=es2022' is not a valid target
Older version of esbuild (pre-0.17) does not support 'es2022'.
fix
Update esbuild to 0.17.0 or later, or change target to 'es2020' in package.json scripts.
Upgrade
Version history
0.0.22latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
create-tsreact — npm install create-tsreact · libregistry