UNPKG

visreg-test

Version:

A visual regression testing solution that offers an easy setup with simple yet powerful customisation options, wrapped up in a convenient CLI runner to make assessing and accepting/rejecting diffs a breeze.

77 lines (76 loc) 2.86 kB
{ "name": "visreg-test", "version": "6.7.0", "description": "A visual regression testing solution that offers an easy setup with simple yet powerful customisation options, wrapped up in a convenient CLI runner to make assessing and accepting/rejecting diffs a breeze.", "main": "dist/run-test.js", "types": "dist/types.d.ts", "scripts": { "dev": "NODE_ENV=development npm run watch", "build-web-interface": "rm -rf dist/server/app && cd web && npm run build && cd .. && cp -r web/dist dist/server/app", "build": "NODE_ENV=production npm run clear && tsc && npm run copy-files && npm run build-web-interface && npm audit && npm audit fix && npm shrinkwrap", "build-dev-container": "npm run build && chmod +x sandbox-project/node_modules/visreg-test/dist/visreg.js && chmod +x sandbox-project/node_modules/visreg-test/dist/entry.sh && cd sandbox-project && node_modules/visreg-test/dist/entry.sh --build-container --env=dev", "copy-files": "cp -r src/scaffold dist/ && cp -r src/container-config dist/ && cp src/entry.sh dist/", "scaffold-dev-container": "chmod +x src/scaffold-dev-container.sh && ./src/scaffold-dev-container.sh", "clear": "rm -rf dist && mkdir dist", "watch": "tsc --watch", "create-symlink": "node -e \"require('fs').symlinkSync(path.join(process.cwd(), './dist'), process.argv[1] + '/node_modules/visreg-test/dist')\"", "doc": "doctoc README.md --github --notitle", "patch": "npm run prep && npm version patch && npm publish", "minor": "npm run prep && npm version minor && npm publish", "major": "npm run prep && npm version major && npm publish", "prep": "npm run doc && npm install && npm run build", "postinstall": "chmod +x ./dist/entry.sh && chmod +x ./dist/container-config/run-visreg-test.sh && chmod +x ./dist/container-config/build-visreg-test.sh" }, "bin": { "visreg-test": "dist/entry.sh" }, "author": "Christofer Haglund <cchaglund@users.noreply.github.com>", "license": "LGPL-3.0-only", "repository": { "type": "git", "url": "git+https://github.com/cchaglund/visreg-test.git" }, "keywords": [ "visual", "regression", "testing", "visual-regression", "test", "visreg", "visreg-test", "visreg-tester", "v", "vrt", "cypress", "snapshot", "jest", "frontend-testing" ], "dependencies": { "commander": "11.1.0", "cors": "2.8.5", "cypress-image-snapshot-fork-2": "9.0.1-6", "cypress-network-idle": "1.14.2", "cypress-set-device-pixel-ratio": "1.0.4", "express": "^4.19.2", "local-cypress": "1.2.6", "marked": "^12.0.2", "open": "6.4.0", "tsx": "4.21.0", "ws": "^8.16.0" }, "devDependencies": { "@types/cors": "2.8.17", "@types/express": "4.17.21", "@types/ws": "^8.5.10", "doctoc": "2.2.1", "typescript": "5.3.2" }, "peerDependencies": { "cypress": "13.6.2" }, "files": [ "dist", "npm-shrinkwrap.json" ] }