New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

microbundle-ts-pkg-example

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

microbundle-ts-pkg-example

A TypeScript npm package skeleton/starter project with microbundle, node:test and prettier

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

Build

microbundle-ts-pkg: A TypeScript npm package skeleton/starter project with microbundle, node:test and prettier

Comes with:

Requirements

  • Node 18 (to run this repository, due to node:test usage)
  • npm v7+

Setup

  • Clone the repository
  • Run npm install installs all required dependencies.
  • Run npm run build to build from TypeScript to common JavaScript distribution formats.
  • Run npm test to run all tests.

npm scripts

  • npm run test run tests against built output with Node.js' native node:test module. Important: runs against build output so run npm run build beforehand.
  • npm run build run build from TypeScript to UMD, CJS, ESM with microbundle
  • npm run watch runs build in watch mode with microbundle
  • npm run lint will ensure all of the files are prettier-formatted
  • npm run format will run prettier formatting option on all the examples files (and tests).
  • npm run 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.

Keywords

microbundle

FAQs

Package last updated on 07 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts