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

https://github.com/lamualfa/template-node

⚡ Template for Typescript + Node.js + SWC + Jest + ESLint + Prettier + Lint Staged.
https://github.com/lamualfa/template-node

babel eslint github-actions husky javascript jest lint-staged nodejs prettier swc template typescript

Last synced: 2 months ago
JSON representation

⚡ Template for Typescript + Node.js + SWC + Jest + ESLint + Prettier + Lint Staged.

Awesome Lists containing this project

README

          

# Node.js Template


Node.js
Typescript


Jest
SWC


Prettier
ESLint

![hr](https://user-images.githubusercontent.com/39755201/159233055-3bd55a37-7284-46ad-b759-5ab0c13b3828.png)

# Features

- Testing in [Github Actions](https://github.com/features/actions)
- Testing Typescript code using [SWC Jest](https://github.com/Brooooooklyn/swc-node/tree/master/packages/jest)
- Code Coverage using [Jest](https://jestjs.io/)
- Standardized and Linting the code using [ESLint](https://eslint.org/)
- Format code using [Prettier](https://prettier.io/)
- Automate [Git Hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) using [Husky](https://github.com/typicode/husky) and [Lint Staged](https://github.com/okonet/lint-staged)

![hr](https://user-images.githubusercontent.com/39755201/159233055-3bd55a37-7284-46ad-b759-5ab0c13b3828.png)

# Packages

- Typescript
- Node.js
- Jest
- ESLint
- Prettier
- Husky
- SWC
- Lint Staged

![hr](https://user-images.githubusercontent.com/39755201/159233055-3bd55a37-7284-46ad-b759-5ab0c13b3828.png)

# Installation

###### Using [NPX](https://docs.npmjs.com/cli/v8/commands/npx) (NPM)

```
npx degit lamualfa/template-node project-name
```

###### Using [PNPM](https://pnpm.io/id/cli/dlx)

```
pnpm dlx degit lamualfa/template-node project-name
```