Socket
Book a DemoInstallSign in
Socket

@melnikov-s/tslsp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@melnikov-s/tslsp

Opinionated typescript library starterpack

0.1.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

typescript-library-starterpack

An opinionated starter pack for a typescript library, comes with rollup for bundling, jest configured for testing and prettier+eslint+vscode config for formatting and styling.

npm install -g tslsp

tslsp libraryName

Will create folder libraryName with all the scaffolding code required for your typescript library.

  • All strict checks will be turned on.
  • Rollup will be used to bundle the library.
  • eslint and prettier pre-configured for auto formatting with vscode.
  • jest used for unit tests
  • by default will output UMD ES5 bundle (no polyfills)

Available npm run commands:

  test
    jest
  test:watch
    jest --watch
  test:cover
    jest --coverage
  build
    rollup -c rollup.config.js
  lint
    eslint ./src ./tests --ext .ts

FAQs

Package last updated on 18 Mar 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.