0.0.7 • Published 6 years ago

@zaki-yama/my-typescript-package v0.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

TypeScript npm Package Template

A template for developing a npm package that supports multiple module formats (CommonJS, ES Modules and UMD).

File Structure

umd/ // UMD format, bundled JS file
  my-typescript-package.js
esm/ // ES Modules format (`import/export`) JS files
  moduleA.js
  moduleB.js
  index.js
lib/ // CommonJS format (`module.exports/require`) JS files
  moduleA.js
  moduleB.js
  index.js
src/ // Source files written in TypeScript
  moduleA.ts
  moduleB.ts
  index.ts

How to Develop

$ npm install
$ npm run build # generates `lib`, `esm`, and `umd`
0.0.7

6 years ago

0.0.6

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago