-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 5.03 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 5.03 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
{
"name": "quant-clarity",
"version": "0.0.0",
"private": true,
"license": "MPL-2.0",
"type": "module",
"packageManager": "npm@11.19.0",
"engines": {
"node": "24.18.0",
"npm": "11.19.0"
},
"workspaces": [
"apps/*",
"packages/*",
"packages/adapters/*"
],
"scripts": {
"build": "npm run typecheck && npm run build:workers",
"build:workers": "npm run build --workspaces --if-present",
"cf:types": "npm run cf:types --workspaces --if-present",
"cf:types:check": "npm run cf:types:check --workspaces --if-present",
"contracts:check": "npm run build -w @quant-clarity/contracts && tsx tools/generate-contracts.ts --check && redocly lint contracts/generated/openapi.json && tsx tools/check-contracts.ts",
"contracts:generate": "npm run build -w @quant-clarity/contracts && tsx tools/generate-contracts.ts",
"docs:check": "tsx tools/check-docs.ts",
"environments:check": "tsx tools/check-environments.ts",
"format": "prettier --write .",
"format:check": "prettier --check .",
"gdpr-accountability:check": "tsx tools/check-gdpr-accountability.ts",
"lint": "eslint . --max-warnings=0",
"predeployment:check": "tsx tools/check-predeployment.ts",
"preview-plan:check": "tsx tools/check-cloudflare-preview-plan.ts",
"privacy:check": "tsx tools/check-privacy.ts",
"supply-chain:check": "tsx tools/check-licenses.ts && npm audit --audit-level=high && npm sbom --sbom-format cyclonedx >/dev/null",
"test": "vitest run",
"test:workers": "npm run test:workers:api && vitest run --config vitest.pipeline.worker.config.ts && vitest run --config vitest.query.worker.config.ts",
"test:workers:api": "WRANGLER_SEND_METRICS=false wrangler deploy --dry-run --config apps/query/wrangler.jsonc --outdir dist-worker/test-query-worker && vitest run --config vitest.worker.config.ts",
"test:web": "playwright test --config playwright.config.ts",
"test:web:states": "QUANTCLARITY_MOCK_PUBLICATION_STATE=published_zero playwright test --config playwright.config.ts --grep 'configured canonical publication state' && QUANTCLARITY_MOCK_PUBLICATION_STATE=not_published playwright test --config playwright.config.ts --grep 'configured canonical publication state' && QUANTCLARITY_MOCK_PUBLICATION_STATE=unavailable playwright test --config playwright.config.ts --grep 'configured canonical publication state'",
"test:web:production": "QUANTCLARITY_BUILD_ENV=production QUANTCLARITY_SITE_ORIGIN=https://quantclarity.invalid npm run build -w @quant-clarity/web && QUANTCLARITY_EXPECTED_SITE_ORIGIN=https://quantclarity.invalid playwright test --config playwright.config.ts",
"test:web:model-local": "QUANTCLARITY_BUILD_ENV=production QUANTCLARITY_SITE_ORIGIN=https://quantclarity.invalid npm run build -w @quant-clarity/web && QUANTCLARITY_MODEL_DETAIL_LOCAL=1 QUANTCLARITY_EXPECTED_SITE_ORIGIN=https://quantclarity.invalid playwright test --config playwright.config.ts --grep 'local Model Facts'",
"test:web:discovery-local": "QUANTCLARITY_BUILD_ENV=production QUANTCLARITY_SITE_ORIGIN=https://quantclarity.invalid npm run build -w @quant-clarity/web && QUANTCLARITY_MODEL_DETAIL_LOCAL=1 QUANTCLARITY_EXPECTED_SITE_ORIGIN=https://quantclarity.invalid playwright test --config playwright.config.ts tests/web/model-discovery-local.spec.ts && QUANTCLARITY_MODEL_DETAIL_LOCAL=1 QUANTCLARITY_EXPECTED_SITE_ORIGIN=https://quantclarity.invalid playwright test --config playwright.config.ts tests/web/variant-discovery-local.spec.ts",
"test:watch": "vitest",
"traceability:check": "tsx tools/check-verification-artifacts.ts",
"typecheck": "tsc -b && tsc -p tsconfig.playwright.json --noEmit && npm run typecheck --workspaces --if-present",
"unicode:check": "node packages/publication-core/unicode/generate-unicode-17.mjs --check",
"verify": "npm run predeployment:check && npm run preview-plan:check && npm run format:check && npm run lint && npm run typecheck && npm run cf:types:check && npm run contracts:check && npm run docs:check && npm run traceability:check && npm run gdpr-accountability:check && npm run environments:check && npm run unicode:check && npm run supply-chain:check && npm test && npm run test:workers && npm run build && npm run test:web && npm run test:web:states && npm run test:web:production && npm run test:web:model-local && npm run test:web:discovery-local && npm run privacy:check"
},
"devDependencies": {
"@axe-core/playwright": "4.12.1",
"@cloudflare/vitest-pool-workers": "0.20.3",
"@eslint/js": "10.0.1",
"@playwright/test": "1.62.1",
"@redocly/cli": "2.43.2",
"@types/node": "24.13.3",
"@vitest/coverage-v8": "4.1.10",
"ajv": "8.20.0",
"ajv-formats": "3.0.1",
"eslint": "10.8.0",
"eslint-plugin-astro": "3.0.1",
"fast-check": "4.9.0",
"jsonc-parser": "3.3.1",
"prettier": "3.9.6",
"prettier-plugin-astro": "0.14.1",
"tsx": "4.23.1",
"typescript": "6.0.3",
"typescript-eslint": "8.65.0",
"vitest": "4.1.10",
"wrangler": "4.120.0"
},
"allowScripts": {
"esbuild@0.28.1": true,
"workerd@1.20260801.1": true
}
}