generator-react-ts-webpack-template
v1.0.0
Published
Yeoman generator to scaffold a React + TypeScript + Webpack
Maintainers
Readme
📦 generator-my-react-template
A Yeoman generator for quickly scaffolding a React + TypeScript + Vite project.
Stop re-creating the same boilerplate every time — just run one command and start coding 🚀.
✨ Features
- ⚡ Webpack + React 18 + TypeScript
- 🎨 Ready-to-use project structure
- 🧩 Yeoman templating (
<%= appName %>) - 📦 Auto-installs dependencies
📥 Installation
First, install Yeoman (if not already installed):
npm install -g yoThen install this generator:
npm install -g react-ts-webpack-template🚀 Usage
Scaffold a new project:
yo my-react-templateYeoman will ask:
? Project name: my-app✅ This generates:
my-app/
package.json # with "name": "my-app" and author set
tsconfig.json
index.html
src/
App.tsx
main.tsxThen it runs npm install automatically.
🧑💻 Development (Contributing)
If you want to hack on this generator locally:
Clone the repo
git clone https://gitlab.com/ArunMurali/generator-react-ts-template.git cd generator-my-react-templateInstall dependencies
npm installBuild
npm run buildLink for local testing
npm linkRun the generator
yo my-react-template
📦 Publishing
When you’re ready to release a new version:
npm version patch # or minor / major
npm run build
npm publish --access public📄 License
MIT © [Arun Murali]
