https://github.com/hacxy/create-defts
đ Create a project using TypeScript as the default language.
https://github.com/hacxy/create-defts
Last synced: about 2 months ago
JSON representation
đ Create a project using TypeScript as the default language.
- Host: GitHub
- URL: https://github.com/hacxy/create-defts
- Owner: hacxy
- License: mit
- Created: 2024-12-12T05:53:26.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-15T11:42:51.000Z (4 months ago)
- Last Synced: 2025-02-13T10:18:56.081Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 431 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-defts
đ Create a project using TypeScript as the default language.
English | [įŽäŊ䏿](./README_zh.md)
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)` and `Library(tool library)`
- Based on [@hacxy/eslint-config](https://github.com/hacxy/eslint-config) and uses a unified coding style.
- Default to validating git commit messages, use `npm run commit` to generate fixed-format commit messages.
- Default to providing a release script and automatically creating a GitHub release, execute `npm run release` to complete the release process.

## Prerequisites
- nodejs >= 18
## Usage
Using npm:
```sh
npm create defts@latest
```Using yarn:
```sh
yarn create defts
```Using pnpm:
```sh
pnpm create defts
```Using bun:
```sh
bun create defts
```Please 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:
```sh
# 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
```## License
[MIT](./LICENSE) License Š 2023-PRESENT [Hacxy](https://github.com/hacxy)