rainbowatcher / ts-cli-starter

lightweight typescript command line app starter template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Workflow Status GitHub License GitHub package.json version

ts-cli-starter

Install Size

  • Dependencies
    • @clack/prompts:install size
    • cac: install size
  • DevDependencies
    • commitlint: install size
    • typescript: install size
    • vitest: install size
    • eslint & @rainbowatcher/eslint-config: install size
    • pkgroll: install size
    • bumpp: install size
    • @types/node: install size
    • jiti: install size
    • husky: install size

Usage

  1. Clone this repository
npx degit https://github.com/rainbowatcher/ts-cli-starter.git <pkg-name>
  1. Install dependencies by using pnpm install
  2. Setup git hooks
npx husky add .husky/commit-msg  'npx --no -- commitlint --edit ${1}'
npx husky add .husky/pre-commit 'npx lint-staged'
  1. Replace ts-cli-starter to your package name in package.json
  2. Change the author name in LICENSE
  3. Clean up the READMEs and remove routes

License

MIT © Made by ❤️

About

lightweight typescript command line app starter template

License:MIT License


Languages

Language:JavaScript 66.3%Language:TypeScript 33.7%