https://github.com/mislam/tsnpk
TypeScript Node Project Kit
https://github.com/mislam/tsnpk
Last synced: about 1 year ago
JSON representation
TypeScript Node Project Kit
- Host: GitHub
- URL: https://github.com/mislam/tsnpk
- Owner: mislam
- Created: 2024-01-22T05:15:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-22T22:12:50.000Z (over 2 years ago)
- Last Synced: 2025-04-09T14:16:01.000Z (about 1 year ago)
- Language: JavaScript
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TSNPK
TSNPK (TypeScript Node Project Kit) comes pre-installed with all bells and whistles you would need for your next NodeJS project:
- TypeScript: Compiler
- ESLint: Code Linter
- Prettier: Code Formatter
- Vitest: Testing Framework
- Rollup: Module Bundler
## Start
Install NPM dependencies:
```bash
pnpm install
```
Make a copy of `.env` file:
```bash
cp .env.example .env
```
Run:
```bash
pnpm dev
```
It will watch for changes and compile as you go.
## Test
Run test with instant watch mode:
```bash
pnpm test
```
## Build
The compiled code is stored in `build`. So you may run it with:
```bash
node ./build
```
_"It's that simple!"_ – 🤩