CharleeWa / typescript-study-setup

Quick start learning typescript, base on ts-node and ts-node-dev.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript Study Setup

Quick start learning typescript, base on ts-node and ts-node-dev.

Quickstart

  • Get the project code
git clone https://github.com/CharleeWa/typescript-study-setup.git
  • Installation dependencies
cd typescript-study-setup

# with npm
npm install
  • run
npm run tnd

notes.

The default startup file is index.ts, if yours is not, don't forget to change the command line script.

open the package.json

"scripts": {
  "tnd": "ts-node-dev --respawn --transpile-only yours"
}

About

Quick start learning typescript, base on ts-node and ts-node-dev.

License:MIT License


Languages

Language:TypeScript 100.0%