DEV Community

loading...
Cover image for Start a new VanillaJS, React, Node.js, Eleventy or Svelte project with minimal dependencies

Start a new VanillaJS, React, Node.js, Eleventy or Svelte project with minimal dependencies

briangershon profile image Brian Gershon Originally published at briangershon.com ・1 min read

Each time I start a project I want a minimal template to get going. "Minimal" meaning least complicated and smallest number of dependencies while still having features every JavaScript project needs.

These repositories are all Github templates, so you can create a fresh repo using them.

Vanilla JavaScript starter

github.com/briangershon/vanilla-js-minimal with minimal dependencies. Support for ECMAScript modules, hot reloading, lint and unit testing. Plus Github CI workflow.

React Starter

github.com/briangershon/react-minimal with minimal dependencies. Support for ECMAScript modules, hot reloading, lint and unit testing. Plus Github CI workflow.

Node.js Starter

github.com/briangershon/nodejs-minimal with minimal dependencies. Support for ECMAScript modules, lint and unit testing. Plus Github CI workflow. Does not require Babel nor a bundler.

Eleventy Site Generator Starter

github.com/briangershon/eleventy-minimal is the most minimal Eleventy site, created as part of my Choose Your Own Adventure with Eleventy presentation.

Svelte Component Library Starter

github.com/briangershon/svelte-minimal compiles Svelte components into ES5 and bundles as an ECMAScript module with minimal dependencies. Support for hot reloading, lint and testing. Plus Github CI workflow.

Discussion (2)

Collapse
daviddalbusco profile image
David Dal Busco

Pretty cool, thank for the share, might used one of these one of these days, bookmarked 😉

It made me also think how much I like Stencil. The compiler as dependency, maybe the router and that's it, done, all I need is there.

Collapse
briangershon profile image
Brian Gershon Author

Thanks David, will check out Stencil!

Forem Open with the Forem app