Feel free to reach out to me if you have ideas!
For concrete changes please use pull requests.
For ideas, hints, or if you just don't have time or resources to do pull requests, create an issue.
Using Jest.
npm test
: complete test and coveragenpm run testch
: test only the changed files or testsnpm run testfail
: test only the failed casesnpx jest -t 'my test'
: run a single test
Includes jest-extended for more specific matchers.
npm run lint
Using standard
npm run build
Using esbuild
With husky
npm run doc
Using jsDoc, see jsdoc.conf.json
Test, lint, build, and generate docs with npm run predeploy
.
Create a new version with npm version major|minor|patch
(follow semantic versioning!).
Run npm run deploy
(will first run predeploy
) to also create a tag and commit to GitHub and then publish to npm.
You can see a visual dependency graph here.
In VSCode you can generate such a graph via a plugin.