What is Svelte?
Pull requests are encouraged and always welcome. Pick an issue and help us out!
To install and work on Svelte locally:
git clone https://github.com/sveltejs/svelte.gitcd sveltenpm install
Many tests depend on newlines being preserved as
<LF>. On Windows, you can ensure this by cloning with:git -c core.autocrlf=false clone https://github.com/sveltejs/svelte.git
To build the compiler, and all the other modules included in the package:
npm run build
To watch for changes and continually rebuild the package (this is useful if you're using npm link to test out changes in a project locally):
npm run dev
npm run test
To filter tests, use
--grep). For example, to only run tests involving transitions:
npm run test -- -g transition
cd sitenpm install && npm run updatenpm run dev