-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 3.41 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 3.41 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
{
"name": "openapi-website",
"version": "0.0.1",
"author": "longbridge",
"module": "index.ts",
"description": "this is a website of longbridge developers",
"license": "MIT",
"private": true,
"workspaces": ["packages/*"],
"scripts": {
"dev": "astro dev",
"dev:canary": "cross-env PROXY=canary VITE_API_BASE_URL=https://openapi.longbridge.xyz astro dev",
"dev:cn": "cross-env VITE_REGION=cn VITE_API_BASE_URL=https://openapi.longbridge.cn VITE_SITE_HOSTNAME=https://open.longbridge.cn astro dev",
"build:canary": "cross-env \"NODE_OPTIONS=--max-old-space-size=14336 --expose-gc\" PROXY=canary VITE_API_BASE_URL=https://openapi.longbridge.xyz astro check && astro build && bunx pagefind --site dist && bun run scripts/copy-routes.ts",
"build:release": "cross-env \"NODE_OPTIONS=--max-old-space-size=14336 --expose-gc\" VITE_API_BASE_URL=https://openapi.longbridge.com astro check && astro build && bunx pagefind --site dist && bun run scripts/copy-routes.ts",
"build:cn": "cross-env \"NODE_OPTIONS=--max-old-space-size=14336 --expose-gc\" VITE_REGION=cn VITE_API_BASE_URL=https://openapi.longbridge.cn VITE_PORTAL_GATEWAY_BASE_URL=https://mr.lbkrs.com VITE_SITE_HOSTNAME=https://open.longbridge.cn sh -c 'astro check && astro build && bunx pagefind --site dist && bun run scripts/copy-routes.ts'",
"build:llms": "bun run scripts/normalize_md.ts && bun run scripts/generate-llms.ts",
"build:copy-routes": "bun run scripts/copy-routes.ts",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"preview": "astro preview",
"astro": "astro",
"lint:docs": "prettier -c --parser typescript \"packages/**/*.{js,ts,vue}\"",
"format:docs": "prettier --write \"packages/**/*.{js,ts,vue}\"",
"test": "vitest run",
"test:watch": "vitest",
"test:ui": "vitest --ui"
},
"type": "module",
"dependencies": {
"@astrojs/mdx": "^7.0.5",
"@astrojs/react": "^6.0.2",
"@astrojs/sitemap": "^3.7.3",
"@fontsource-variable/inter": "^5.3.0",
"@inspira-ui/plugins": "^0.0.2",
"@longbridge/openapi-api-reference": "workspace:*",
"@longbridge/openapi-tryit": "workspace:*",
"@longbridge/openapi-utils": "workspace:*",
"@tailwindcss/postcss": "^4.2.2",
"@tailwindcss/vite": "^4",
"astro": "^7",
"astro-icon": "^1.1.5",
"cheerio": "^1.1.0",
"fs-extra": "^11.3.0",
"glob": "^11.0.3",
"gray-matter": "^4.0.3",
"js-yaml": "^4.1.1",
"minisearch": "^7.2.0",
"motion": "^13.1.0",
"pagefind": "^1",
"picomatch": "^4.0.5",
"qrcode": "^1.5.4",
"react": "^19",
"react-dom": "^19",
"tailwindcss": "^4",
"tw-animate-css": "^1.4.0",
"ufo": "^1.6.1",
"vite": "^8.0.0"
},
"devDependencies": {
"@astrojs/check": "^0.9.10",
"@types/bun": "latest",
"@types/fs-extra": "^11.0.4",
"@types/js-yaml": "^4.0.9",
"@types/picomatch": "^4.0.3",
"@types/qrcode": "^1.5.6",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@vitest/ui": "^4.1.10",
"cross-env": "^7.0.3",
"mermaid": "^11.8.1",
"node-html-parser": "^9.0.1",
"odiff-bin": "^4.5.0",
"oxlint": "^1.80.0",
"postcss-rtlcss": "^5.7.0",
"prettier": "^3.5.3",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"remark-directive": "^4.0.0",
"remark-heading-id": "^1.0.1",
"vitest": "^4.1.10"
},
"peerDependencies": {
"typescript": "^5"
},
"engines": {
"node": ">=24.0.0"
}
}