forked from microsoft/playwright.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 4.03 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": "rm -rf nodejs/docs/* && rm -rf python/docs/* && rm -rf java/docs/* && rm -rf 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 && rm -rf 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": "rm -rf 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",
"postinstall": "patch-package"
},
"dependencies": {
"@docusaurus/core": "3.0.0",
"@docusaurus/plugin-content-docs": "3.0.0",
"@docusaurus/preset-classic": "3.0.0",
"@docusaurus/types": "3.0.0",
"clsx": "^2.0.0",
"patch-package": "^8.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-lite-youtube-embed": "^2.3.52",
"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": {
"@docusaurus/module-type-aliases": "3.0.0",
"@docusaurus/tsconfig": "3.0.0",
"@playwright/test": "^1.40.0",
"@types/node": "^20.9.2",
"@types/react": "^18.2.37",
"@types/react-router-dom": "^5.3.3",
"chokidar": "^3.5.3",
"concurrently": "^8.2.2",
"http-server": "^14.1.1",
"lodash": "^4.17.21",
"rimraf": "^5.0.5",
"swc-loader": "^0.2.3",
"typescript": "^5.2.2"
}
}