-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
143 lines (143 loc) · 7.14 KB
/
Copy pathpackage.json
File metadata and controls
143 lines (143 loc) · 7.14 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
{
"name": "cf-ready",
"version": "1.9.0",
"private": true,
"packageManager": "npm@12.0.2",
"packageExtensions": {
"@shopify/shopify-app-react-router@2.1.0": {
"peerDependencies": {
"react-router": "8.3.1"
}
},
"graphql-config@5.1.6": {
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
}
},
"graphql-request@6.1.0": {
"peerDependencies": {
"graphql": "14 - 17"
}
},
"graphql-ws@5.16.2": {
"peerDependencies": {
"graphql": ">=0.11 <=17"
}
}
},
"scripts": {
"build": "react-router build && node scripts/check-client-bundle.mjs",
"dev": "shopify app dev",
"preview": "npm run build && vite preview",
"typegen": "mkdir -p .wrangler/types && wrangler types .wrangler/types/worker-configuration.d.ts && react-router typegen",
"typecheck": "npm run typegen && tsc --noEmit",
"lint": "oxlint .",
"format": "oxfmt --write app benchmarks extensions scripts workers tests react-router.config.ts vite.config.ts vitest.config.ts vitest.browser.config.ts",
"format:check": "oxfmt --check app benchmarks extensions scripts workers tests react-router.config.ts vite.config.ts vitest.config.ts vitest.browser.config.ts",
"docs:check": "node --test scripts/check-docs.node-test.mjs && node scripts/check-docs.mjs",
"audit:security": "node --test scripts/security-audit.node-test.mjs && node scripts/security-audit.mjs",
"preflight:dev": "node scripts/preflight-dev.mjs",
"readback:dev": "node scripts/preflight-dev.mjs --readback-only",
"test:preflight": "node --test scripts/preflight-dev.node-test.mjs scripts/preflight-prod.node-test.mjs scripts/shopify-info-safe.node-test.mjs scripts/verify-function-schema.node-test.mjs",
"test:operations": "node --test scripts/backup-crypto.node-test.mjs scripts/capacity-check.node-test.mjs scripts/check-client-bundle.node-test.mjs scripts/ci-lane.node-test.mjs scripts/ci-policy-check.node-test.mjs scripts/controlled-launch-report.node-test.mjs scripts/coverage-report.node-test.mjs scripts/credential-expiry.node-test.mjs scripts/deploy-receipt.node-test.mjs scripts/github-gates.node-test.mjs scripts/migration-policy.node-test.mjs scripts/operational-entrypoints.node-test.mjs scripts/performance-report.node-test.mjs scripts/reconcile-develop.node-test.mjs scripts/telegram-owner-control.node-test.mjs scripts/verify-reconciliation-ruleset.node-test.mjs",
"capacity:dev": "node scripts/capacity-check.mjs",
"report:launch": "node scripts/controlled-launch-report.mjs",
"report:performance": "node scripts/performance-report.mjs",
"owner-control:telegram": "node scripts/telegram-owner-control.mjs",
"benchmark:performance": "vitest bench benchmarks/reconcile.bench.ts --run",
"test:e2e": "playwright test --config tests/playwright.config.ts",
"test:ui": "vitest run --config vitest.browser.config.ts",
"test": "vitest run",
"test:migrations": "node --test scripts/migration-policy.node-test.mjs && vitest run tests/migrations.test.ts",
"test:function": "npm test --workspace cf-ready-validation -- --run",
"coverage:app": "vitest run --coverage --coverage.reporter=json --coverage.reportsDirectory=.coverage/app",
"coverage:ui": "vitest run --config vitest.browser.config.ts --coverage --coverage.reporter=json --coverage.reportsDirectory=.coverage/ui",
"coverage:function": "npm test --workspace cf-ready-validation -- --run tests/validation.test.ts --coverage --coverage.reporter=json --coverage.reportsDirectory=../../.coverage/function",
"coverage:operations": "GITHUB_ACTIONS=true c8 --all --include 'app/routes.ts' --include 'scripts/**/*.mjs' --include 'site/**/*.js' --exclude 'scripts/*.node-test.mjs' --reporter=json --reports-dir=.coverage/operations node --test scripts/*.node-test.mjs",
"coverage:collect": "npm run coverage:app && npm run coverage:ui && npm run coverage:function && npm run coverage:operations",
"coverage:update": "npm run coverage:collect && node scripts/coverage-report.mjs --update-baseline",
"coverage:check": "npm run coverage:collect && node scripts/coverage-report.mjs",
"mutation:critical": "node scripts/run-critical-mutation.mjs",
"build:function": "npm run build --workspace cf-ready-validation",
"verify:function-schema": "node scripts/verify-function-schema.mjs",
"doctor": "react-doctor --scope full --blocking warning .",
"db:migrate:local": "wrangler d1 migrations apply DB --local",
"site:dev": "vite site --config config/vite.site.ts",
"check:docs": "npm run docs:check && git diff --check",
"check:standard": "npm run docs:check && npm run lint && npm run format:check && npm run typecheck && npm test && npm run test:ui && npm run test:function && npm run build && npm run build:function && wrangler deploy --dry-run",
"check": "npm run docs:check && npm run audit:security && npm run lint && npm run format:check && npm run typecheck && npm run test:preflight && npm run test:operations && npm test && npm run test:ui && npm run test:function && npm run doctor && npm run build && npm run build:function && wrangler deploy --dry-run",
"config:link": "shopify app config link",
"generate": "shopify app generate",
"config:use": "shopify app config use",
"shopify:info": "node scripts/shopify-info-safe.mjs",
"env": "shopify app env",
"shopify": "shopify",
"vite": "vite",
"preflight:prod": "node scripts/preflight-prod.mjs"
},
"type": "module",
"engines": {
"node": ">=26.8.1 <27"
},
"dependencies": {
"@shopify/shopify-api": "14.0.1",
"@shopify/shopify-app-react-router": "2.1.0",
"@shopify/shopify-app-session-storage": "6.0.1",
"react": "19.2.8",
"react-dom": "19.2.8",
"react-router": "8.3.1"
},
"devDependencies": {
"@cloudflare/vite-plugin": "1.54.3",
"@cloudflare/vitest-plugin": "1.1.6",
"@graphql-codegen/cli": "7.4.0",
"@playwright/test": "1.62.1",
"@react-router/dev": "8.3.1",
"@shopify/polaris-types": "1.0.7",
"@shopify/cli": "4.7.1",
"@stryker-mutator/core": "10.0.0",
"@stryker-mutator/vitest-runner": "10.0.0",
"@types/node": "26.4.1",
"@types/react": "19.2.18",
"@types/react-dom": "19.2.5",
"@vitest/browser-playwright": "4.1.11",
"@vitest/coverage-istanbul": "4.1.11",
"c8": "12.0.0",
"esbuild": "0.28.2",
"graphql": "17.0.2",
"istanbul-lib-coverage": "3.2.2",
"istanbul-lib-report": "3.0.1",
"istanbul-reports": "3.2.0",
"mdast-util-from-markdown": "2.0.3",
"oxfmt": "0.66.0",
"oxlint": "1.81.0",
"react-doctor": "0.9.13",
"typescript": "7.0.2",
"vite": "8.2.2",
"vitest": "4.1.11",
"wrangler": "4.128.0"
},
"workspaces": [
"extensions/*"
],
"trustedDependencies": [
"@shopify/plugin-cloudflare"
],
"allowScripts": {
"core-js": false,
"esbuild@0.28.1": true,
"esbuild@0.28.2": true,
"fsevents@2.3.2": false,
"fsevents@2.3.3": true,
"workerd@1.20260908.1": true,
"workerd@1.20260831.1": true
},
"overrides": {
"graphql-config": "5.1.6",
"lodash": "4.18.1",
"qs": "6.16.0",
"sharp": "0.35.4",
"undici": "7.29.0"
},
"author": "Matteo"
}