-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 5.57 KB
/
package.json
File metadata and controls
135 lines (135 loc) · 5.57 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "scrutinizer-electron",
"version": "2.7.2",
"description": "Foveated vision simulator — peripheral rendering driven by cortical magnification, saliency, and chromatic decay",
"main": "main.js",
"scripts": {
"start": "node scripts/run-electron.js .",
"dev": "node scripts/run-electron.js . --enable-logging",
"build": "node scripts/build-signed.js",
"build:unsigned": "electron-builder --mac --config.mac.identity=null",
"release": "electron-builder --mac --publish always",
"build:win": "electron-builder --win",
"release:win": "electron-builder --win --publish always",
"test:unit": "cross-env NODE_OPTIONS=\"--no-warnings\" jest",
"test:coverage": "cross-env NODE_OPTIONS=\"--no-warnings\" jest --coverage",
"test:visual": "node scripts/run-electron.js tests/run-test.js tests/visual-test.html",
"test:memory": "node scripts/run-electron.js tests/run-test.js tests/memory-test.html",
"test:perf": "node scripts/run-electron.js tests/run-test.js tests/perf-test.html",
"test:integration": "cross-env TEST_MODE=true node scripts/run-electron.js .",
"test:temporal-variance": "node scripts/capture-temporal-variance.js && uv run --python 3.12 scripts/validate-temporal-variance.py && cross-env NODE_OPTIONS=\"--no-warnings\" jest tests/unit/temporal-variance.test.js",
"test": "npm run test:unit && npm run test:visual && npm run test:memory && npm run test:integration",
"capture-smoke": "node scripts/capture-smoke.js",
"capture-golden": "node scripts/capture-golden.js",
"capture-raw": "node scripts/capture-raw-pages.js",
"generate-brown": "../PooledStatisticsMetamers/.venv/bin/python scripts/generate-brown-metamers.py --batch",
"compare-brown": "node scripts/compare-brown-metamers.js",
"golden-compare": "node scripts/golden-compare.js",
"validate:download": "uv run --python 3.12 scripts/validate-congestion.py --download",
"validate:python": "uv run --python 3.12 scripts/validate-congestion.py",
"validate:scrutinizer": "node scripts/extract-congestion.js",
"validate:scrutinizer:256": "node scripts/extract-congestion.js --max-dim=256 --output-dir=tests/validation/results-256",
"validate:compare": "node scripts/compare-congestion.js",
"validate:compare:256": "node scripts/compare-congestion.js --scrutinizer-dir=tests/validation/results-256",
"validate-congestion": "npm run validate:download && npm run validate:python && npm run validate:scrutinizer && npm run validate:compare && npm run validate:scrutinizer:256 && npm run validate:compare:256",
"validate:se": "node scripts/validate-subband-entropy.js",
"validate:se:article": "node scripts/validate-subband-entropy.js tests/smoke-captures/smoke_article_scrolled.png",
"validate:ocr": "node scripts/validate-peripheral-ocr.js",
"wave6:download": "node scripts/download-coco-periph.js",
"wave6:capture": "node scripts/capture-coco-periph.js",
"wave6:analyze": "node scripts/analyze-coco-periph.js",
"wave6:validate": "node scripts/validate-coco-periph.js",
"wave6": "npm run wave6:download && npm run wave6:capture && npm run wave6:analyze && npm run wave6:validate",
"gap:analyze": "node scripts/analyze-tier25-gap.js",
"wave7a:capture": "node scripts/capture-pyramid-subbands.js",
"wave7a:validate": "node scripts/validate-pyramid.js",
"wave7b:validate": "node scripts/analyze-pyramid-stats.js",
"wave7c:capture": "node scripts/capture-crowding-tier3.js",
"wave7c:validate": "node scripts/validate-crowding-tier3.js",
"wave7": "npm run wave7a:validate && npm run wave7b:validate && npm run wave7c:capture && npm run wave7c:validate"
},
"keywords": [
"electron",
"foveal",
"vision",
"accessibility"
],
"author": "",
"license": "MIT",
"build": {
"appId": "com.scrutinizer.app",
"productName": "Scrutinizer",
"executableName": "Scrutinizer",
"files": [
"main.js",
"menu-template.js",
"settings-manager.js",
"shared/**/*",
"renderer/**/*",
"!renderer/**/*.md"
],
"afterSign": "scripts/notarize.js",
"mac": {
"category": "public.app-category.utilities",
"target": [
"dmg",
"zip"
],
"icon": "renderer/assets/scrutinizer_512x512_icon.png",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"dmg": {
"sign": false,
"title": "Scrutinizer ${version}",
"icon": "renderer/assets/scrutinizer_512x512_icon.png"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "zip",
"arch": [
"x64"
]
}
],
"icon": "renderer/assets/scrutinizer_512x512_icon.png",
"cscLink": "build/certs/windows_cert.pfx",
"verifyUpdateCodeSignature": false
},
"nsis": {
"oneClick": true,
"perMachine": false,
"allowToChangeInstallationDirectory": false,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"publish": {
"provider": "github",
"owner": "andyed",
"repo": "scrutinizer2025"
}
},
"devDependencies": {
"@electron/notarize": "^3.1.1",
"cross-env": "^10.1.0",
"dotenv": "^17.2.3",
"electron": "^30.5.1",
"electron-builder": "^26.0.12",
"jest": "^30.3.0"
},
"dependencies": {
"electron-log": "^5.4.3",
"electron-updater": "^6.1.7",
"html2canvas": "^1.4.1",
"pngjs": "^7.0.0"
}
}