Configurations and scripts for svelte applications and svelte libraries
- Create svelte applications and libraries with zero settings.
- Configurations and scripts for svelte applications.
- Works on the most used operating systems.
Create your svelte application
npx degit andrelmlins/svelte-scripts/template svelte-app
cd svelte-app
yarn start
Then open http://localhost:5000/ to see your app.
Create your svelte library
npx degit andrelmlins/svelte-scripts/template-library svelte-library
cd svelte-library
yarn start
Then open http://localhost:5000/ to see your library.
Using rollup with reference to folder src
.
Used in applications and libraries.
npm start
// OR
yarn start
Using rollup with reference to folder src
.
Used in applications and libraries.
npm build
// OR
yarn build
Using jest with reference to folder src
. Is possible edit the test config in package.json
. Used in applications and libraries.
npm test
// OR
yarn test
- Zero settings
- Only dependency to start a project
- Quickly launch a svelte application
Some environment variables are available.
Variable | Type | Default Value |
---|---|---|
PORT | number | 5000 |
HOST | string | localhost |
PORT_LIVE_RELOAD | number | 35729 |
If you want to contribute to Svelte Scripts, be sure to review the contribution guidelines. This project adheres to code of conduct. By participating, you are expected to uphold this code.
Svelte Scripts is open source software licensed as MIT.