My opinionated SvelteKit template in pure JavaScript.
This template is derived from the official template.
Some notable customizations are:
package-lock.jsonis NOT committed on purpose- The included adapter is changed from
autoto@sveltejs/adapter-node, assuming that you are not targeting any specific deployment target. - Split tsconfig of web/test/node environments via cascading
tsconfig.*.jsonto avoid lib pollution while maintaining reasonable IDE/LSP expectations.- tsbuildinfos are always deleted after a
svelte-kit syncrun. This is intended to convince tsc to write new ones.
- tsbuildinfos are always deleted after a
git clone https://github.com/qbane/sveltekit-template.git
cd sveltekit-template
rm -rf .git .github LICENSE
git init
npm i