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