Socket
Socket
Sign inDemoInstall

@coffeekraken/s-typescript-builder

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coffeekraken/s-typescript-builder

Typescript builder that let you transpile your .ts files with ease. It allows to generate multiple formats (esm,cjs) at once if needed.


Version published
Maintainers
1
Created
Source

{{#> layout-readme }}

Build your typescript in multiple formats

The main purpose of this package is to transpile your typescript easily with features like multiple formats (esm,cjs), etc...

  1. Multiple formats (cjs,esm)
  2. Different output folders using the %moduleSystem and %platform token in the outDir
  3. Watch capabilities to work live on your codebase

Usage

Two different possibilities are offered to make use of this package:

Using CLI

# Build your files stored in src/(js|shared|node|config)
sugar typescript.build

# Start the watch and build process
sugar typescript.build -w

# Display help for this command
sugar typescript.build -h

Using typescript

import __STypescriptBuilder from '@coffeekraken/s-typescript-builder
const builder = new __STypescriptBuilder();
const res = await builder.build({});

{{/ layout-readme }}

FAQs

Package last updated on 15 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc