reg-cli

v0.18.8
![reg-cli](./docs/reg-cli.jpg)

watch

babel src --watch -d dist

build

npm run build:cli && npm run build:report

build:cli

babel src -d dist

build:report

sh ./scripts/build-ui.sh v0.4.0

flow

flow

copy:ximgdiff

copyfiles -u 3 node_modules/x-img-diff-js/build/cv-wasm_browser.* report/assets

prepublishOnly

npm run build

reg

node dist/cli.js ./sample/actual ./sample/expected ./sample/diff -I -R ./sample/index.html -T 0.01 -X client

reg:from

node dist/cli.js -F ./sample/reg.json -R ./sample/index.html

screenshot

node test/screenshot.js

test:cli

chmod +x dist/cli.js && ava test/cli.test.mjs

test:screenshot

npm run build:report && npm run reg && npm run screenshot

test

export NODE_OPTIONS=--openssl-legacy-provider && cross-env NODE_ENV="debug" npm run build:report && npm run build && npm run test:cli && npm run test:screenshot
npm i reg-cli

Metadata

  • MIT
  • >=18
  • bokuweb
  • released 10/2/2024

Downloads

Maintainers