DEV Community

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

Posted on β€’ Originally published at briangershon.com

19 3

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

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.

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (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 β€’

Thanks David, will check out Stencil!

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay