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

3.0.2 • Public • Published

tsmodule library

This is a tsmodule library. By default, it is assumed to be a Node program, but this can be adjusted via the platform field in package.json.

Develop

Rebuild on changes with tsmodule dev or the yarn dev script:

yarn dev
# calls `tsmodule dev`

Export and publish

To export your component library, use tsmodule build or the yarn build script:

yarn build
# calls `tsmodule build`

You can then publish to NPM:

yarn publish

Importing from your library

All index exports, e.g. src/example/index.tsx will be available downstream via import ... from "my-library/example".

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i sandwich-cli

      Weekly Downloads

      1

      Version

      3.0.2

      License

      UNLICENSED

      Unpacked Size

      1.37 MB

      Total Files

      6

      Last publish

      Collaborators

      • ctjlewis