@lycolia/ts-boilerplate-generator-cli

0.23.0 • Public • Published

TypeScript project Generator CLI

MIT License Node.js v20 later npm v10 later

This is generator for TypeScript project boilerplate

Support projects

Target SWC Jest ESLint Prettier Storybook
Node CLI
Next.js v13

Install

  • npm i -g @lycolia/ts-boilerplate-generator-cli

Required

  • Git
    • and configured git user
  • Node.js 20+
  • npm 10+

Usage

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 or tsg [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)
    • -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

Package Sidebar

Install

npm i @lycolia/ts-boilerplate-generator-cli

Weekly Downloads

4

Version

0.23.0

License

MIT

Unpacked Size

75.3 kB

Total Files

23

Last publish

Collaborators

  • lycolia