forked from facebook/docusaurus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 7.22 KB
/
Copy pathpackage.json
File metadata and controls
135 lines (135 loc) · 7.22 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
{
"name": "root",
"version": "0.0.0",
"license": "MIT",
"private": true,
"scripts": {
"start": "pnpm build:packages && pnpm start:website",
"start:website": "pnpm --filter website start",
"start:website:profile": "DOCUSAURUS_BUNDLER_CPU_PROFILE=true DOCUSAURUS_RSPACK_TRACE=true pnpm --filter website start",
"start:website:baseUrl": "pnpm --filter website start:baseUrl",
"start:website:blogOnly": "pnpm --filter website start:blogOnly",
"start:website:deployPreview": "cross-env NETLIFY=true CONTEXT='deploy-preview' pnpm --filter website start",
"examples:generate": "node admin/scripts/generateExamples.js",
"build": "pnpm build:packages && pnpm build:website",
"build:packages": "lerna run build --no-private",
"build:website": "pnpm --filter website build",
"build:website:profile": "DOCUSAURUS_BUNDLER_CPU_PROFILE=true DOCUSAURUS_RSPACK_TRACE=true pnpm --filter website build",
"build:website:baseUrl": "pnpm --filter website build:baseUrl",
"build:website:blogOnly": "pnpm --filter website build:blogOnly",
"build:website:deployPreview:testWrap": "pnpm --filter website test:swizzle:wrap:ts",
"build:website:deployPreview:build": "cross-env NETLIFY=true CONTEXT='deploy-preview' pnpm --filter website build",
"build:website:deployPreview": "pnpm build:website:deployPreview:testWrap && pnpm build:website:deployPreview:build",
"build:website:fast": "pnpm --filter website build:fast",
"build:website:fast:rsdoctor": "pnpm --filter website build:fast:rsdoctor",
"build:website:en": "pnpm --filter website build --locale en",
"profile:bundle:cpu": "pnpm --filter website profile:bundle:cpu:profile",
"profile:bundle:samply": "pnpm --filter website profile:bundle:samply",
"clear:website": "pnpm --filter website clear",
"serve:website": "pnpm --filter website serve",
"serve:website:baseUrl": "serve website",
"serve:website:ssl": "pnpm serve:website:ssl:gencert && pnpm serve:website:ssl:message && pnpm serve:website:ssl:serve",
"serve:website:ssl:gencert": "openssl req -x509 -nodes -days 365 -newkey rsa:4096 -subj \"/C=US/ST=Docusaurus/L=Anywhere/O=Dis/CN=localhost\" -keyout ./website/.docusaurus/selfsigned.key -out ./website/.docusaurus/selfsigned.crt",
"serve:website:ssl:message": "echo '\n\n\nServing Docusaurus with HTTPS on localhost requires to disable the Chrome security: chrome://flags/#allow-insecure-localhost\n\n\n'",
"serve:website:ssl:serve": "serve website/build --ssl-cert ./website/.docusaurus/selfsigned.crt --ssl-key ./website/.docusaurus/selfsigned.key",
"crowdin:upload:website": "crowdin upload sources --config ./crowdin-v2.yaml",
"crowdin:download": "crowdin download --config ./crowdin-v2.yaml",
"crowdin:download:website": "pnpm crowdin:download --language fr --language ko --language pt-BR --language zh-CN --language ja",
"argos": "pnpm argos:build && pnpm argos:screenshot",
"argos:build": "cross-env DOCUSAURUS_ARGOS_BUILD=true pnpm build:website:fast --dev",
"argos:screenshot": "pnpm --filter argos screenshot",
"canary": "pnpm canary:bumpVersion && pnpm canary:publish",
"canary:getCoreVersion": "node -p \"require('./packages/docusaurus/package.json').version.split('-')[0]\"",
"canary:version": "echo `pnpm --silent canary:getCoreVersion`-canary-`git rev-list --count HEAD`+`git rev-parse --short HEAD`",
"canary:bumpVersion": "pnpm lerna version `pnpm --silent canary:version` --exact --no-push --yes --loglevel verbose",
"canary:publish": "pnpm lerna publish from-package --dist-tag canary --yes --loglevel verbose",
"changelog": "lerna-changelog",
"postinstall": "pnpm build:packages",
"prepare": "husky",
"format": "oxfmt .",
"format:diff": "oxfmt --list-different .",
"lint": "pnpm lint:js && pnpm lint:style && pnpm lint:SPELLING && pnpm lint:syncpack",
"lint:ci": "pnpm lint:js --quiet && pnpm lint:style && pnpm lint:spelling && pnpm lint:syncpack",
"lint:js": "eslint --cache --report-unused-disable-directives \"**/*.{js,jsx,ts,tsx,mjs}\"",
"lint:js:fix": "pnpm lint:js --fix",
"lint:spelling": "cspell \"**\" --no-progress --show-context --show-suggestions",
"lint:spelling:fix": "pnpm rimraf project-words.txt && echo \"# Project Words - DO NOT TOUCH - This is updated through CI\" >> project-words.txt && pnpm --silent lint:spelling --words-only --unique --no-exit-code --no-summary \"**\" | cross-env LC_ALL=C sort --ignore-case >> project-words.txt",
"lint:style": "stylelint \"**/*.css\"",
"lint:style:fix": "pnpm lint:style --fix",
"lint:syncpack": "syncpack lint",
"lint:syncpack:fix": "syncpack fix",
"lerna": "lerna",
"test": "vitest run",
"test:build:website": "./admin/scripts/test-release.sh",
"watch": "pnpm lerna run --parallel watch",
"clear": "(pnpm --filter website clear || echo 'Failure while running docusaurus clear') && pnpm rimraf test-website && pnpm rimraf test-website-in-workspace && pnpm lerna exec --ignore docusaurus pnpm rimraf lib",
"test:baseUrl": "pnpm build:website:baseUrl && pnpm serve:website:baseUrl",
"lock:update": "pnpm install --lockfile-only",
"update-translations": "pnpm --filter @docusaurus/theme-translations update"
},
"devDependencies": {
"@ai-sdk/react": "^3.0.177",
"@crowdin/cli": "^4.14.2",
"@docusaurus/eslint-plugin": "3.10.1",
"@docusaurus/plugin-content-blog": "3.10.1",
"@docusaurus/plugin-content-docs": "3.10.1",
"@docusaurus/plugin-content-pages": "3.10.1",
"@eslint/js": "^10.0.1",
"@swc/core": "^1.15.40",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/fs-extra": "^11.0.4",
"@types/lodash": "^4.17.24",
"@types/node": "^25.6.0",
"@types/prompts": "^2.4.4",
"@types/react": "^19.2.14",
"@types/semver": "^7.7.1",
"@types/shelljs": "^0.8.12",
"@vitejs/plugin-react": "^5.0.0",
"@vitest/eslint-plugin": "^1.6.17",
"cross-env": "^10.1.0",
"cspell": "^8.18.1",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-eslint-plugin": "^7.3.3",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-regexp": "^3.1.0",
"globals": "^17.6.0",
"husky": "^9.1.7",
"image-size": "^2.0.2",
"jest-serializer-ansi-escapes": "^5.0.0",
"jest-serializer-react-helmet-async": "^1.0.21",
"jiti": "^2.7.0",
"jsdom": "^25.0.1",
"lerna": "^9.0.7",
"lerna-changelog": "^2.2.0",
"lint-staged": "^17.0.2",
"lockfile-lint": "^5.0.0",
"npm-run-all": "^4.1.5",
"oxfmt": "^0.47.0",
"pkg-pr-new": "^0.0.68",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-helmet-async": "npm:@slorber/react-helmet-async@1.3.0",
"rimraf": "^3.0.2",
"sharp": "^0.35.1",
"strip-ansi": "^7.2.0",
"stylelint": "^17.12.0",
"stylelint-copyright": "3.10.1",
"stylelint-config-standard": "^40.0.0",
"syncpack": "^14.3.1",
"typescript": "~6.0.3",
"typescript-eslint": "^8.59.3",
"vitest": "^4.0.0"
},
"packageManager": "pnpm@11.5.1",
"engines": {
"node": ">=24.14",
"pnpm": ">=11.5"
}
}