https://github.com/joshnuss/svelte-snowpack-template
A snowpack template for svelte with support for jest, eslint, postcss, tailwind, and rollup.
https://github.com/joshnuss/svelte-snowpack-template
eslint jest postcss rollup snowpack svelte svelte-template tailwindcss
Last synced: about 1 year ago
JSON representation
A snowpack template for svelte with support for jest, eslint, postcss, tailwind, and rollup.
- Host: GitHub
- URL: https://github.com/joshnuss/svelte-snowpack-template
- Owner: joshnuss
- License: mit
- Created: 2020-10-24T03:58:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-13T13:57:22.000Z (over 5 years ago)
- Last Synced: 2025-04-11T21:52:37.677Z (about 1 year ago)
- Topics: eslint, jest, postcss, rollup, snowpack, svelte, svelte-template, tailwindcss
- Language: JavaScript
- Homepage:
- Size: 546 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
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