Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
151 lines (151 loc) · 9.29 KB
/
Copy pathpackage.json
File metadata and controls
151 lines (151 loc) · 9.29 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"name": "scanly",
"private": true,
"version": "2.1.0",
"workspaces": [
"apps/*",
"packages/*",
"engines/*"
],
"license": "MIT",
"engines": {
"node": ">=20.16 <25",
"npm": ">=10"
},
"overrides": {
"fast-uri": "3.1.6",
"postcss": "8.5.25",
"sharp": "0.35.4"
},
"scripts": {
"predev": "npm run build:packages",
"dev": "next dev apps/web-demo",
"build:web": "next build apps/web-demo",
"build": "npm run build:packages && npm run build:web",
"start": "next start apps/web-demo",
"lint": "eslint apps packages engines scripts tests *.ts --ext .ts,.tsx --ignore-pattern '**/dist/**' --ignore-pattern '**/.next/**'",
"typecheck": "tsc --noEmit",
"build:packages": "npm run build --workspace=@scanly/scenario-schema && npm run build --workspace=@scanly/parsers && npm run build --workspace=@scanly/url-safety && npm run build --workspace=@scanly/benchmark && npm run build --workspace=@scanly/core && npm run build --workspace=@scanly/engine-jsqr && npm run build --workspace=@scanly/engine-zxing-js && npm run build --workspace=@scanly/engine-zxing-cpp-wasm && npm run build --workspace=@scanly/browser && npm run build --workspace=@scanly/node && npm run build --workspace=@scanly/react",
"wasm:build": "npm run wasm:build --workspace=@scanly/engine-zxing-cpp-wasm",
"wasm:verify": "npm run wasm:verify --workspace=@scanly/engine-zxing-cpp-wasm",
"packages:smoke": "node scripts/verify-package-imports.mjs",
"packages:tarball": "node scripts/verify-package-tarballs.mjs",
"package:metadata:verify": "node scripts/verify-package-metadata.mjs",
"test": "vitest run",
"test:unit": "vitest run tests/unit",
"test:url-safety": "vitest run tests/unit/url-safety",
"test:url-safety:ssrf": "vitest run tests/unit/url-safety/ssrf.test.ts",
"benchmark:url-safety": "tsx scripts/benchmark-url-safety.ts",
"url-safety:security": "tsx scripts/verify-url-safety-security.ts",
"url-safety:sbom": "tsx scripts/url-safety-sbom.ts",
"url-safety:api": "tsx scripts/verify-url-safety-api.ts",
"test:coverage": "vitest run --coverage",
"test:symbologies": "vitest run tests/unit/multisymbology-contracts.test.ts tests/unit/zxing-cpp-formats.test.ts tests/unit/parsers.test.ts tests/integration/zxing-cpp-multisymbology.test.ts",
"test:e2e": "playwright test",
"test:e2e:chromium": "playwright test --project=chromium",
"test:e2e:firefox": "playwright test --project=firefox",
"test:e2e:webkit": "playwright test --project=webkit",
"test:memory": "node --expose-gc --import tsx scripts/soak-memory.ts",
"test:wasm:memory": "node --expose-gc --import tsx scripts/soak-wasm-memory.ts",
"test:scanner:core-soak": "tsx scripts/soak-scanner-core.ts --iterations=10000",
"test:scanner:worker-wasm-soak": "tsx scripts/soak-scanner-worker-wasm.ts",
"test:scanner:worker-wasm-soak:extended": "tsx scripts/soak-scanner-worker-wasm.ts --iterations=10000",
"test:tracking:soak": "tsx scripts/soak-tracking.ts --iterations=10000",
"test:tracking:worker-wasm-soak": "tsx scripts/soak-tracking-worker-wasm.ts --iterations=1000",
"test:industrial:soak": "tsx scripts/soak-industrial.ts --iterations=5000",
"benchmark": "tsx scripts/run-benchmark.ts",
"benchmark:smoke": "tsx scripts/run-benchmark.ts --smoke --gate",
"benchmark:realtime": "tsx scripts/benchmark-realtime.ts",
"benchmark:tracking": "tsx scripts/benchmark-tracking.ts",
"benchmark:industrial": "tsx scripts/benchmark-industrial.ts",
"benchmark:industrial:negative": "tsx scripts/benchmark-industrial.ts --negative-only",
"device:targets:generate": "tsx scripts/generate-device-test-targets.ts",
"device:targets:verify": "tsx scripts/generate-device-test-targets.ts --verify",
"device:evidence:verify": "tsx scripts/verify-device-evidence.ts",
"beta4:gate:integration": "tsx scripts/verify-beta4-gate.ts --mode=integration",
"beta4:gate:release": "tsx scripts/verify-beta4-gate.ts --mode=release",
"device:benchmark": "tsx scripts/benchmark-device-evidence.ts",
"benchmark:device": "tsx scripts/benchmark-device-evidence.ts",
"benchmark:symbologies": "tsx scripts/benchmark-symbologies.ts",
"benchmark:compare": "tsx scripts/compare-engines.ts",
"benchmark:browser": "playwright test -c playwright.benchmark.config.ts",
"benchmark:assemble-canonical": "tsx scripts/assemble-canonical-evidence.ts",
"benchmark:update-canonical": "tsx scripts/update-canonical-evidence.ts",
"benchmark:verify-evidence": "tsx scripts/verify-benchmark-evidence.ts",
"benchmark:verify-evidence-only": "tsx scripts/verify-evidence-only-change.ts",
"benchmark:freeze": "tsx scripts/freeze-baseline.ts",
"benchmark:activate": "tsx scripts/activate-baseline.ts",
"benchmark:summary": "tsx scripts/write-benchmark-job-summary.ts",
"api:snapshot": "tsx scripts/verify-api-snapshots.ts",
"api:update": "tsx scripts/verify-api-snapshots.ts --update",
"api:diff": "tsx scripts/verify-api-snapshots.ts --diff",
"bundle:analyze": "tsx scripts/analyze-bundles.ts",
"benchmark:profiles": "tsx scripts/run-benchmark.ts --profile=fast --gate && tsx scripts/run-benchmark.ts --profile=balanced --gate && tsx scripts/run-benchmark.ts --profile=robust --gate",
"benchmark:canonical-candidate": "tsx scripts/run-benchmark.ts --canonical-candidate --gate-mode=baseline-candidate --measured-iterations=3 --warmup-iterations=1",
"benchmark:canonical": "npm run benchmark:canonical-candidate --",
"fixtures:generate": "tsx scripts/generate-fixtures.ts && tsx scripts/generate-symbology-fixtures.ts",
"fixtures:native:generate": "tsx scripts/generate-native-fixtures.ts",
"fixtures:verify-external": "tsx scripts/verify-external-open-license.ts",
"fixtures:verify-industrial": "tsx scripts/verify-industrial-corpus.ts",
"scenarios:generate": "tsx scripts/export-scenarios.ts",
"workflows:verify": "node scripts/verify-workflows.mjs",
"version:verify": "node scripts/verify-version-consistency.mjs",
"native:contracts": "node scripts/verify-native-contracts.mjs",
"native:api": "node scripts/verify-native-api-snapshots.mjs",
"native:api:update": "node scripts/verify-native-api-snapshots.mjs --update",
"native:abi": "node scripts/verify-native-abi.mjs",
"native:abi:update": "node scripts/verify-native-abi.mjs --update",
"rc:licenses": "node scripts/verify-rc2-licenses.mjs",
"rc:sbom": "node scripts/generate-rc2-sbom.mjs",
"rc:repro": "node scripts/verify-rc2-reproducibility.mjs",
"rc:artifacts": "node scripts/generate-rc2-artifact-manifest.mjs",
"rc:artifacts:verify-canonical": "node scripts/verify-rc2-artifact-equivalence.mjs",
"rc:manifest:digest": "node scripts/generate-release-manifest-digest.mjs",
"rc:manifest:verify": "node scripts/verify-release-manifest.mjs",
"stable:manifest:verify": "node scripts/verify-stable-manifest.mjs",
"stable:publication:verify": "node scripts/verify-stable-publication-record.mjs",
"stable:bootstrap": "node scripts/publish-v2.1-bootstrap.mjs",
"stable:manifest:generate": "node scripts/generate-stable-release-manifest.mjs",
"stable:android:record": "node scripts/record-stable-android-artifact.mjs",
"stable:reproducibility:confirm": "node scripts/confirm-stable-metadata-reproducibility.mjs",
"quality:static": "npm run workflows:verify && npm run version:verify && npm run package:metadata:verify && tsx scripts/verify-quality-gates.ts --static",
"quality:evidence:source": "tsx scripts/verify-benchmark-evidence.ts --mode=source-development",
"quality:evidence:historical": "tsx scripts/verify-benchmark-evidence.ts --mode=historical-baseline-validation",
"quality:evidence:integration": "tsx scripts/verify-benchmark-evidence.ts --mode=integration",
"quality:evidence:bootstrap": "tsx scripts/verify-benchmark-evidence.ts --mode=evidence-bootstrap",
"quality:evidence:active": "tsx scripts/verify-benchmark-evidence.ts --mode=active-baseline",
"quality:evidence:release": "tsx scripts/verify-benchmark-evidence.ts --mode=release",
"quality:evidence": "tsx scripts/verify-benchmark-evidence.ts --mode=auto",
"quality:gates": "npm run quality:static && npm run quality:evidence --",
"docs:stable-consistency": "node scripts/check-release-doc-consistency.mjs",
"docs:check": "tsx scripts/check-doc-links.ts && npm run docs:stable-consistency",
"check": "npm run quality:gates && npm run docs:check && npm run lint && npm run typecheck && npm run test:coverage && npm run build && npm run api:snapshot && npm run packages:smoke && npm run packages:tarball",
"verify": "npm run check && npm run test:e2e && npm run benchmark:smoke"
},
"dependencies": {
"next": "15.5.25",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@axe-core/playwright": "4.13.0",
"@playwright/test": "^1.62.1",
"@types/node": "^20.19.43",
"@types/qrcode": "^1.5.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitest/coverage-v8": "4.1.11",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"esbuild": "^0.28.2",
"eslint": "^8.57.0",
"eslint-config-next": "15.5.25",
"js-yaml": "^5.3.0",
"playwright": "^1.58.2",
"qrcode": "^1.5.4",
"tsx": "^4.23.12",
"typescript": "^5.5.3",
"vitest": "4.1.11",
"zxing-wasm": "3.1.1"
}
}