stubb
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

STUBB

Generate 'dist' during the development process to forward the package's entry file.

Install

npm install --save-dev stubb

Usage

In the 'package.json' of the package in need:

{
  // ...
  "scripts": {
    "stubb": "stubb"
  }
}

Set entry file path (default: src/index):

stubb --entry path
stubb -e path

# Multiple Entry
stubb -e path,path,...

Set output file name (default: dist):

If 'package.json -> exports/main/module/types' is set, ignore it.

stubb --output name
stubb -o name

Package Sidebar

Install

npm i stubb

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

16.2 kB

Total Files

9

Last publish

Collaborators

  • zhengyuzi