๐Ÿ“ฆ microsoft / playwright

๐Ÿ“„ package.json ยท 105 lines
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{
  "name": "playwright-internal",
  "private": true,
  "version": "1.58.0-next",
  "description": "A high-level API to automate web browsers",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/microsoft/playwright.git"
  },
  "homepage": "https://playwright.dev",
  "engines": {
    "node": ">=18"
  },
  "author": {
    "name": "Microsoft Corporation"
  },
  "license": "Apache-2.0",
  "scripts": {
    "ctest": "playwright test --config=tests/library/playwright.config.ts --project=chromium-*",
    "ftest": "playwright test --config=tests/library/playwright.config.ts --project=firefox-*",
    "wtest": "playwright test --config=tests/library/playwright.config.ts --project=webkit-*",
    "atest": "playwright test --config=tests/android/playwright.config.ts",
    "etest": "playwright test --config=tests/electron/playwright.config.ts",
    "itest": "playwright test --config=tests/installation/playwright.config.ts",
    "stest": "playwright test --config=tests/stress/playwright.config.ts",
    "biditest": "playwright test --config=tests/bidi/playwright.config.ts",
    "ttest": "node ./tests/playwright-test/stable-test-runner/node_modules/@playwright/test/cli test --config=tests/playwright-test/playwright.config.ts",
    "ct": "playwright test tests/components/test-all.spec.js --reporter=list",
    "test": "playwright test --config=tests/library/playwright.config.ts",
    "test-mcp": "playwright test --config=tests/mcp/playwright.config.ts",
    "ctest-mcp": "playwright test --config=tests/mcp/playwright.config.ts --project=chrome",
    "eslint": "eslint --cache",
    "tsc": "tsc -p . && tsc -p packages/html-reporter/",
    "doc": "node utils/doclint/cli.js",
    "lint": "npm run eslint && npm run tsc && npm run doc && npm run check-deps && node utils/generate_channels.js && node utils/generate_types/ && npm run lint-tests && npm run test-types && npm run lint-packages",
    "lint-packages": "node utils/workspace.js --ensure-consistent",
    "lint-tests": "node utils/lint_tests.js",
    "flint": "concurrently \"npm run eslint\" \"npm run tsc\" \"npm run doc\" \"npm run check-deps\" \"node utils/generate_channels.js\" \"node utils/generate_types/\" \"npm run lint-tests\" \"npm run test-types\" \"npm run lint-packages\" \"node utils/doclint/linting-code-snippets/cli.js --js-only\"",
    "clean": "node utils/build/clean.js",
    "build": "node utils/build/build.js",
    "watch": "node utils/build/build.js --watch --lint",
    "test-types": "node utils/generate_types/ && tsc -p utils/generate_types/test/tsconfig.json && tsc -p ./tests/",
    "roll": "node utils/roll_browser.js",
    "check-deps": "node utils/check_deps.js",
    "build-android-driver": "./utils/build_android_driver.sh",
    "innerloop": "playwright run-server --reuse-browser"
  },
  "workspaces": [
    "packages/*"
  ],
  "devDependencies": {
    "@actions/core": "^1.10.0",
    "@actions/github": "^6.0.0",
    "@babel/code-frame": "^7.26.2",
    "@eslint/compat": "^1.3.2",
    "@eslint/eslintrc": "^3.3.1",
    "@eslint/js": "^9.34.0",
    "@lowire/loop": "^0.0.23",
    "@modelcontextprotocol/sdk": "^1.25.2",
    "@octokit/graphql-schema": "^15.26.0",
    "@stylistic/eslint-plugin": "^5.2.3",
    "@types/codemirror": "^5.60.7",
    "@types/formidable": "^2.0.4",
    "@types/mdast": "^4.0.4",
    "@types/node": "18.19.76",
    "@types/react": "^19.2.1",
    "@types/react-dom": "^19.2.1",
    "@types/ws": "^8.5.3",
    "@types/xml2js": "^0.4.9",
    "@typescript-eslint/eslint-plugin": "^8.41.0",
    "@typescript-eslint/parser": "^8.41.0",
    "@typescript-eslint/utils": "^8.41.0",
    "@vitejs/plugin-basic-ssl": "^1.1.0",
    "@vitejs/plugin-react": "^4.2.1",
    "@zip.js/zip.js": "^2.7.29",
    "chokidar": "^3.5.3",
    "chromium-bidi": "^12.0.0",
    "colors": "^1.4.0",
    "concurrently": "^6.2.1",
    "cross-env": "^7.0.3",
    "dotenv": "^16.4.5",
    "electron": "^38.1.0",
    "esbuild": "^0.25.0",
    "eslint": "^9.34.0",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-notice": "^1.0.0",
    "eslint-plugin-react": "^7.37.5",
    "eslint-plugin-react-hooks": "^5.2.0",
    "formidable": "^2.1.1",
    "license-checker": "^25.0.1",
    "mime": "^3.0.0",
    "node-stream-zip": "^1.15.0",
    "react": "^19.2.1",
    "react-dom": "^19.2.1",
    "ssim.js": "^3.5.0",
    "typescript": "^5.9.2",
    "vite": "^6.4.1",
    "ws": "^8.17.1",
    "xml2js": "^0.5.0",
    "yaml": "2.6.0",
    "zod": "^3.25.76",
    "zod-to-json-schema": "^3.25.1"
  }
}