🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

ts-publisher

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-publisher

It helps to publish your TypeScript libraries to npm.

latest
Source
npmnpm
Version
0.3.5
Version published
Weekly downloads
5
-37.5%
Maintainers
1
Weekly downloads
 
Created
Source

ts-publisher

It helps to publish your TypeScript libraries to npm.

Features

  • compiles your TypeScript code into outDir which you defined in tsconfig.json.
  • changes permissions of binary files
  • copy package.json into outDir and remove private flag
  • copy README.md into outDir
  • publish your built files to npm

How to install

$ npm install -D ts-publisher
// or
$ yarn add -D ts-publisher

Build

$ npx tsp build
// or
$ yarn tsp build

Options

namedescription
-p, --projectspecify tsconfig path. The default is <your library>/tsconfig.json

Publish

You need to login npm cli before using the publish task.

$ npx tsp publish
// or
$ yarn tsp publish

Options

namedescription
-p, --projectsame as build
-o, --otpone time password

FAQs

Package last updated on 15 Apr 2020

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