Skip to content

Latest commit

History

71 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

bleed-believer cli

A ts-node replacement with path alias resolution, using TSC under the hood.

Basic usage

  • Install the package:

    npm i --save-dev @bleed-believer/cli typescript
  • Next, launch your application:

    ## Using the shortest executable name:
    npx bleed start ./src/index.ts
    ## ...or if you want the full executable name:
    npx @bleed-believer/cli start ./src/index.ts
    ## ...or in case do you want to execute as a loader:
    node --import @bleed-believer/cli ./src/index.ts

CLI Commands

  • npx bleed start [target]
    Run a TypeScript file using the custom ESM loader.

    • [target]: The file do you want to execute.
    • --config(optional): Sets a custom tsconfig JSON file.
    • --watch(optional): Execute as watch mode.
    • --(optional): Pass arguments to the typescript file.
  • npx bleed build
    Transpile all files to JavaScript.

    • --config(optional): Sets a custom tsconfig JSON file.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages