waitingsong / mwtsc

it's a tsc wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

midway tsc

it's a tsc wrapper, like tsc-watch.

Usage

# run package file
$ npx mwtsc --watch --run @midwayjs/mock/app.js

# run file
$ npx mwtsc --watch --run ./bootstrap.js

# run with tsc options
$ npx mwtsc --watch --project tsconfig.production.json --run ./bootstrap.js

Different with tsc and tsc-watch

  • 1、support --run option, run file after compile success
  • 2、support copy non-ts file to dist directory when build source code
  • 3、support ts alias path by tsc-alias

About

it's a tsc wrapper

License:MIT License


Languages

Language:JavaScript 100.0%