Skip to content

Typescript starter with vitest, prettier, eslint. All the tools you need to build your project.

License

Notifications You must be signed in to change notification settings

yazaldefilimone/typescript-starter

Repository files navigation

TypeScript Starter welcome! License License Stars Languages

Typescript starter with vitest, prettier, eslint.
All the tools you need to build your project.

Features

  • ⚡️ Vitest 0.34
  • ⭐ Node 18
  • ⛑ TypeScript
  • 📏 ESLint — To find and fix problems in your code
  • 💖 Prettier — Code Formatter for consistent style
  • 🐶 Husky — For running scripts before committing
  • 🚓 Commitlint — To make sure your commit messages follow the convention
  • 🚫 lint-staged — Run ESLint and Prettier against staged Git files
  • ⚙️ EditorConfig - Consistent coding styles across editors and IDEs
  • 🗂 Path Mapping — Import components or images using the ~/ prefix

Development

To start the project locally, run:

  npm dev
  our
  yarn dev

Requirements

  • Node.js >= 18.13.0
  • npm our yarn

Scripts

  • yarn/npm dev — Starts the application in development mode.
  • yarn/npm build — Creates an optimized production build of your application.
  • yarn/npm start — Starts the application in production mode.
  • yarn/npm lint — Runs ESLint for all files.
  • yarn/npm format — Try format files use prettier.
  • yarn/npm lint:fix — Try fix files use eslint.
  • yarn/npm lint:all — Runs all lint scripts and format: npm run format && npm run lint:fix && npm run lint .
  • yarn/npm test — Runs test files without watch mode.
  • yarn/npm test:watch — Runs test files with watch mode.
  • yarn/npm test:ui — Run in browser UI views tests.
  • yarn/npm test:coverage — Runs test files with coverage report.

License

MIT © Yazalde Filimone

About

Typescript starter with vitest, prettier, eslint. All the tools you need to build your project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published