This is generator for TypeScript project boilerplate
Target | SWC | Jest | Biome | Prettier (Markdownのみ) | Storybook |
---|---|---|---|---|---|
Node CLI | ✅ | ✅ | ✅ | ✅ | ❌ |
Next.js v14 | ✅ | ✅ | ✅ | ✅ | ✅ |
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