create-hacxy-app
v1.0.3
Published
Create a project using TypeScript as the default language.
Readme
create-defts
🚀 Create a project using TypeScript as the default language.
English | 简体中文
It is evident that this is a Nodejs-based scaffolding tool designed to help you quickly create a project developed using the TypeScript language.
All projects default to using TypeScript instead of JavaScript.
Multiple project types are available, such as:
CLI(command-line tool)andLibrary(tool library)Based on @hacxy/eslint-config and uses a unified coding style.
Default to validating git commit messages, use
npm run committo generate fixed-format commit messages.Default to providing a release script and automatically creating a GitHub release, execute
npm run releaseto complete the release process.

Prerequisites
- nodejs >= 18
Usage
Using npm:
npm create defts@latestUsing yarn:
yarn create deftsUsing pnpm:
pnpm create deftsUsing bun:
bun create deftsPlease follow the prompts after execution.
You can also specify the project name and required project template directly through additional command-line options. For example, to build a CLI project, run:
# npm 7+, an additional double dash is required:
npm create defts@latest my-cli-app -- --template cli-tsup
# yarn:
yarn create defts my-cli-app --template cli-tsup
# pnpm:
pnpm create defts my-cli-app --template cli-tsup
# bun:
bun create defts my-cli-app --template cli-tsup