Skip to content

dropecho/lib_example

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages