DEV Community

loading...

mincy - Svelte CLI

rajikaimal profile image Rajika Imal ・1 min read

Svelte doesn't have an official CLI for scaffolding projects and to help the development workflow with a consistent set of commands. Even though there are not a lot of commands, it can be a bit over the place when setting up a project from scratch and starting development.

mincy is a CLI for Svelte to help the development workflow. It's essentially just a thin wrapper around degit, and the sveltejs template (although it's possible to use any template as long as pkg.json contains rollup/webpack commands)

What can you do with mincy?

  • create a project
  • start the dev server with rollup watch mode
  • build with rollup
  • publish

To install,

npm i -g mincy
Enter fullscreen mode Exit fullscreen mode

Usage: https://github.com/rajikaimal/mincy#usage

Discussion (2)

pic
Editor guide
Collapse
pavelloz profile image
Paweł Kowalski

npx degit sveltejs/template my-svelte-project - this is literally from official docs.

It looks like your package does "cd x && npm i". I would say not worth... anything - downloading, remembering command, or anything else ;)

Collapse
rajikaimal profile image
Rajika Imal Author • Edited

This was made for my personal use, doesn't mean everyone has to find it useful. Just sharing with anybody who might find it useful ;)