pacote_web
A very opiniated TypeScript Node package template that fits my own taste and workflow
Features
These are the things you get if you use this template:
- Clean base Node.js project built entirely with TypeScript ES6
- Support for hot-reloading and
swc
compilation - Support for tree-shaking using
esbuild
- Support for
CommonJS
, type declaration files (.d.ts
) and source-maps - Linting and formatting with
ESLint
+Prettier
- Git Client hooks to enforce codestyle before pushing changes
- Unit testing with Jest
- Support for package versioning with
changesets
+ automatic publish with GitHub actions
Usage
mason make pacote_web --name <package_name> --description <package_description> --author <package_author> --type <standalone|library> --hotreload <true|false> --license <MIT|GNUGPLV3|none>