Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/maxleiko/tpl-node-app
- Owner: maxleiko
- License: mit
- Created: 2020-07-17T13:40:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T11:44:22.000Z (almost 2 years ago)
- Last Synced: 2024-04-21T06:17:38.533Z (7 months ago)
- Language: JavaScript
- Size: 905 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`