-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 3.38 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 3.38 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "auto-image-diff",
"version": "1.0.0",
"description": "auto-image-diff is a powerful command-line tool that automatically aligns UI screenshots and generates visual difference reports. It solves the common problem of false positives in visual regression testing caused by minor positioning differences between screenshots.",
"main": "dist/index.js",
"bin": {
"auto-image-diff": "./dist/cli.js",
"aid": "./dist/cli.js"
},
"scripts": {
"build": "tsc",
"dev": "ts-node",
"postinstall": "node scripts/setup-opencv.js || true",
"test": "NODE_OPTIONS='--max-old-space-size=4096' jest",
"test:watch": "NODE_OPTIONS='--max-old-space-size=4096' jest --watch",
"test:coverage": "NODE_OPTIONS='--max-old-space-size=4096' jest --coverage",
"typecheck": "tsc --noEmit",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"prepare": "husky",
"prettier:fix": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
"prettier:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
"format": "npm run prettier:fix && npm run lint:fix",
"example:basic": "ts-node examples/basic-comparison.ts",
"example:classification": "ts-node examples/smart-classification.ts",
"example:batch": "ts-node examples/batch-processing.ts",
"example:refine": "ts-node examples/progressive-refinement.ts",
"example:css-fixes": "ts-node examples/css-fix-suggestions.ts",
"example:metadata": "ts-node examples/metadata-tracking.ts",
"examples:all": "npm run example:basic && npm run example:classification && npm run example:batch && npm run example:css-fixes && npm run example:metadata",
"release": "semantic-release",
"release:dry-run": "semantic-release --dry-run"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/AdamManuel-dev/auto-image-diff.git"
},
"keywords": [
"image-diff",
"visual-regression",
"testing",
"automation"
],
"author": "Adam Manuel",
"license": "MIT",
"type": "commonjs",
"bugs": {
"url": "https://github.com/AdamManuel-dev/auto-image-diff/issues"
},
"homepage": "https://github.com/AdamManuel-dev/auto-image-diff#readme",
"devDependencies": {
"@jest/globals": "^30.0.5",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.3",
"@semantic-release/npm": "^12.0.2",
"@types/gm": "^1.25.4",
"@types/imagemagick": "^0.0.35",
"@types/jest": "^30.0.0",
"@types/node": "^24.1.0",
"@types/pixelmatch": "^5.2.6",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.3",
"husky": "^9.1.7",
"jest": "^30.0.5",
"lint-staged": "^16.1.2",
"prettier": "^3.6.2",
"semantic-release": "^24.2.7",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.2"
},
"dependencies": {
"@techstark/opencv-js": "^4.11.0-release.1",
"canvas": "^3.1.2",
"commander": "^14.0.0",
"dotenv": "^17.2.1",
"gm": "^1.25.1",
"imagemagick": "^0.1.3",
"opencv.js": "^1.2.1",
"pixelmatch": "^7.1.0",
"sharp": "^0.34.3"
}
}