create-ts-frame
v0.6.2
Published
A scaffolding tool for quickly creating **Typescript** project templates.
Downloads
9
Readme
📦 Create Typescript Frame
A scaffolding tool for quickly creating Typescript project templates.
English | 简体中文
Use
Use npm:
npm create ts-frame@latest
Use yarn:
yarn create ts-frame
Use pnpm:
pnpm create ts-frame
Use bun:
bun create ts-frame
Please follow the prompts after execution.
You can also directly specify the project name and the required project template through additional command-line options. For example, to build a CLI project, please run:
# npm 7+, additional double dash is required:
npm create ts-frame@latest my-cli-app -- --template cli-tsup
# yarn:
yarn create ts-frame my-cli-app --template cli-tsup
# pnpm:
pnpm create ts-frame my-cli-app --template cli-tsup
# bun:
bun create ts-frame my-cli-app --template cli-tsup
Plan & Support
| Framework & Project Type | Support | | ----------------------------------- | ------- | | CLI Application | ✅ | | Library | ✅ | | Vue | 🚧 | | React | 🚧 | | Tarojs | 🚧 | | Uniapp | 🚧 | | Nestjs | 🚧 | | React Native | 🚧 | | Electron | 🚧 |
CLI Application
The following is a variant of the CLI application project template.
| Variant Name | Description | Template Warehouse | | ------------ | -------------------------------------------------------------- | ----------------------------------------------- | | tsup | CLI application project template using tsup as a build tool | https://github.com/hacxy/cli-unbuild-template | | unbuild | CLI application project template using unbuild as a build tool | https://github.com/hacxy/cli-unbuild-template |
Library
The following is a variant of the Library project template.
| Variant Name | Description | Template Warehouse | | ------------ | ---------------------------------- | ------------------------------------------------- | | empty | Empty library development template | https://github.com/hacxy/library-empty-template |