This is meant to be a template for quickly adding new package libraries. Replace this readme with relevant information for your package.
- go into the package folder in this repo.
- cp -r template your_package_name
- Edit the package.json file renaming the "name" property.
- add dependencies as needed.
This template will set you up with typescript, eslint, prettier, some basic scripts, and a main file entry point.
- build - typescript build and output to dist
- watch - build watching for changes
- format - prettier code fixing
- lint - eslint code fixing
- fix - eslint and prettier code fixing
- lint:check - eslint code checking ( no changes )
- format:check - prettier code checking ( no changes )
- build:check - run type check without emitting files
- check - eslint and prettier and typescript code checking ( no changes )
- test - run mocha testing
- test:watch - run mocha testing
- coverage - see testing coverage
Add a example.test.ts
file to any folder and mocha will find it.
** note: chai v5 breaks typescript support, so we explicitly use chai 4 **