A simple and straightforward CLI to help you setup and automate best practices and patterns for your frontend projects (formatting, linting, type checking) with end-to-end recipies (pre-push hook, CI/CD integration).
As the CLI will auto-detect your package manager, the only requirement for it to run is to be within an existing project root folder already installed (where you should have a package.json
and an existing lock file).
npx simplefrontend setup
The CLI will then guide you setting up the pattern.
npx simplefrontend setup [pattern]
Available patterns:
- format (Code formatting with Prettier)
- lint (Code liting with ESLint)
- typescript (TypeScript setup )
- pre-push (Pre-push hook with lefthook)
- github-actions (Github actions setup)
Supported package managers:
- pnpm
- npm
- yarn
- bun
Install pnpm
pnpm install
pnpm run dev setup
I will happily accept contributions for bug fixes and improvements