UNPKG

pdf-visual-diff

Version:

Visual Regression Testing for PDFs in JavaScript

68 lines (67 loc) 2.36 kB
{ "name": "pdf-visual-diff", "version": "0.14.0", "description": "Visual Regression Testing for PDFs in JavaScript", "bin": "./lib/cli/index.js", "main": "./lib/index.js", "types": "./lib/index.d.ts", "scripts": { "clean": "rm -rf ./lib ./coverage", "build": "npm run clean && npm run lint && npm run format && npm run test && npm run tsc -- --noEmit false", "build:docs": "npx typedoc src/index.ts --treatWarningsAsErrors", "tsc": "tsc --noEmit --pretty", "tsc:watch": "npm run tsc -- --watch", "lint": "eslint ./src", "lint:fix": "npm run lint -- --fix", "format:other": "prettier --write .eslintrc.js .prettierrc.json tsconfig.json", "format": "prettier ./src --check", "format:fix": "prettier ./src --write", "test": "node --require ts-node/register --test src/**/*.test.ts src/*.test.ts", "test:watch": "node --require ts-node/register --test --watch src/**/*.test.ts src/*.test.ts", "test:jest": "npm run tsc -- --noEmit false && NODE_OPTIONS=--experimental-vm-modules jest test/jest.test.js", "license-checker": "npx license-checker --production --onlyAllow 'MIT; MIT OR X11; BSD; ISC; Apache-2.0; Unlicense' --excludePackages 'pdf-visual-diff'", "update-deps": "npx npm-check-updates --configFileName .ncurc.js" }, "repository": { "type": "git", "url": "git+https://github.com/moshensky/pdf-visual-diff.git" }, "keywords": [ "pdf visual regression testing", "pdf compare", "pdf comparison", "javascript", "visual diff", "typescript", "diff testing", "js" ], "author": "Nikita Moshensky", "license": "MIT", "bugs": { "url": "https://github.com/moshensky/pdf-visual-diff/issues" }, "homepage": "https://github.com/moshensky/pdf-visual-diff#readme", "dependencies": { "@napi-rs/canvas": "^0.1.65", "glob": "^10.2.1", "jimp": "^1.6.0", "pdfjs-dist": "^4.9.155", "yargs": "^17.7.2" }, "devDependencies": { "@eslint/js": "^9.15.0", "@types/eslint__js": "^8.42.3", "@types/glob": "^8.1.0", "@types/node": "^18.15.13", "@types/yargs": "^17.0.33", "eslint": "^9.15.0", "eslint-plugin-tsdoc": "^0.4.0", "jest": "^29.7.0", "prettier": "^3.4.1", "ts-node": "^10.9.2", "typedoc": "^0.27.0", "typescript": "^5.6.2", "typescript-eslint": "^8.16.0" } }