-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Expand file tree
/
Copy pathpackage.json
More file actions
161 lines (161 loc) · 5.61 KB
/
Copy pathpackage.json
File metadata and controls
161 lines (161 loc) · 5.61 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
152
153
154
155
156
157
158
159
160
161
{
"name": "cloudflare-docs",
"private": true,
"type": "module",
"scripts": {
"preinstall": "npx --yes only-allow pnpm",
"astro": "astro",
"prebuild": "tsx bin/fetch-skills.ts",
"build": "astro build",
"typegen:worker": "wrangler types ./worker/worker-configuration.d.ts",
"check": "pnpm run check:astro && pnpm run check:worker",
"check:astro": "astro check --minimumFailingSeverity=hint",
"check:worker": "tsc --noEmit -p ./worker/tsconfig.json",
"predev": "tsx bin/fetch-skills.ts --soft",
"dev": "astro dev",
"format": "pnpm run format:core:fix && pnpm run format:data:fix && pnpm run format:content:fix",
"format:check": "pnpm run format:core:check && pnpm run format:data:check && pnpm run format:content:check",
"format:core:check": "prettier --check \"**/*.{js,jsx,ts,tsx,mjs,css}\"",
"format:core:fix": "prettier --write \"**/*.{js,jsx,ts,tsx,mjs,css}\"",
"format:data:check": "prettier --check \"**/*.{json,yaml,yml}\"",
"format:data:fix": "prettier --write \"**/*.{json,yaml,yml}\"",
"format:content:check": "prettier --check \"**/*.astro\"",
"format:content:fix": "prettier --write \"**/*.astro\"",
"postinstall": "patch-package",
"preview": "astro preview",
"script:optimize-svgs": "tsx scripts/optimize-svgs.ts",
"start": "astro dev",
"sync": "astro sync",
"test": "vitest",
"test:prebuild": "vitest --project Node --project Astro",
"test:postbuild": "vitest --project Workers",
"flue:dev": "NODE_OPTIONS=--max-old-space-size=8192 pnpm --dir .flue exec vite dev",
"flue:dev:wrangler": "pnpm --dir .flue exec vite build && cp -f .flue/.env.local .flue/dist/cloudflare_docs_flue/.dev.vars && pnpm --dir .flue exec wrangler dev --config dist/cloudflare_docs_flue/wrangler.json --remote",
"flue:build": "pnpm --dir .flue exec vite build",
"flue:deploy": "pnpm run flue:build && pnpm --dir .flue exec wrangler deploy --config dist/cloudflare_docs_flue/wrangler.json --secrets-file .env",
"flue:clear-r2-pr-data:local": "tsx .flue/bin/clear-r2-pr-data.ts --local",
"flue:reset:local": "rm -rf .flue/.wrangler/state .flue/.wrangler/tmp .flue/dist/cloudflare_docs_flue/.wrangler/state && echo 'Cleared local flue dev state (Durable Objects + R2). Stop the dev server before running this.'",
"flue:evals": "tsx .flue/bin/run-evals.ts",
"lint": "eslint",
"prepare": "husky"
},
"devDependencies": {
"@actions/core": "3.0.1",
"@actions/github": "9.1.1",
"@apidevtools/swagger-parser": "12.1.0",
"@astrojs/check": "0.9.10",
"@astrojs/cloudflare": "14.1.7",
"@astrojs/markdown-remark": "7.2.1",
"@astrojs/markdown-satteri": "0.3.4",
"@astrojs/mdx": "^7.0.4",
"@astrojs/react": "^6.0.1",
"@astrojs/rss": "4.0.19",
"@astrojs/sitemap": "3.7.3",
"@base-ui/react": "1.6.0",
"@cloudflare/ai-search-snippet": "0.0.43",
"@cloudflare/nimbus-docs": "0.10.0",
"@cloudflare/vitest-pool-workers": "0.18.8",
"@cloudflare/workers-types": "5.20260727.1",
"@eslint/js": "9.39.4",
"@floating-ui/react": "0.27.20",
"@fontsource-variable/inter": "5.3.0",
"@fontsource-variable/jetbrains-mono": "5.3.0",
"@iarna/toml": "2.2.5",
"@iconify-json/ph": "1.2.2",
"@iconify-json/simple-icons": "1.2.92",
"@iconify-json/vscode-icons": "1.2.67",
"@iconify/utils": "3.1.4",
"@marsidev/react-turnstile": "1.5.4",
"@nanostores/react": "1.1.0",
"@octokit/auth-app": "8.2.0",
"@octokit/webhooks-types": "7.6.1",
"@phosphor-icons/core": "2.1.1",
"@stoplight/json": "3.21.7",
"@stoplight/json-schema-tree": "4.0.0",
"@stoplight/types": "14.1.1",
"@tailwindcss/vite": "^4.1.4",
"@testing-library/dom": "10.4.1",
"@types/hast": "3.0.5",
"@types/he": "1.2.3",
"@types/mdast": "4.0.4",
"@types/node": "26.1.2",
"@types/react": "19.0.7",
"@types/react-dom": "19.0.4",
"@types/unist": "3.0.3",
"@typescript-eslint/parser": "8.65.0",
"astro": "^7.2.0",
"astro-skills": "0.1.1",
"cidr-tools": "12.1.2",
"clsx": "2.1.1",
"codeowners-utils": "1.0.2",
"date-fns": "4.4.0",
"dedent": "1.7.2",
"dot-prop": "10.2.0",
"eslint": "9.35.0",
"eslint-formatter-checkstyle": "9.0.1",
"eslint-plugin-astro": "1.7.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.5",
"fast-glob": "3.3.3",
"github-slugger": "2.0.0",
"globals": "17.8.0",
"happy-dom": "20.11.1",
"he": "1.2.0",
"husky": "9.1.7",
"jsonc-parser": "3.3.1",
"kleur": "4.1.5",
"lint-staged": "17.2.0",
"lz-string": "1.5.0",
"marked": "18.0.7",
"mdast-util-from-markdown": "2.0.3",
"mdast-util-mdx": "3.0.0",
"medium-zoom": "1.1.0",
"mermaid": "11.16.0",
"micromark-extension-mdxjs": "3.0.0",
"nanostores": "1.4.1",
"node-html-parser": "9.0.0",
"openapi-types": "12.1.3",
"parse-duration": "2.1.8",
"patch-package": "8.0.1",
"prettier": "3.9.6",
"prettier-plugin-astro": "0.14.1",
"prettier-plugin-tailwindcss": "0.8.1",
"pretty-bytes": "7.1.1",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-markdown": "10.1.0",
"react-select": "5.10.2",
"redirects-in-workers": "0.0.7",
"rehype": "13.0.2",
"remark": "15.0.1",
"satteri": "^0.9.1",
"sharp": "0.35.3",
"strip-markdown": "6.0.0",
"svgo": "4.0.2",
"tailwind-merge": "3.6.0",
"tailwindcss": "4.1.4",
"tippy.js": "6.3.7",
"ts-blank-space": "0.9.0",
"tsm": "2.3.0",
"tsx": "4.23.1",
"typescript": "5.9.3",
"typescript-eslint": "8.65.0",
"unified": "11.0.5",
"unist-util-visit": "5.1.0",
"valibot": "1.4.2",
"vite": "^8.0.0",
"vitest": "4.1.10",
"wrangler": "4.114.0",
"zod": "4.4.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,css,json,yaml,yml,astro}": "prettier --write"
},
"devEngines": {
"runtime": {
"name": "node",
"version": ">=24.0.0",
"onFail": "error"
}
}
}