ts-land

1.0.0 • Public • Published

ts-land

The only tool you will ever need for TypeScript

Installation

npm install -D ts-land

Verify installation

tsl --version

Usage

run

tsl run <file.ts> # tsl run src/server.ts

Executes a ts file directly from the command line

dev

tsl dev <file.ts> # tsl dev src/server.ts

Uses nodemon to reload your app on every change. You can modify the package.json to ignore certain files or folders. Check out the nodemon docs for all available options.

build

tsl build <file.ts> <outputDirectory> # tsl build src/server.ts dist

Compile a TypeScript project into a single index.js file, together with all its dependencies using @vercel/ncc

browser

tsl browser <file.ts> <outputDirectory> # tsl browser src/server.ts dist

Builds a TypeScript file using tsc, bundles all modules into one file with browserify and minifies it using uglify-js

Package Sidebar

Install

npm i ts-land

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.97 kB

Total Files

4

Last publish

Collaborators

  • luisenmarroquin