Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yazaldefilimone/javascript-starter

JavaScript starter with vitetest, prettier, eslint. All the tools you need to build your project.
https://github.com/yazaldefilimone/javascript-starter

Last synced: about 1 month ago
JSON representation

JavaScript starter with vitetest, prettier, eslint. All the tools you need to build your project.

Awesome Lists containing this project

README

        



TypeScript Starter welcome!
License
License
Stars
Languages



JavaScript starter with vitest, prettier, eslint.

All the tools you need to build your project.


## Features

- ⚡️ Vitest 0.34
- ⭐ Node 18
- 📏 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

### Development

To start the project locally, run:

```bash
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](https://github.com/yazaldefilimonepinto/javascript-starter/blob/main/LICENSE) © [Yazalde Filimone](https://www.linkedin.com/in/yazalde-filimone/)