cypress-visual-regression
v5.0.1 visual regression image diff cypress
lint
eslint src --ext .ts
test
vitest run
build
node esbuild.cjs && tsc --project tsconfig.json --declaration --emitDeclarationOnly
cy:base
visual_regression_log=debug cypress run -C cypress.base.config.ts
lint:fix
eslint src --ext .ts --fix
prebuild
rimraf dist && npm run lint && npm run format:check && npm run test
typecheck
tsc --noEmit --project tsconfig.json
format:fix
prettier --write ./
preversion
run-s lint format:check test build
cy:open:base
visual_regression_log=debug cypress open --e2e -b chrome -C cypress.base.config.ts
format:check
prettier --check ./
cy:regression
visual_regression_log=debug cypress run -C cypress.regression.config.ts
prepublishOnly
run-s build
clean:snapshots
rimraf cypress/snapshots
cy:open:regression
visual_regression_log=debug cypress open --e2e -b chrome -C cypress.regression.config.ts
cy:base-and-regression
npm run cy:base && npm run cy:regression