@hydrophobefireman/lazy
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

NPM Package Gen

A very simple template to create NPM libraries with subpackages without worrying about it

Usage

Clone this repo

To generate a package

yarn create-package YOUR_PACKAGE

And you will have a subpackage created in the packages directory

To use the code from the main module you'll have to setup your tsconfig.json

When you build, this will run microbundle on all the subpackages and before publishing it will copy them to the root, so npm only sees your subpackage output

Your dependencies, peer dependencies will be handled for you

( Change the replace-me in your package.json and tsconfig.json to your library's name )

Readme

Keywords

none

Package Sidebar

Install

npm i @hydrophobefireman/lazy

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

20.2 kB

Total Files

61

Last publish

Collaborators

  • hydrophobefireman