This is a Svelte template using Parcel and svelte-spa-router - inspired by Hackathon Starter
Express JS server side repo can be found here express-api
https://github.com/mylastore/svelte-parcel.git
cd svelte-parcel
npm install && npm start
Now head over to your favourite browser and open up localhost:1234
and you are ready to go.
To build the project run the following:
npm run build
_NOTE: Current open issue in jest-transform-svelte when adding preprocessor tests get stuck in an infinite loop (works in Wallaby though), Current issue
I prefer running my tests using Wallaby, but if you prefer plain old command line, just type the following to run your tests:
npm t
You may just check for linting or auto fix using these two options
npm run lint
npm run lint:fix