-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 5.54 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 5.54 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
{
"name": "openim-chat-docs-next",
"version": "0.1.0",
"private": true,
"type": "module",
"packageManager": "pnpm@11.16.0+sha512.b767e9a98fc87aec0f42daefcd0e84941c2cdb45d73c4e1e68860fb2bdfdbe032ab592105479e5e05c237f740c8a5ffdbbb52385797ddc2296745a1bbb883e8d",
"engines": {
"node": ">=22.12.0"
},
"scripts": {
"dev": "next dev",
"build": "node scripts/check-content.mjs && node scripts/check-guides-content-audit.mjs && next build",
"start": "node .next/standalone/server.js",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"format": "prettier --write .",
"format:check": "prettier --check .",
"content:check": "node scripts/check-content.mjs",
"docsets-sync:diff": "tsx scripts/docsets-sync-utils.ts diff",
"docsets-sync:verify-paths": "tsx scripts/docsets-sync-utils.ts verify-paths",
"docsets-sync:lint-openapi": "tsx scripts/docsets-sync-utils.ts lint-openapi",
"docsets-sync:baseline": "tsx scripts/docsets-sync-utils.ts baseline",
"platform-api:export": "tsx scripts/openapi.ts export",
"platform-api:publish-postman": "tsx scripts/openapi.ts publish-postman",
"platform-api:publish-apifox": "tsx scripts/openapi.ts publish-apifox",
"platform-api:test": "tsx scripts/postman.test.ts && tsx scripts/openapi.test.ts api/chat/platform-api/v3",
"wasm:examples:check": "node scripts/check-wasm-sdk-examples.mjs",
"wasm:api:sync": "node scripts/sync-wasm-sdk-api.mjs",
"wasm:audit:sync": "node scripts/sync-wasm-content-audit.mjs",
"wasm:audit:check": "node scripts/check-wasm-content-audit.mjs",
"wasm:en:defer": "node scripts/defer-wasm-english-content.mjs",
"test:audit": "node --experimental-strip-types --test scripts/__tests__/*.test.mjs",
"content:index": "node scripts/build-search-index.mjs",
"content:metadata": "node scripts/sync-content-metadata.mjs",
"sdk:zh": "node scripts/build-wasm-sdk-zh-content.mjs",
"sdk:zh:check": "node scripts/check-localized-sdk-content.mjs",
"sdk:native:zh": "node scripts/build-client-sdk-zh-content.mjs ios flutter",
"sdk:native:zh:check": "node scripts/check-localized-sdk-content.mjs ios flutter",
"sdk:native:structure:sync": "node scripts/sync-client-sdk-structure.mjs ios flutter",
"sdk:native:routes:sync": "node scripts/sync-client-sdk-route-skeletons.mjs ios flutter && node scripts/sync-content-metadata.mjs",
"structure:sync": "node scripts/import-structure.mjs",
"structure:report": "pnpm content:metadata && node scripts/structure-report.mjs && prettier --write docs/STRUCTURE_REPORT.md",
"check": "eslint . && tsc --noEmit && pnpm test:audit && node scripts/check-content.mjs && node scripts/check-guides-content-audit.mjs && node scripts/check-wasm-content-audit.mjs && node scripts/check-localized-sdk-content.mjs && node scripts/check-client-sdk-content-audit.mjs && node scripts/check-wasm-sdk-examples.mjs && pnpm docsets-sync:lint-openapi && pnpm platform-api:test",
"postbuild": "node scripts/prepare-standalone.mjs",
"content:sync": "node scripts/build-wasm-sdk-zh-content.mjs && node scripts/build-client-sdk-zh-content.mjs ios flutter && node scripts/build-search-index.mjs",
"guides:sync": "node scripts/import-openim-guides.mjs",
"platform-api:sync": "node scripts/import-openim-platform-api.mjs && node scripts/sync-openim-user-api.mjs && node scripts/sync-openim-friend-api.mjs && node scripts/sync-openim-group-api.mjs && node scripts/sync-openim-auth-api.mjs && node scripts/sync-openim-third-api.mjs && node scripts/sync-openim-msg-api.mjs && node scripts/sync-openim-conversation-api.mjs && node scripts/sync-openim-platform-api-order.mjs && node scripts/sync-openim-platform-api-english.mjs && node scripts/build-search-index.mjs",
"user-api:sync": "node scripts/sync-openim-user-api.mjs",
"friend-api:sync": "node scripts/sync-openim-friend-api.mjs",
"auth-api:sync": "node scripts/sync-openim-auth-api.mjs",
"third-api:sync": "node scripts/sync-openim-third-api.mjs",
"msg-api:sync": "node scripts/sync-openim-msg-api.mjs",
"conversation-api:sync": "node scripts/sync-openim-conversation-api.mjs",
"enterprise-api:sync": "node scripts/sync-openim-webhooks.mjs && node scripts/sync-openim-enterprise-api.mjs && node scripts/build-search-index.mjs",
"webhooks:sync": "node scripts/sync-openim-webhooks.mjs && OPENIM_ENTERPRISE_METADATA_ONLY=1 node scripts/sync-openim-enterprise-api.mjs && node scripts/build-search-index.mjs",
"platform-api:order": "node scripts/sync-openim-platform-api-order.mjs",
"group-api:sync": "node scripts/sync-openim-group-api.mjs",
"predev": "pnpm run content:sync",
"prebuild": "pnpm run content:sync",
"source:generate": "fumadocs-mdx source.config.ts .source-local",
"postinstall": "fumadocs-mdx source.config.ts .source-local",
"content:status": "node scripts/content-status.mjs",
"precheck": "pnpm run content:sync"
},
"dependencies": {
"fumadocs-core": "16.14.0",
"fumadocs-mdx": "15.2.2",
"fumadocs-ui": "16.14.0",
"next": "16.3.0",
"react": "19.2.7",
"react-dom": "19.2.7",
"shiki": "4.3.1",
"zod": "4.4.3"
},
"devDependencies": {
"@netlify/plugin-nextjs": "5.15.13",
"@redocly/cli": "2.38.0",
"@tailwindcss/postcss": "4.3.1",
"@types/mdx": "2.0.13",
"@types/node": "22.15.0",
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2",
"ajv": "8.20.0",
"eslint": "9.39.1",
"eslint-config-next": "16.3.0",
"openapi-to-postmanv2": "6.3.0",
"prettier": "3.6.2",
"tailwindcss": "4.3.1",
"tsx": "^4.23.0",
"typescript": "5.9.3"
}
}