@danieljge/tscx

Run and build TypeScript projects!


Keywords
typescript, swc, watcher
License
IPL-1.0
Install
npm install @danieljge/tscx@1.0.0

Documentation

Tscx

Run and build TypeScript projects!

Install:

  • npm i -g @danieljge/tscx
  • npm i -D @danieljge/tscx

Usage:

  • tscx [file|flags] [other flags]
  • npx tscx [file|flags] [other flags]

Flags

flag what it do
--init Create a tsconfig.json
--build Build the project
--watch Watch for changes
--noTypeCheck Avoid type check

Notes

  • Tscx use SWC.
  • You can make a .swcrc that SWC will use
  • For watch, tscx use --watch node's flag
  • When you are using build flag, this, will read tsconfig.json for rootDir and outDir