UNPKG

pdf-visual-compare

Version:

Visual regression testing library for PDFs in Js/Ts without binary and OS dependencies.

65 lines (64 loc) 2.05 kB
{ "name": "pdf-visual-compare", "version": "3.3.0", "description": "Visual regression testing library for PDFs in Js/Ts without binary and OS dependencies.", "keywords": [ "pdf", "pdf regression", "pdf test", "pdf compare", "compare pdf", "pdf diff", "visual regression" ], "homepage": "https://github.com/dichovsky/pdf-visual-compare#readme", "bugs": { "url": "https://github.com/dichovsky/pdf-visual-compare/issues" }, "repository": { "type": "git", "url": "git+https://github.com/dichovsky/pdf-visual-compare.git" }, "license": "MIT", "author": "Igor Magdich <magdich.igor@gmail.com>", "main": "./out/index.js", "types": "./out/index.d.ts", "files": [ "./out" ], "scripts": { "prebuild": "npm run clean", "build": "tsc --pretty", "clean": "rimraf ./out ./coverage ./test-results ./comparePdfOutput", "docker:build": "docker build --compress -t test-pdf-visual-compare .", "predocker:run": "npm run clean", "docker:run": "docker run --rm -it -v $PWD/test-results:/usr/pkg/test-results test-pdf-visual-compare", "docker:test": "vitest run", "test:license": "npx --yes license-checker --production --onlyAllow \"ISC; MIT; MIT OR X11; BSD; Apache-2.0; Unlicense\"", "lint": "eslint .", "lint:fix": "npm run lint -- --fix", "pretest": "npm run clean && npm run lint && npm run test:license && npm run build", "test": "vitest run --coverage", "test:docker": "npm run docker:build && npm run docker:run" }, "dependencies": { "pdf-to-png-converter": "~3.11.0", "png-visual-compare": "~3.2.0" }, "devDependencies": { "@types/node": "^24.10.0", "@types/pngjs": "^6.0.5", "@typescript-eslint/eslint-plugin": "^8.46.3", "@typescript-eslint/parser": "^8.46.3", "@vitest/coverage-v8": "^4.0.7", "eslint": "^9.39.1", "rimraf": "^6.1.0", "ts-node": "^10.9.2", "typescript": "^5.9.3", "vitest": "^4.0.7" }, "engines": { "node": ">=20", "yarn": "please-use-npm" } }