Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mastermunj/worker-typescript-boilerplate

Cloudflare Worker TypeScript Boilerplate for Node.js Projects
https://github.com/mastermunj/worker-typescript-boilerplate

boilerplate cloudflare cloudflare-workers node template typescript typescript-boilerplate worker

Last synced: about 1 month ago
JSON representation

Cloudflare Worker TypeScript Boilerplate for Node.js Projects

Awesome Lists containing this project

README

        

# TypeScript Boilerplate for Node.js

## Features
* Latest & Greatest [TypeScript](https://github.com/Microsoft/TypeScript)
* [EsLint](https://github.com/eslint/eslint) & [Prettier](https://github.com/prettier/prettier) with recommended rules
* [Jest](https://github.com/facebook/jest) & [ts-jest](https://github.com/kulshekhar/ts-jest) for unit tests
* NPM scripts for build, lint, test & release
* [Commitlint](https://github.com/conventional-changelog/commitlint/) for ensuring [conventional commit format](https://www.conventionalcommits.org/)
* [Standard Version](https://github.com/conventional-changelog/standard-version) for easy release management using [semver](https://github.com/semver/semver)
* [GitHub Actions](https://github.com/features/actions) as CI

## How to Use?

1. Clone Repository
```sh
git clone [email protected]:mastermunj/typescript-boilerplate.git
```

2. Run `reset.sh`
```sh
cd
chmod +x reset.sh && ./reset.sh
```

The script does following:
* Removes remote origin
* Clears git commit history making the repo as good as fresh initiated
* Runs npm install
* Removes `reset.sh` file for safety
* Adds all files to repo
* Does initial commit