@muzamint/microbundle-ts-ava
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Build

microbundle-ts-pkg: A TypeScript npm package skeleton/starter project with microbundle, AVA and XO

Comes with:

Requirements

  • Node 10
  • Yarn 1.x or npm

Setup

  1. Clone the repository
  2. Run yarn or npm install installs all required dependencies.
  3. Run yarn build to build from TypeScript to common JavaScript distribution formats.
  4. Run yarn test to run all tests :D.

npm scripts

Equivalent npm run <script> should also work

  • yarn test run tests against built output with ava. Important: runs against build output so run yarn build beforehand.
  • yarn build run build from TypeScript to UMD, CJS, ESM with microbundle
  • yarn watch runs build in watch mode with microbundle
  • yarn lint will lint all of the files with xo
  • yarn format will run lint with --fix option on all the examples files (and tests).
  • yarn release, run clean, production build and release with np.

About

This package is maintained by Hugo from Code with Hugo and Alpine.js Weekly.

Acknowledgments

Special thanks to:

LICENSE

Code is licensed under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i @muzamint/microbundle-ts-ava

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

6.28 kB

Total Files

14

Last publish

Collaborators

  • mingderwang