2026-05-20 21:39:12 +08:00

171 lines
7.1 KiB
JSON

{
"name": "playwright-internal",
"private": true,
"version": "1.60.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",
"test-extension": "playwright test --config=tests/extension/playwright.config.ts",
"eslint": "eslint --cache",
"tsc": "tsc -p .",
"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\" \"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/ && concurrently \"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",
"test-playwright-cli": "playwright test --config=tests/mcp/playwright.config.ts --project=chrome cli-",
"playwright-cli": "node packages/playwright-core/lib/tools/cli-client/cli.js",
"playwright-cli-readme": "node utils/generate_cli_help.js --readme"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@actions/core": "^3.0.0",
"@actions/github": "^8.0.0",
"@babel/code-frame": "^7.27.1",
"@babel/core": "^7.28.0",
"@babel/helper-plugin-utils": "^7.27.1",
"@babel/parser": "^7.28.0",
"@babel/plugin-proposal-decorators": "^7.28.0",
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-syntax-import-attributes": "^7.27.1",
"@babel/plugin-syntax-json-strings": "^7.8.3",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
"@babel/plugin-transform-class-properties": "^7.27.1",
"@babel/plugin-transform-class-static-block": "^7.27.1",
"@babel/plugin-transform-explicit-resource-management": "^7.28.0",
"@babel/plugin-transform-export-namespace-from": "^7.27.1",
"@babel/plugin-transform-logical-assignment-operators": "^7.27.1",
"@babel/plugin-transform-modules-commonjs": "^7.27.1",
"@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1",
"@babel/plugin-transform-numeric-separator": "^7.27.1",
"@babel/plugin-transform-optional-chaining": "^7.27.1",
"@babel/plugin-transform-private-methods": "^7.27.1",
"@babel/plugin-transform-private-property-in-object": "^7.27.1",
"@babel/plugin-transform-react-jsx": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@eslint/compat": "^1.3.2",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.34.0",
"@jest/expect-utils": "30.2.0",
"@modelcontextprotocol/sdk": "^1.28.0",
"@octokit/graphql-schema": "^15.26.0",
"@stylistic/eslint-plugin": "^5.2.3",
"@types/babel__code-frame": "^7.0.6",
"@types/babel__core": "^7.20.5",
"@types/babel__helper-plugin-utils": "^7.10.3",
"@types/babel__traverse": "^7.20.6",
"@types/chrome": "^0.0.315",
"@types/codemirror": "^5.60.7",
"@types/debug": "^4.1.7",
"@types/diff": "^5.2.3",
"@types/formidable": "^2.0.4",
"@types/ini": "^4.1.1",
"@types/mime": "^2.0.3",
"@types/minimatch": "^3.0.5",
"@types/node": "18.19.76",
"@types/pngjs": "^6.0.1",
"@types/progress": "^2.0.5",
"@types/proxy-from-env": "^1.0.1",
"@types/react": "^19.2.1",
"@types/react-dom": "^19.2.1",
"@types/retry": "^0.12.5",
"@types/source-map-support": "^0.5.4",
"@types/ws": "8.2.2",
"@types/xml2js": "^0.4.9",
"@types/yauzl": "^2.10.3",
"@types/yazl": "^2.4.2",
"@typescript-eslint/eslint-plugin": "^8.59.0",
"@typescript-eslint/parser": "^8.59.0",
"@typescript-eslint/utils": "^8.59.0",
"@vitejs/plugin-basic-ssl": "^1.1.0",
"@vitejs/plugin-react": "^4.2.1",
"@zip.js/zip.js": "^2.7.29",
"chokidar": "3.6.0",
"chromium-bidi": "^12.0.0",
"colors": "1.4.0",
"commander": "^13.0.0",
"concurrently": "^6.2.1",
"cross-env": "^7.0.3",
"debug": "^4.3.4",
"diff": "^8.0.3",
"dotenv": "^16.4.5",
"electron": "^39.8.4",
"enquirer": "2.3.6",
"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",
"get-east-asian-width": "1.3.0",
"get-stream": "^5.1.0",
"graceful-fs": "4.2.10",
"https-proxy-agent": "7.0.6",
"ini": "^6.0.0",
"jest-matcher-utils": "30.2.0",
"jest-message-util": "30.2.0",
"jpeg-js": "0.4.4",
"json5": "2.2.3",
"license-checker": "^25.0.1",
"mime": "^3.0.0",
"minimatch": "^3.1.4",
"open": "8.4.0",
"pngjs": "6.0.0",
"progress": "2.0.3",
"proxy-from-env": "2.0.0",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"retry": "0.12.0",
"signal-exit": "3.0.7",
"socks-proxy-agent": "8.0.5",
"source-map-support": "0.5.21",
"ssim.js": "^3.5.0",
"typescript": "^6.0.3",
"vite": "^6.4.1",
"vite-plugin-static-copy": "^3.1.1",
"ws": "8.17.1",
"xml2js": "^0.5.0",
"yaml": "^2.8.3",
"yauzl": "3.2.1",
"yazl": "2.5.1",
"zod": "^4.3.6",
"zod-to-json-schema": "^3.25.1"
}
}