{"id":13417074,"url":"https://github.com/patrickjmeurer/viterc","last_synced_at":"2026-04-02T02:05:06.540Z","repository":{"id":46753372,"uuid":"514361742","full_name":"patrickjmeurer/viterc","owner":"patrickjmeurer","description":"A modern minimal Vite + React + TypeScript template with pre-configured ESLint (with Airbnb JS/React rules), Prettier, Testing with Jest and Git hooks with Husky out of the box 📦","archived":false,"fork":false,"pushed_at":"2023-11-29T21:31:33.000Z","size":50,"stargazers_count":54,"open_issues_count":0,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-10T06:01:17.433Z","etag":null,"topics":["eslint","prettier","react","template","typescript","vite","vite-template","vite-template-react","vitejs"],"latest_commit_sha":null,"homepage":"https://viterc.netlify.app/","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/patrickjmeurer.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}},"created_at":"2022-07-15T18:05:08.000Z","updated_at":"2024-08-10T06:01:17.433Z","dependencies_parsed_at":"2023-11-29T22:30:44.064Z","dependency_job_id":"912f3ff7-2053-4869-ac0c-4ed2ef076e82","html_url":"https://github.com/patrickjmeurer/viterc","commit_stats":null,"previous_names":["patrickjmeurer/viterc","potreco/viterc"],"tags_count":6,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickjmeurer%2Fviterc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickjmeurer%2Fviterc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickjmeurer%2Fviterc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickjmeurer%2Fviterc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickjmeurer","download_url":"https://codeload.github.com/patrickjmeurer/viterc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248083225,"owners_count":21045059,"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","react","template","typescript","vite","vite-template","vite-template-react","vitejs"],"created_at":"2024-07-30T22:00:32.214Z","updated_at":"2026-04-02T02:05:06.486Z","avatar_url":"https://github.com/patrickjmeurer.png","language":"TypeScript","funding_links":[],"categories":["Get Started"],"sub_categories":["Templates"],"readme":"# ViteRC ❤️‍🔥\n\nA modern minimal Vite 5 + React 18 + TypeScript template with pre-configured ESLint (with Airbnb JS/React rules), Prettier, Vitest and Git hooks with Husky out of the box 📦\n\n![Vite](https://img.shields.io/badge/Vite-B73BFE?style=for-the-badge\u0026logo=vite\u0026logoColor=FFD62E)\n![React](https://img.shields.io/badge/React-20232A?style=for-the-badge\u0026logo=react\u0026logoColor=61DAFB)\n![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)\n![ESLint](https://img.shields.io/badge/eslint-3A33D1?style=for-the-badge\u0026logo=eslint\u0026logoColor=white)\n![Prettier](https://img.shields.io/badge/prettier-1A2C34?style=for-the-badge\u0026logo=prettier\u0026logoColor=F7BA3E)\n![Vitest](https://img.shields.io/badge/vitest-C21325?style=for-the-badge\u0026logo=vitest\u0026logoColor=white)\n![Testing Library](https://img.shields.io/badge/testing%20library-E33332?style=for-the-badge\u0026logo=testing-library\u0026logoColor=white)\n![Commitlint](https://img.shields.io/badge/commitlint-000000?style=for-the-badge\u0026logo=commitlint\u0026logoColor=white)\n\n## Features\n\n- ⚡️ [Vite 5](https://vitejs.dev/) - Next Generation Frontend Tooling\n- ⚛️ [React 18](https://reactjs.org/) - A JavaScript library for building user interfaces\n- 💎 [TypeScript](https://www.typescriptlang.org/) - Why not?!\n- 🔨 [EsLint](https://eslint.org/) - Pluggable JavaScript linter\n- 🌀 [Prettier](https://prettier.io) - Opinionated Code Formatter\n- 🐺 [Husky](https://github.com/typicode/husky) - Native Git hooks\n- ⚙️ [Vitest](https://vitest.dev/guide/) - Testing library\n- 📑 [Commitlint](https://commitlint.js.org/) - Linting your commits based on commit convention\n- ⌨️ Absolute Imports\n\n## Why\n\nThis template arose out of a need to unite all the above libraries, which were not found in the existing Vite templates. This template has an active contributors that will update everything on this template as needed\n\n## Usage\n\n\nIf you are using either Yarn or NPM run the command bellow\n```bash\nnpx degit potreco/viterc my-app\n\ncd my-app\n\n# Required if you want a repository and work with Git hooks\ngit init\n\nyarn install\n\nyarn dev\n```\n\nIf you are using Bun\n```bash\nbun create potreco/viterc/bun my-app\n\ncd my-app\n\n# Required if you want a repository and work with Git hooks\ngit init\n\nbun install\n\nbun run dev\n```\n\n## Available commands\n\n\u003cp\u003eIn this project, you can run the following scripts:\u003c/p\u003e\n\n| Script     | Description                                                                 |\n| ---------- | --------------------------------------------------------------------------- |\n| dev        | Runs the app in the development mode.                                       |\n| build      | Builds the app for production to the `dist` folder.                         |\n| lint       | Runs the Eslint and show code problems                                      |\n| format     | Runs the Prettier and fix code style                                        |\n| preview    | Builds the app for production to the `dist` folder, and run locally server. |\n| test       | Run the app tests.                                                          |\n| test:watch | Run the app tests in watch mode.                                            |\n\n## About the absolute imports\n\nTo correctly functioning (code and tests) of absolute imports, you should add some codes in some files, like:\n\n- vite.config.ts\n- tsconfig.json\n\nWe already writed some absolute imports on these files, so if you wanna more paths or edit some, feel free to do it.\nIf your not safe about it or have some question, send us a thread on [Github Discussions](https://github.com/potreco/viterc/discussions/new?category=q-a) asking for, we were happy to help\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickjmeurer%2Fviterc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickjmeurer%2Fviterc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickjmeurer%2Fviterc/lists"}