https://github.com/harhao/create-typescript-app
🎉 create-typescript-app 是创建react- typescript项目脚手架cli,包含打包逻辑tsx-scripts和cta-template-typescript项目模版
https://github.com/harhao/create-typescript-app
bundler cta-template-typescript tsx-scripts typescript-react vite vite-scripts
Last synced: 2 months ago
JSON representation
🎉 create-typescript-app 是创建react- typescript项目脚手架cli,包含打包逻辑tsx-scripts和cta-template-typescript项目模版
- Host: GitHub
- URL: https://github.com/harhao/create-typescript-app
- Owner: Harhao
- License: mit
- Created: 2023-09-15T01:51:55.000Z (almost 3 years ago)
- Default Branch: develop
- Last Pushed: 2024-01-17T07:04:02.000Z (over 2 years ago)
- Last Synced: 2025-08-31T22:38:45.688Z (10 months ago)
- Topics: bundler, cta-template-typescript, tsx-scripts, typescript-react, vite, vite-scripts
- Language: TypeScript
- Homepage:
- Size: 1.38 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-typescript-app


> create-typescript-app 是一个快速创建 react + typescript 技术栈开源项目。
## 项目结构
项目是基于 pnpm 的 monorepo 多项目结构,具体包括:
- cta-template-typescript : react + typescript 项目模板
- tsx-scripts: 基于webpack封装的类似roadhog的脚手架脚本(负责项目模版的开发构建)
- typescript-app-cli: 生成项目的脚手架cli,负责选择模版初始化和生成
```
├── LICENSE
├── README.md
├── package.json
├── packages
│ ├── cta-template-typescript
│ ├── tsx-scripts
│ └── typescript-app-cli
├── pnpm-lock.yaml
├── pnpm-workspace.yaml
└── tsconfig.base.json
```
## 快速上手
### 安装项目初始化脚手架
确保本地已经安装nodejs,并且拥有npm/yarn/pnpm等包管理工具。
```bash
yarn global add typescript-app-cli
#or
npm install -g typescript-app-cli
#or
pnpm global add typescript-app-cli
```
### 使用方法
