🚀 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

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
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, so you can go ahead and start developing your library now!

Simply run:

npx @finga/spawn-tslib my-lib

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
  • Dependencies are installed via NPM

Alternatives

If you are not fully satisfied with @finga/spawn-tslib, go ahead and check out https://github.com/ryancat/create-typescript-library

Changelog

  • v1.0.2
    • Fixed changelog
  • v1.0.1
    • Open project in Vscode once it is ready
    • Added more exclusion patterns for test files, to exclude them from compilation
    • Fixed ESlint config for test files and JS config files
  • v1.0.0
    • Added @finga/spawn-tslib script that spawns a ready-for-action TS library project

Keywords

create

FAQs

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