1.1.2 • Published 4 months ago

bob-tsm v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

bob-tsm

npm

Package inspired on https://github.com/lukeed/tsm with extra features and support for watch mode and with extra fixes to follow the new TypeScript 4.5 extensions .mts=>ESM and .cts=>CommonJS.

Install

pnpm add -D bob-tsm esbuild
yarn add -D bob-tsm esbuild
npm install -D bob-tsm esbuild

Usage

All the arguments that are not part of bob-tsm are passed directly to the node executable.

Usage: bob-tsm [options] [node arguments...]

Options:
  -V, --version                     output the version number
  --tsmconfig <config>              Configuration file path (default: "tsm.js")
  --watch <patterns...>             Enable & specify watch mode
  --ignore <patterns...>            Ignore watch patterns
  --node-env,--node_env <NODE_ENV>  Automatically add the specified option as NODE_ENV environment variable, "prod" is an alias
                                    for "production" and "dev" is an alias for "development" (choices: "production", "prod",
                                    "development", "dev", "test")
  -q, --quiet
  --cjs                             Use CommonJS instead of ESM for ".ts" files. You still can use ".mts" to force ESM in
                                    specific typescript files.
  -h, --help                        display help for command```
1.1.1

2 years ago

1.1.0

2 years ago

1.1.2

2 years ago

1.0.0

2 years ago

0.4.8

2 years ago

0.4.7

2 years ago

0.3.9

2 years ago

0.4.5

2 years ago

0.4.4

2 years ago

0.3.8

2 years ago

0.4.6

2 years ago

0.3.7

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.3.6

2 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.2

3 years ago

0.3.3

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.4

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago