|
| 1 | +# 🔷🌱 TypeScript Basic Skeleton |
| 2 | + |
| 3 | +Template intended to serve as a starting point if you want to bootstrap a project in TypeScript. |
| 4 | + |
| 5 | +The purpose of this repository is to leave it with the bare minimum dependencies and tools needed to run TypeScript snippets or start you project without any opinionated decision already made. |
| 6 | + |
| 7 | +## Features |
| 8 | + |
| 9 | +- [TypeScript](https://www.typescriptlang.org/) (v4) |
| 10 | +- [Prettier](https://prettier.io/) |
| 11 | +- [ESLint](https://eslint.org/) with: |
| 12 | + - [Simple Import Sort](https://github.com/lydell/eslint-plugin-simple-import-sort/) |
| 13 | + - [Import plugin](https://github.com/benmosher/eslint-plugin-import/) |
| 14 | + - And a few other ES2015+ related rules |
| 15 | +- [Jest](https://jestjs.io) with [DOM Testing Library](https://testing-library.com/docs/dom-testing-library/intro) |
| 16 | +- [GitHub Action workflows](https://github.com/features/actions) set up to run tests and linting on push |
| 17 | +- [SWC](https://swc.rs/): Execute your tests in less than 200ms |
| 18 | + |
| 19 | +## Running the app |
| 20 | + |
| 21 | +- Install the dependencies: `npm install` |
| 22 | +- Execute the tests: `npm run test` |
| 23 | +- Check linter errors: `npm run lint` |
| 24 | +- Fix linter errors: `npm run lint:fix` |
| 25 | + |
| 26 | +## Related skeleton templates |
| 27 | + |
| 28 | +Opinionated TypeScript skeletons ready for different purposes: |
| 29 | + |
| 30 | +- [🔷🕸️ TypeScript Web Skeleton](https://github.com/CodelyTV/typescript-web-skeleton) |
| 31 | +- [🔷🌍 TypeScript API Skeleton](https://github.com/CodelyTV/typescript-api-skeleton) |
| 32 | +- [🔷✨ TypeScript DDD Skeleton](https://github.com/CodelyTV/typescript-ddd-skeleton) |
| 33 | + |
| 34 | +This very same basic skeleton philosophy implemented in other programming languages: |
| 35 | + |
| 36 | +- [✨ JavaScript Basic Skeleton](https://github.com/CodelyTV/javascript-basic-skeleton) |
| 37 | +- [☕ Java Basic Skeleton](https://github.com/CodelyTV/java-basic-skeleton) |
| 38 | +- [📍 Kotlin Basic Skeleton](https://github.com/CodelyTV/kotlin-basic-skeleton) |
| 39 | +- [🧬 Scala Basic Skeleton](https://github.com/CodelyTV/scala-basic-skeleton) |
| 40 | +- [🦈 C# Basic Skeleton](https://github.com/CodelyTV/csharp-basic-skeleton) |
| 41 | +- [🐘 PHP Basic Skeleton](https://github.com/CodelyTV/php-basic-skeleton) |
0 commit comments