-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.93 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "visual-differ",
"version": "1.7.0",
"description": "CLI tool for comparing screenshot directories using pixel-perfect image comparison with HTML reports",
"type": "module",
"bin": {
"visual-differ": "./dist/bin/visual-differ.js"
},
"files": [
"dist"
],
"scripts": {
"build": "tsc && cp -r templates dist/",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:screenshots": "playwright test",
"lint": "eslint .",
"format": "prettier --write \"**/*.{ts,json,md}\"",
"format:check": "prettier --check \"**/*.{ts,json,md}\"",
"typecheck": "tsc --noEmit",
"prepare": "husky",
"prepublishOnly": "pnpm run typecheck && pnpm run lint && pnpm run test && pnpm run build",
"samples": "tsc && cp -r templates dist/; node ./dist/bin/visual-differ.js samples/baseline/ samples/candidate/ ./results"
},
"keywords": [
"screenshot",
"visual-diff",
"visual-regression",
"image-comparison",
"pixelmatch",
"testing",
"ci",
"cli"
],
"author": "Jon Johnson <jon.johnson@ucsf.edu>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/jrjohnson/visual-differ.git"
},
"packageManager": "pnpm@11.5.1",
"engines": {
"node": ">=24.0.0"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@playwright/test": "^1.58.2",
"@types/node": "^25.5.0",
"@types/pngjs": "^6.0.5",
"@typescript-eslint/eslint-plugin": "^8.48.0",
"@typescript-eslint/parser": "^8.48.0",
"@vitest/coverage-v8": "^4.0.13",
"eslint": "^10.1.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"globals": "^17.4.0",
"husky": "^9.1.7",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"vitest": "^4.0.13"
},
"dependencies": {
"commander": "^14.0.2",
"handlebars": "^4.7.8",
"pixelmatch": "^7.1.0",
"pngjs": "^7.0.0"
}
}