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

@finga/spawn-tslib

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@finga/spawn-tslib

Utility to spawn a TS library with all configs and setup ready

Source
npmnpm
Version
1.0.0-beta.2
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

spawn-tslib

A handy utility to spawn a TS library ready to go.

All the annoying webpack, jest and tsconfig setup is done automatically for you, and you can go ahead and start developing your library today!

Simply create a new directory for you lib and inside run

npx @finga/spawn-tslib

Your directory must be empty. The only thing it can contain is a .git index.

What gets set up for you

  • Typescript and tsconfig.json
  • Webpack configured to transpile to ES5
  • Jest for unit testing
  • Eslint with reasonable basic rules
  • Installs dependencies via NPM

Alternatives

If you are not fully satisfied with @finga/spawn-tslib, go and check out https://github.com/ryancat/create-typescript-library, it is a good looking alternative with the same purpose and it is more configurable.

Keywords

create

FAQs

Package last updated on 26 Jul 2022

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