Skip to content

maiertech/template-sveltekit-package

Repository files navigation

template-sveltekit-package

You probably don't need this template and should just run npx sv create.

This is a SvelteKit package project which I use as a GitHub template.

Keeping dependencies up-to-date

Before updating the dependencies in this template, delete eslint.config.js because it will not be regenerated if it exists already. Then run npx sv create to regenerate a Svelte library project into the existing directory.

Where would you like your project to be created?

Hit enter to use the current directory.

Directory not empty. Continue?

Yes.

Which template would you like?

Svelte library.

Add type checking with TypeScript?

Yes, using TypeScript syntax.

What would you like to add to your project?

  • prettier
  • eslint
  • vitest

Which package manager do you want to install dependencies with?

pnpm

Wrap it up

  • Revert README.md.
  • Run pnpm dev to test if the app still launches.

Debugging

Just launch the application in the JavaScript Debug Terminal.

About

A GitHub template for SvelteKit packages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published