UNPKG

pdf-visual-compare

Version:

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

68 lines (67 loc) 2.02 kB
{ "name": "pdf-visual-compare", "version": "2.5.0", "description": "Visual regression testing library for PDFs in Js/Ts without binary and OS dependencies.", "keywords": [ "pdf", "pdf regression", "pdf test", "pdf compare" ], "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>", "type": "module", "exports": { ".": { "default": "./out/index.js", "types": "./out/index.d.ts" } }, "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", "license-checker": "npx license-checker --production --onlyAllow 'MIT; MIT OR X11; BSD; ISC; Apache-2.0; Unlicense'", "lint": "eslint .", "lint:fix": "npm run lint -- --fix", "pretest": "npm run clean", "test": "vitest run --coverage", "test:docker": "npm run docker:build && npm run docker:run" }, "dependencies": { "pdf-to-png-converter": "^3.6.3", "png-visual-compare": "^2.5.0" }, "devDependencies": { "@types/node": "^22.10.2", "@typescript-eslint/eslint-plugin": "^8.18.0", "@typescript-eslint/parser": "^8.18.0", "@vitest/coverage-v8": "^2.1.8", "eslint": "^9.17.0", "rimraf": "^6.0.1", "ts-node": "^10.9.2", "typescript": "^5.7.2", "vitest": "^2.1.8" }, "engines": { "node": ">=20", "yarn": "please-use-npm" } }