@dropecho/lib_example
TypeScript icon, indicating that this package has built-in type declarations

0.10.0 • Public • Published

A haxe library template/example for multiple targets (npm/haxelib).

Use as template

Rename package in haxelib.json
Ensure all deps are included as needed (genes for esm, hxcs etc).
Rename package in package.json
Rename package in .releaserc.json

Update readme, license as required.
Replace src and tests.

Copy .gitignore

Defaults / settings

The JS ESM build also outputs .dts files for typing. For this to "look correct".

Output

The CS is built into dist/cs
The release is added to GH via .releaserc and named there.

The JS is built into dist/js/cjs and dist/js/esm.
With package exports, should work for both ESM and CJS imports.

Readme

Keywords

none

Package Sidebar

Install

npm i @dropecho/lib_example

Weekly Downloads

3

Version

0.10.0

License

MIT

Unpacked Size

14.9 kB

Total Files

24

Last publish

Collaborators

  • vantreeseba
  • thirdcreed