DEV Community

Cover image for I Got Tired of Setting Up JS Projects
Asadbek Karimov
Asadbek Karimov

Posted on

I Got Tired of Setting Up JS Projects

Every time I start a new TypeScript library, I waste 15-20 minutes on the same setup. pnpm create vite is great but too basic β€” no type generation, no dual CJS/ESM exports, no test setup. GitHub template repos go the other way β€” too opinionated, too much stuff I end up deleting. So I made vite-typescript-scaffold.

What's in it

  • Dual module formats (CJS + ESM)
  • Type definitions via vite-plugin-dts
  • Vitest configured
  • One init script: ./init.sh <name> <author> <email>

What's not in it

Everything else. No framework. No linter wars. No folder structure opinions. Clone it, run init, start coding.

Top comments (0)