{"id":16431943,"url":"https://github.com/bfanger/svelte-project-template","last_synced_at":"2025-09-23T02:32:13.788Z","repository":{"id":42515446,"uuid":"338815707","full_name":"bfanger/svelte-project-template","owner":"bfanger","description":"An opinionated starter-template for SvelteKit projects","archived":false,"fork":false,"pushed_at":"2025-01-09T08:06:34.000Z","size":1717,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-13T23:23:26.945Z","etag":null,"topics":["eslint","prettier","stylelint","svelte","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bfanger.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-14T13:49:50.000Z","updated_at":"2025-01-09T08:06:38.000Z","dependencies_parsed_at":"2023-01-31T19:16:03.460Z","dependency_job_id":"2ecdab3d-b17a-4acd-b333-6fcbe0d015b9","html_url":"https://github.com/bfanger/svelte-project-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfanger%2Fsvelte-project-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfanger%2Fsvelte-project-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfanger%2Fsvelte-project-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfanger%2Fsvelte-project-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfanger","download_url":"https://codeload.github.com/bfanger/svelte-project-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233917629,"owners_count":18750602,"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":["eslint","prettier","stylelint","svelte","typescript"],"created_at":"2024-10-11T08:35:11.981Z","updated_at":"2025-09-23T02:32:08.725Z","avatar_url":"https://github.com/bfanger.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte Project Template\n\n[Svelte](https://svelte.dev/) project preconfigured with:\n\n- [SvelteKit](https://kit.svelte.dev/) ([Vite](https://vitejs.dev/))\n- [TypeScript](https://www.typescriptlang.org/)\n- [Tailwind CSS](https://tailwindcss.com/), [PostCSS Preset Env](https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-preset-env) ( which includes [Autoprefixer](https://github.com/postcss/autoprefixer))\n- [Prettier](https://prettier.io/), [ESLint](https://eslint.org/) \u0026 [Stylelint](https://stylelint.io/)\n- [Husky](https://typicode.github.io/husky/) \u0026 [Lint-staged](https://github.com/okonet/lint-staged)\n- [Vitest](https://vitest.dev/) \\*1\n- [Playwright](https://playwright.dev/) \\*1\n- [Storybook](https://storybook.js.org/docs/svelte/writing-stories/introduction) \\*1\n\n\\*1: To keep the installation speedy Vitest, Playwright and Storybook are disabled by default.\n\n## Initial setup\n\n```sh\nnpx tiged \"github.com/bfanger/svelte-project-template#main\" my-svelte-project\ncd my-svelte-project\ngit init --initial-branch main\ngit add .\npnpm install     # or  npm install\ncp -n env.example .env\npnpm dev --open  # or  npm run dev -- --open\n```\n\n## Enabling Testing \u0026 Storybook\n\n```sh\nnode ./enable-testing.js\npnpm install  # or  npm install\n```\n\n- Creates the configuration files\n- Creates an example unittest\n- Creates an example e2e test\n- Creates an example storybook story\n- node_modules grows from ~166M to ~288M.\n\n## Linting\n\n```sh\npnpm lint  # or  npm run lint\n```\n\nI'd recommend enabling format-on-save in your editor, but to apply all auto fixes manually:\n\n```sh\npnpm format  # or  npm run format\n```\n\n## Build\n\n```sh\npnpm build             # or  npm run build\nnpx serve@latest build # or  npm run preview\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfanger%2Fsvelte-project-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbfanger%2Fsvelte-project-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfanger%2Fsvelte-project-template/lists"}