mirror of
https://github.com/cloudflare/cloudflare-docs.git
synced 2026-01-11 20:06:58 +00:00
147 lines
4.6 KiB
JSON
147 lines
4.6 KiB
JSON
{
|
|
"name": "cloudflare-docs-starlight",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"astro": "npx astro",
|
|
"build": "export NODE_OPTIONS='--max-old-space-size=6192' || set NODE_OPTIONS='--max-old-space-size=6192'&& npx astro build",
|
|
"typegen:worker": "npx wrangler types ./worker/worker-configuration.d.ts",
|
|
"check": "npm run check:astro && npm run check:worker",
|
|
"check:astro": "npx astro check",
|
|
"check:worker": "npx tsc --noEmit -p ./worker/tsconfig.json",
|
|
"dev": "npx astro dev",
|
|
"format": "npm run format:core:fix && npm run format:data",
|
|
"format:core": "npx prettier \"**/*.{js,jsx,ts,tsx,mjs,css}\"",
|
|
"format:core:check": "npm run format:core -- --check",
|
|
"format:core:fix": "npm run format:core -- --write",
|
|
"format:content": "npx prettier --write \"**/*.{md,mdx,astro}\"",
|
|
"format:data": "npx prettier --write \"**/*.{json,yaml,yml}\"",
|
|
"postinstall": "npx patch-package && npm run sync",
|
|
"preview": "npx astro preview",
|
|
"script:optimize-svgs": "npx tsx scripts/optimize-svgs.ts",
|
|
"start": "npx astro dev",
|
|
"sync": "npx astro sync",
|
|
"test": "npx vitest",
|
|
"lint": "npx eslint"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "1.11.1",
|
|
"@actions/github": "6.0.1",
|
|
"@apidevtools/swagger-parser": "12.0.0",
|
|
"@astrojs/check": "0.9.4",
|
|
"@astrojs/react": "4.2.5",
|
|
"@astrojs/rss": "4.0.12",
|
|
"@astrojs/sitemap": "3.5.1",
|
|
"@astrojs/starlight": "0.36.0",
|
|
"@astrojs/starlight-docsearch": "0.6.0",
|
|
"@astrojs/starlight-tailwind": "4.0.1",
|
|
"@cloudflare/vitest-pool-workers": "0.9.11",
|
|
"@cloudflare/workers-types": "4.20251229.0",
|
|
"@codingheads/sticky-header": "1.0.2",
|
|
"@expressive-code/plugin-collapsible-sections": "0.41.3",
|
|
"@expressive-code/plugin-line-numbers": "0.41.3",
|
|
"@floating-ui/react": "0.27.16",
|
|
"@iarna/toml": "2.2.5",
|
|
"@lottiefiles/dotlottie-react": "0.16.1",
|
|
"@marsidev/react-turnstile": "1.3.1",
|
|
"@microsoft/fetch-event-source": "2.0.1",
|
|
"@nanostores/react": "1.0.0",
|
|
"@octokit/webhooks-types": "7.6.1",
|
|
"@stoplight/json-schema-tree": "4.0.0",
|
|
"@tailwindcss/postcss": "4.1.4",
|
|
"@types/hast": "3.0.4",
|
|
"@types/he": "1.2.3",
|
|
"@types/mdast": "4.0.4",
|
|
"@types/node": "24.6.0",
|
|
"@types/react": "19.0.7",
|
|
"@types/react-dom": "19.0.4",
|
|
"@typescript-eslint/parser": "8.44.0",
|
|
"algoliasearch": "5.37.0",
|
|
"astro": "5.13.7",
|
|
"astro-breadcrumbs": "3.3.1",
|
|
"astro-icon": "1.1.5",
|
|
"astro-live-code": "0.0.6",
|
|
"cidr-tools": "11.0.3",
|
|
"codeowners-utils": "1.0.2",
|
|
"date-fns": "4.1.0",
|
|
"dedent": "1.7.0",
|
|
"dompurify": "3.2.7",
|
|
"dot-prop": "9.0.0",
|
|
"eslint": "9.35.0",
|
|
"eslint-plugin-astro": "1.3.1",
|
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
"eslint-plugin-react": "7.37.5",
|
|
"fast-glob": "3.3.3",
|
|
"fast-xml-parser": "5.2.5",
|
|
"github-slugger": "2.0.0",
|
|
"globals": "16.4.0",
|
|
"gray-matter": "4.0.3",
|
|
"hast-util-heading-rank": "3.0.0",
|
|
"hast-util-select": "6.0.4",
|
|
"hastscript": "9.0.1",
|
|
"he": "1.2.0",
|
|
"jsonc-parser": "3.3.1",
|
|
"ldrs": "1.1.7",
|
|
"lz-string": "1.5.0",
|
|
"marked": "16.2.1",
|
|
"mdast-util-from-markdown": "2.0.2",
|
|
"mdast-util-mdx": "3.0.0",
|
|
"mdast-util-mdx-expression": "2.0.1",
|
|
"mermaid": "11.12.0",
|
|
"micromark-extension-mdxjs": "3.0.0",
|
|
"nanostores": "1.0.1",
|
|
"node-html-parser": "7.0.1",
|
|
"openapi-types": "12.1.3",
|
|
"parse-duration": "2.1.4",
|
|
"patch-package": "8.0.0",
|
|
"prettier": "3.6.2",
|
|
"prettier-plugin-astro": "0.14.1",
|
|
"prettier-plugin-tailwindcss": "0.6.14",
|
|
"pretty-bytes": "7.0.1",
|
|
"react": "19.0.0",
|
|
"react-dom": "19.0.0",
|
|
"react-icons": "5.5.0",
|
|
"react-instantsearch": "7.16.3",
|
|
"react-markdown": "10.1.0",
|
|
"react-select": "5.10.2",
|
|
"redirects-in-workers": "0.0.7",
|
|
"rehype": "13.0.2",
|
|
"rehype-autolink-headings": "7.1.0",
|
|
"rehype-external-links": "3.0.0",
|
|
"rehype-parse": "9.0.1",
|
|
"rehype-remark": "10.0.1",
|
|
"rehype-stringify": "10.0.1",
|
|
"rehype-title-figure": "0.1.2",
|
|
"remark": "15.0.1",
|
|
"remark-breaks": "4.0.0",
|
|
"remark-gfm": "4.0.1",
|
|
"remark-stringify": "11.0.0",
|
|
"sharp": "0.34.3",
|
|
"solarflare-theme": "0.0.5",
|
|
"starlight-image-zoom": "0.13.0",
|
|
"starlight-links-validator": "0.17.2",
|
|
"starlight-package-managers": "0.11.0",
|
|
"starlight-scroll-to-top": "0.4.0",
|
|
"starlight-showcases": "0.3.0",
|
|
"strip-markdown": "6.0.0",
|
|
"suf-log": "2.5.3",
|
|
"svgo": "4.0.0",
|
|
"tailwindcss": "4.1.4",
|
|
"tippy.js": "6.3.7",
|
|
"ts-blank-space": "0.6.2",
|
|
"tsx": "4.20.5",
|
|
"typescript": "5.9.2",
|
|
"typescript-eslint": "8.44.1",
|
|
"unified": "11.0.5",
|
|
"unist-util-visit": "5.0.0",
|
|
"vite-tsconfig-paths": "5.1.4",
|
|
"vitest": "2.1.6",
|
|
"wrangler": "4.54.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"volta": {
|
|
"node": "22.9.0"
|
|
}
|
|
}
|