-
Notifications
You must be signed in to change notification settings - Fork 101
/
package.json
76 lines (76 loc) · 4.06 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
75
76
{
"name": "playwright.dev",
"version": "0.0.0",
"private": true,
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"swizzle": "docusaurus swizzle",
"clear": "docusaurus clear",
"sync-upstream-scripts": "node src/sync_upstream_scripts.js",
"roll": "rimraf -g nodejs/docs/* && rimraf -g python/docs/* && rimraf -g java/docs/* && rimraf -g dotnet/docs/* && npm run sync-upstream-scripts && node src/generate.js",
"start-dotnet": "concurrently \"node src/generate.js --watch csharp\" \"npm run start\"",
"start-java": "concurrently \"node src/generate.js --watch java\" \"npm run start\"",
"start-nodejs": "concurrently \"node src/generate.js --watch js\" \"npm run start\"",
"start-python": "concurrently \"node src/generate.js --watch python\" \"npm run start\"",
"prepare-dotnet": "npm run cleanup && cp -r dotnet/* .",
"prepare-java": "npm run cleanup && cp -r java/* .",
"prepare-nodejs": "npm run cleanup && cp -r nodejs/* .",
"prepare-python": "npm run cleanup && cp -r python/* .",
"build-nodejs": "npm run cleanup && cp -r nodejs/* . && node --max-old-space-size=4096 node_modules/.bin/docusaurus build --out-dir=build",
"build-python": "npm run cleanup && cp -r python/* . && node --max-old-space-size=4096 node_modules/.bin/docusaurus build --out-dir=build/python",
"build-java": "npm run cleanup && cp -r java/* . && node --max-old-space-size=4096 node_modules/.bin/docusaurus build --out-dir=build/java",
"build-dotnet": "npm run cleanup && cp -r dotnet/* . && node --max-old-space-size=4096 node_modules/.bin/docusaurus build --out-dir=build/dotnet",
"build": "tsc && rimraf -g build && npm run build-nodejs && npm run build-python && npm run build-java && npm run build-dotnet",
"version-dotnet": "npm run prepare-dotnet && docusaurus docs:version stable && cp -r docs/* dotnet/docs/ && cp -r versioned_docs/* dotnet/versioned_docs/ && cp -r versioned_sidebars/* dotnet/versioned_sidebars/ && cp versions.json dotnet/",
"version-java": "npm run prepare-java && docusaurus docs:version stable && cp -r docs/* java/docs/ && cp -r versioned_docs/* java/versioned_docs/ && cp -r versioned_sidebars/* java/versioned_sidebars/ && cp versions.json java/",
"version-node": "npm run prepare-nodejs && docusaurus docs:version stable && cp -r docs/* nodejs/docs/ && cp -r versioned_docs/* nodejs/versioned_docs/ && cp -r versioned_sidebars/* nodejs/versioned_sidebars/ && cp versions.json nodejs/",
"version-python": "npm run prepare-python && docusaurus docs:version stable && cp -r docs/* python/docs/ && cp -r versioned_docs/* python/versioned_docs/ && cp -r versioned_sidebars/* python/versioned_sidebars/ && cp versions.json python/",
"cleanup": "rimraf -g docs versioned_docs versioned_sidebars docusaurus.config.ts versions.json sidebars.js",
"version-all": "npm run version-python && npm run version-node && npm run version-java && npm run version-dotnet",
"serve": "docusaurus serve"
},
"dependencies": {
"@docusaurus/core": "3.6.3",
"@docusaurus/plugin-content-docs": "3.6.3",
"@docusaurus/preset-classic": "3.6.3",
"@docusaurus/types": "3.6.3",
"clsx": "^2.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-lite-youtube-embed": "^2.4.0",
"react-loadable": "^5.5.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@axe-core/playwright": "^4.10.1",
"@docusaurus/faster": "^3.6.3",
"@docusaurus/module-type-aliases": "3.6.3",
"@docusaurus/tsconfig": "3.6.2",
"@playwright/test": "^1.49.1",
"@types/node": "^20.17.10",
"@types/react": "^18.3.5",
"@types/react-router-dom": "^5.3.3",
"axe-sarif-converter": "^2.13.0",
"chokidar": "^4.0.1",
"concurrently": "^9.1.0",
"http-server": "^14.1.1",
"lodash": "^4.17.21",
"rimraf": "^6.0.1",
"typescript": "^5.7.2"
}
}