Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/maxleiko/tpl-node-app

A template to bootstrap a Node.js CJS app written in TypeScript with ESLint & Jest all wired-up
https://github.com/maxleiko/tpl-node-app

Last synced: 7 days ago
JSON representation

A template to bootstrap a Node.js CJS app written in TypeScript with ESLint & Jest all wired-up

Awesome Lists containing this project

README

        

## tpl-node-app

A template to bootstrap a Node.js CJS app written in TypeScript with ESLint & Jest all wired-up

### Usage
```sh
git clone [email protected]:maxleiko/tpl-node-app.git
cd tpl-node-app
git remote set-url origin
yarn
```

### Available scripts:
- `clean`: clean the generated bundle
- `lint`: lints the `src` folder using `ESLint`
- `test`: runs the test directly from TypeScript sources using `mocha`
- `build`: bundles the whole app into `dist/index.js` using `@vercel/ncc`
- `package`: creates a standalone binary using `nexe`
- `start`: builds & runs your CLI app
- `docker`: builds a `Docker` image targetting `alpine`