-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathpackage.json
74 lines (74 loc) · 3.16 KB
/
package.json
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
{
"name": "new-nav-docusaurus-2-2",
"version": "0.0.0",
"private": true,
"config": {
"prep_array_en": "docs/en/development docs/en/engines docs/en/getting-started docs/en/interfaces docs/en/operations docs/en/sql-reference",
"prep_array_root": "docs/ru docs/zh"
},
"scripts": {
"build": "docusaurus build",
"clear": "docusaurus clear && bash ./placeholderReset.sh",
"deploy": "docusaurus deploy",
"docusaurus": "docusaurus",
"prep-from-local": "bash -c 'array_root=($npm_package_config_prep_array_root);array_en=($npm_package_config_prep_array_en);for folder in ${array_en[@]}; do cp -r $0/$folder docs/en;echo \"Copied $folder from [$0]\";done;for folder in ${array_root[@]}; do cp -r $0/$folder docs/;echo \"Copied $folder from [$0]\";done;echo \"Prep completed\";'",
"prep-from-master": "bash -c 'array_root=($npm_package_config_prep_array_root);array_en=($npm_package_config_prep_array_en);ch_temp=/tmp/ch_temp_$RANDOM && mkdir -p $ch_temp && git clone --depth 1 --branch master https://github.com/ClickHouse/ClickHouse $ch_temp; for folder in ${array_en[@]}; do cp -r $ch_temp/$folder docs/en;echo \"Copied $folder from ClickHouse master branch\";done;for folder in ${array_root[@]}; do cp -r $ch_temp/$folder docs/;echo \"Copied $folder from ClickHouse master branch\";done;rm -rf $ch_temp && echo \"Prep completed\";'",
"serve": "docusaurus serve",
"build-api-doc": "node clickhouseapi.js",
"build-swagger": "npx @redocly/cli build-docs https://api.clickhouse.cloud/v1 --output build/en/cloud/manage/api/swagger.html",
"new-build": "bash ./copyClickhouseRepoDocs.sh && bash ./scripts/settings/autogenerate-settings.sh && yarn build-api-doc && yarn build && yarn build-swagger",
"start": "docusaurus start",
"swizzle": "docusaurus swizzle",
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "3.7.0",
"@docusaurus/plugin-client-redirects": "3.7.0",
"@docusaurus/preset-classic": "3.7.0",
"@docusaurus/theme-mermaid": "3.7.0",
"@mdx-js/react": "^3.1.0",
"@radix-ui/react-navigation-menu": "^1.2.3",
"axios": "^1.7.9",
"clsx": "^2.1.0",
"docusaurus-plugin-sass": "^0.2.6",
"esbuild": "^0.20.1",
"esbuild-loader": "^4.0.3",
"gray-matter": "^4.0.3",
"hast-util-is-element": "1.1.0",
"http-proxy-middleware": "2.0.7",
"katex": "^0.16.19",
"node-fetch": "^3.3.2",
"prism-react-renderer": "^2.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rehype-katex": "^7.0.1",
"remark-docusaurus-tabs": "^0.2.0",
"remark-link-rewrite": "^1.0.7",
"remark-math": "^6.0.0",
"sass": "^1.83.1"
},
"devDependencies": {
"@argos-ci/cli": "^2.5.3",
"@argos-ci/playwright": "^3.9.4",
"@docusaurus/module-type-aliases": "3.7.0",
"@playwright/test": "^1.49.1",
"@types/react": "^19.0.4",
"cheerio": "^1.0.0",
"typescript": "^5.7.3"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"engines": {
"node": ">=20.18"
}
}