Minimal static server, TAP test runner and conventional release flow with few dependencies.
npm i -D wet-run
Serve static files in current dir on port 8000. (powered by ๐ฅ Hono)
wet serve
<path>
--port
, --cors
, --redirect
, --livereload
, --ssl-cert
,--ssl-key
, --ssl-pass
, --log-level
Run tests in a real browser on the test/
path. (powered by ๐ญ Playwright)
wet test
<path>
--port
, --cors
, --redirect
, --servedir
, --browser
,--channel
, --no-headless
, --timeout
, --coverage
, --log-level
Create a new patch release with a conventional changelog and Github release.
wet release patch --changelog --github-release
[<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git | from-package]
--prerelease
, --preid
, --tag
, --access
, --provenance
, --changelog
, --github-release
, --dry-run
, --log-level
Check cd.yml for an example.
NODE_AUTH_TOKEN
for npm publish
CONVENTIONAL_GITHUB_RELEASER_TOKEN
for Github releases