Skip to content

A snowpack template for svelte with support for jest, eslint, postcss, tailwind, and rollup.

License

Notifications You must be signed in to change notification settings

joshnuss/svelte-snowpack-template

Repository files navigation

Svelte Snowpack Template

A snowpack template for svelte.

Configured with jest, eslint, dotenv, postcss, tailwind, and rollup for production builds.

Usage

To use this template:

npx create-snowpack-app --template @joshnuss/svelte-snowpack-template --target path/to/dir

Available Scripts

yarn start

Runs the app in the development mode. Open http://localhost:8080 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

yarn test

Runs jest on all *.test.js files.

yarn lint

Runs eslint on all files.

yarn format

Formats all files according to rules defined in .eslintrc.js.

yarn build

Builds a static copy of your site to the build/ folder. Your app is ready to be deployed!

License

MIT

About

A snowpack template for svelte with support for jest, eslint, postcss, tailwind, and rollup.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published