This repo is a template for creating CommonJS and ESM packages using Typescript to release on NPM.
- It uses
tscto transpile to CommonJS androllupto build the ESM packages. - Has a default MIT license
- Eslint rules from @blb-ventures/eslint-config
- Prettier and EditorConfig
- Github Actions with:
- Release: using release-please that automates CHANGELOG generation
- Testing: as a default it just run eslint
- Update the license
- Update
rollup.config.jsexternal packages - Update
src/external.tsto include all the lib files - Update
src/index.tsline 4 to export a named module (optional) - Update package.json
- Package name
- Package version
- Homepage
- Repository
- Bugs url
- Author
- License
- Contributors