{"id":20631845,"url":"https://github.com/andrelmlins/svelte-scripts","last_synced_at":"2026-01-22T23:44:27.256Z","repository":{"id":43667572,"uuid":"245219654","full_name":"andrelmlins/svelte-scripts","owner":"andrelmlins","description":"Configurations and scripts for svelte applications and svelte libraries","archived":false,"fork":false,"pushed_at":"2023-01-05T09:11:07.000Z","size":583,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T23:51:14.652Z","etag":null,"topics":["app","build","library","scripts","start","svelte","test"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrelmlins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-05T16:56:42.000Z","updated_at":"2023-03-09T02:26:14.000Z","dependencies_parsed_at":"2023-02-03T22:16:14.745Z","dependency_job_id":null,"html_url":"https://github.com/andrelmlins/svelte-scripts","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrelmlins%2Fsvelte-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrelmlins%2Fsvelte-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrelmlins%2Fsvelte-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrelmlins%2Fsvelte-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrelmlins","download_url":"https://codeload.github.com/andrelmlins/svelte-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249135761,"owners_count":21218365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["app","build","library","scripts","start","svelte","test"],"created_at":"2024-11-16T14:13:55.356Z","updated_at":"2026-01-22T23:44:27.210Z","avatar_url":"https://github.com/andrelmlins.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte Scripts\n\nConfigurations and scripts for svelte applications and svelte libraries\n\n[![npm version](https://badge.fury.io/js/svelte-scripts.svg)](https://www.npmjs.com/package/svelte-scripts) \u0026bull; [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/andrelmlins/svelte-scripts/blob/master/LICENSE) \u0026bull; [![Build Status](https://travis-ci.com/andrelmlins/svelte-scripts.svg?branch=master)](https://travis-ci.com/andrelmlins/svelte-scripts) \u0026bull; [![Dependencies](https://david-dm.org/andrelmlins/svelte-scripts.svg)](https://david-dm.org/andrelmlins/svelte-scripts)\n\n- Create svelte applications and libraries with zero settings.\n- Configurations and scripts for svelte applications.\n- Works on the most used operating systems.\n\n## Basic Use\n\n### For Application\n\nCreate your svelte application\n\n```\nnpx degit andrelmlins/svelte-scripts/template svelte-app\ncd svelte-app\nyarn start\n```\n\nThen open http://localhost:5000/ to see your app.\n\n### For Library\n\nCreate your svelte library\n\n```\nnpx degit andrelmlins/svelte-scripts/template-library svelte-library\ncd svelte-library\nyarn start\n```\n\nThen open http://localhost:5000/ to see your library.\n\n## Scripts\n\n### Start the development application\n\nUsing [rollup](https://rollupjs.org/) with reference to folder `src`.\nUsed in applications and libraries.\n\n```\nnpm start\n// OR\nyarn start\n```\n\n### Build the application\n\nUsing [rollup](https://rollupjs.org/) with reference to folder `src`.\nUsed in applications and libraries.\n\n```\nnpm build\n// OR\nyarn build\n```\n\n### Test the project\n\nUsing [jest](https://jestjs.io/) with reference to folder `src`. Is possible edit the test config in `package.json`. Used in applications and libraries.\n\n```\nnpm test\n// OR\nyarn test\n```\n\n## Philosophy\n\n1. Zero settings\n2. Only dependency to start a project\n3. Quickly launch a svelte application\n\n## Environment Variables\n\nSome environment variables are available.\n\n| Variable         | Type   | Default Value |\n| ---------------- | ------ | ------------- |\n| PORT             | number | 5000          |\n| HOST             | string | localhost     |\n| PORT_LIVE_RELOAD | number | 35729         |\n\n## Contribution guidelines\n\nIf you want to contribute to **Svelte Scripts**, be sure to review the\n[contribution guidelines](CONTRIBUTING.md). This project adheres to\n[code of conduct](CODE_OF_CONDUCT.md). By participating, you are expected to\nuphold this code.\n\n## License\n\nSvelte Scripts is open source software [licensed as MIT](https://github.com/andrelmlins/svelte-scripts/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrelmlins%2Fsvelte-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrelmlins%2Fsvelte-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrelmlins%2Fsvelte-scripts/lists"}