{"id":18224967,"url":"https://github.com/iamsebastiandev/template-svelte-express","last_synced_at":"2025-08-23T23:32:03.176Z","repository":{"id":164183885,"uuid":"639631662","full_name":"IamSebastianDev/template-svelte-express","owner":"IamSebastianDev","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-11T09:15:41.000Z","size":559,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-11T02:43:48.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/IamSebastianDev.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-05-11T21:55:23.000Z","updated_at":"2023-05-23T22:07:47.000Z","dependencies_parsed_at":"2023-09-03T09:21:06.033Z","dependency_job_id":"b67bef43-6862-4e3e-8c73-28b2a1590890","html_url":"https://github.com/IamSebastianDev/template-svelte-express","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamSebastianDev%2Ftemplate-svelte-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamSebastianDev%2Ftemplate-svelte-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamSebastianDev%2Ftemplate-svelte-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IamSebastianDev%2Ftemplate-svelte-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IamSebastianDev","download_url":"https://codeload.github.com/IamSebastianDev/template-svelte-express/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230750508,"owners_count":18274905,"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":[],"created_at":"2024-11-04T02:06:00.314Z","updated_at":"2024-12-21T17:42:42.841Z","avatar_url":"https://github.com/IamSebastianDev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- @format --\u003e\n\n# TypeScript Svelte Express SCSS Template\n\nThis template can be used as a opinionated starting point for a typescript svelte based app. It uses several tools to enhance the dx aspect of creating an application. Read more about how the different aspects of the template in the [`Contributing Guidelines`](./contributing.md).\n\n## Tools used in the template\n\n-   [yarn](https://yarnpkg.com/getting-started)\n-   [TypeScript](https://www.typescriptlang.org)\n-   [SCSS](https://sass-lang.com)\n-   [Svelte](https://svelte.dev)\n-   [Rollup](https://rollupjs.org/guide/en/) as bundler, using esbuild to transpile TypeScript to JavaScript\n-   [ava](https://github.com/avajs/ava) as test-runner\n-   [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) to ensure commit standards\n-   [Prettier](https://prettier.io) \u0026 [Pretty-quick](https://www.npmjs.com/package/pretty-quick) to format the code\n-   [Stylelint](https://stylelint.io) To lint scss\n-   [alex](https://alexjs.com) for linting the documentation\n\n## Dependencies used in the template\n\n| Name                            | Type | Description                                                                                |\n| ------------------------------- | ---- | ------------------------------------------------------------------------------------------ |\n| @commitlint/cli                 | dev  | A tool for linting commit messages according to a specified format (conventional commits). |\n| @commitlint/config-conventional | dev  | Configuration preset for commitlint to enforce conventional commit message format.         |\n| @rollup/plugin-commonjs         | dev  | A Rollup plugin to convert CommonJS modules to ES Modules.                                 |\n| @rollup/plugin-json             | dev  | A Rollup plugin to import JSON files as ES modules.                                        |\n| @rollup/plugin-node-resolve     | dev  | A Rollup plugin to resolve and include external modules from node_modules.                 |\n| @rollup/plugin-replace          | dev  | A Rollup plugin to replace strings in files while bundling.                                |\n| @tsconfig/svelte                | dev  | Configuration file for Svelte projects using TypeScript.                                   |\n| @types/compression              | dev  | Type definitions for the 'compression' package.                                            |\n| @types/cors                     | dev  | Type definitions for the 'cors' package.                                                   |\n| @types/express                  | dev  | Type definitions for the 'express' package.                                                |\n| alex                            | dev  | A natural language linter for detecting insensitive, inconsiderate writing.                |\n| ava                             | dev  | A JavaScript test runner.                                                                  |\n| c8                              | dev  | A code coverage tool for Node.js.                                                          |\n| esbuild                         | dev  | A JavaScript bundler and minifier.                                                         |\n| husky                           | dev  | A tool for adding Git hooks.                                                               |\n| nodemon                         | dev  | A utility that automatically restarts Node.js applications.                                |\n| prettier                        | dev  | An opinionated code formatter.                                                             |\n| pretty-quick                    | dev  | A tool for running Prettier on only the changed files.                                     |\n| rollup                          | dev  | A module bundler for JavaScript.                                                           |\n| rollup-plugin-cleanup           | dev  | A Rollup plugin to remove debugger statements and console.\\* calls.                        |\n| rollup-plugin-esbuild           | dev  | A Rollup plugin to bundle JavaScript files using esbuild.                                  |\n| rollup-plugin-rld               | dev  | A Rollup plugin to reload the browser when files change.                                   |\n| rollup-plugin-scss              | dev  | A Rollup plugin to compile SCSS files.                                                     |\n| rollup-plugin-svelte            | dev  | A Rollup plugin to compile Svelte components.                                              |\n| rollup-plugin-terser            | dev  | A Rollup plugin to minify JavaScript files using Terser.                                   |\n| sass                            | dev  | A CSS preprocessor.                                                                        |\n| stylelint                       | dev  | A linter for enforcing consistent styles in CSS files.                                     |\n| stylelint-config-prettier       | dev  | Configuration preset for Stylelint to avoid conflicts with Prettier.                       |\n| stylelint-config-prettier-scss  | dev  | Configuration preset for Stylelint to avoid conflicts with Prettier in SCSS files.         |\n| stylelint-config-standard       | dev  | Configuration preset for Stylelint following the standard style rules.                     |\n| stylelint-config-standard-scss  | dev  | Configuration preset for Stylelint following the standard style rules in SCSS files.       |\n| svelte                          | dev  | A JavaScript framework for building user interfaces.                                       |\n| svelte-check                    | dev  | A tool to check Svelte components for errors and unused CSS.                               |\n| svelte-preprocess               | dev  | A preprocessor for Svelte that allows using features like SCSS, TypeScript, and more.      |\n| ts-node                         | dev  | TypeScript execution environment and REPL for Node.js.                                     |\n| typescript                      | dev  | A superset of JavaScript that adds static type-checking to the language.                   |\n| compression                     | prod | Middleware for compressing HTTP responses in Express.js.                                   |\n| cors                            | prod | Middleware for enabling Cross-Origin Resource Sharing (CORS) in Express.js.                |\n| dotenv                          | prod | Loads environment variables from a .env file into process.env.                             |\n| express                         | prod | A fast and minimalist web framework for Node.js.                                           |\n| helmet                          | prod | Middleware for securing HTTP headers in Express.js applications.                           |\n\nNote: The table includes both development dependencies (dev) and production dependencies (prod).\n\n## Getting started\n\nTo get started, clone the repository and recreate the git repository to start with a clean template.\n\n```bash\ngit clone https://github.com/IamSebastianDev/template-svelte-express.git \u003cyour-app-name\u003e\n\ncd \u003cyour-app-name\u003e\n\n# Reset the git repository\nyarn reset\n\n# This will leave you with two branches, main \u0026 development as well as an initial commit.\n```\n\nAfter creating a new repository, fill out the remaining information in the `package.json` and install the dev-dependencies. You should use the defaults already set in the `package.json` and only change the not already set meta information.\n\n```bash\n# fill out the package.json\nyarn init\n# do a clean install of the dependencies\nyarn ci\n# install githooks\nyarn setup\n```\n\n## Development\n\nCheckout the [`Contributing Guidelines`](./contributing.md) to find out how to develop within your newly created repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamsebastiandev%2Ftemplate-svelte-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamsebastiandev%2Ftemplate-svelte-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamsebastiandev%2Ftemplate-svelte-express/lists"}