@lycolia/ts-boilerplate-generator-cli
v0.28.0
Published
ts-server-boilerplate project Generator CLI
Downloads
419
Maintainers
Readme
TypeScript project Generator CLI
This is generator for TypeScript project boilerplate
Support projects
| Target | SWC | Jest | Biome | Prettier (Markdownのみ) | Storybook | | ----------- | ---------------------- | -------------------------- | ----------------------------- | ----------------------------------------------- | -------------------------------------- | | Node CLI | ✅ | ✅ | ✅ | ✅ | ❌ | | Next.js v14 | ✅ | ✅ | ✅ | ✅ | ✅ |
Install
npm i -g @lycolia/ts-boilerplate-generator-cli
動作要件
- コミットユーザー設定済みのGit
- Node.js 22+
- npm 10+
使い方
Can setup for README.md and package.json and workspace directory by configure CLI options When no option then launch yeoman style generator
- Basics
tsg
ortsg [options]
- CLI Options (All optional)
-a
,--author
project author (default:unknown
)-d
,--description
project description (default:no description
)-l
,--license
project license (default:MIT
)-p
,--project-name
project name (default:@unknown/no-name-project
)-t
,--type
project type (choices:ts-cli
,ts-next
default:ts-cli
)ts-cli
- create from blank boilerplate for CLI app
ts-next
-V
,--version
output the version number-h
,--help
display help for command
- Example
tsg -a your-own-name -d YourProjectDescription -l AGPL-3.0-or-later -p @your-own-name/your-project-name -t ts-cli