Install
npm install smky
# peer: @playwright/test (and/or playwright)
Runtime dependency: js-yaml. Playwright packages are peers.
Scripts in this repository
| Command | Purpose |
|---|---|
npm test | Unit tests (node:test) |
npm run test:examples | Playwright against examples/ + local static site |
npm run docs:start | Docusaurus dev server at http://127.0.0.1:3000/ (binds 0.0.0.0:3000) |
npm run docs:build | Production docs build → website/build/ |
npm run docs:serve | Build + lightweight static server at http://127.0.0.1:8080/ |
# from repo root
npm run docs:start # open http://127.0.0.1:3000/ (and /docs/intro)
npm run docs:serve # open http://127.0.0.1:8080/
Local preview has no /smky URL prefix. If you browse from another machine, use this host’s IP and ensure the port is reachable (cloud/firewall).
Published site: https://carefreeinv.com/smky/ (GitHub Pages + custom domain; CI sets DOCUSAURUS_BASE_URL=/smky/). Push main or run Deploy docs to GitHub Pages to publish.