Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.06 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.06 KB

node-ts-telegram-bot

A Sample Node.js + TypeScript Project for Telegram Bot Developers

Table of Contents

Installation

You need pnpm to install the node_modules (the dependencies of project):

$ cd /path/to/project
$ pnpm i

If you won't use pnpm as the package manager:

$ cd /path/to/project
$ rm -rf node_modules/ pnpm-lock.yaml
$ npm i # or yarn

Scripts

Script Description
build Transpile/Compile typescript files into javascript files with the target ECMA standard.
start Execute the project build files using pure node.js (without ts-node).
dev Execute the project typescript files using nodemon + ts-node.