decoders
v2.2.0-test2 decoders Decoder always and array boolean then compose constant and 63 more...
docs
cog -cr docs/*.md
lint
eslint --color --report-unused-disable-directives src/**/*.ts test/**/*.ts && prettier --list-different src/ test/ test-d/
test
vitest run --coverage
build
tsup && cp dist/*.js dist/*.d.ts .
format
eslint --report-unused-disable-directives --fix src && prettier --write 'src/**/*.js'
release
npm run test && npm run lint && npm run lint:docs && npm run build && npm run lint:package && release-it
lint:docs
cog -c --check docs/*.md || (npm run docs; git diff; echo 'Error: docs not up-to-date, please re-run "npm docs" to update them.' && exit 1)
test:types
npm run build && tsd --typings ./dist/index.d.ts
lint:package
publint --strict && attw --pack
test:typescript
tsc --noEmit
test:completeness
./bin/check.sh
actually-prepublish
echo "\n\nPlease run \`bin/publish.sh <options>\` instead.\n\n" && exit 2
npm i [email protected]
Metadata
- MIT
- Whatever
- Vincent Driessen
- released 12/28/2023