Skip to content

A handly utility to spawn a TS library ready to go. All the annoying setup, configs, build process, testing are done automatically.

Notifications You must be signed in to change notification settings

fingerartur/spawn-tslib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A handly utility to spawn a TS library ready to go. All the annoying setup, configs, build process, testing are done automatically.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published