Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

7.2 KB
Raw Blame
{
  "name": "playwright-internal",
  "private": true,
  "version": "1.65.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": ">=20"
  },
  "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-*",
    "wvtest": "playwright test --config=tests/webview/playwright.config.ts",
    "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",
    "test-html-reporter": "playwright test --config=packages/html-reporter",
    "test-web": "playwright test --config=packages/web",
    "ttest": "node ./tests/playwright-test/stable-test-runner/node_modules/@playwright/test/cli test --config=tests/playwright-test/playwright.config.ts",
    "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 . && tsc -p packages/extension/tsconfig.json && tsc -p packages/extension/tsconfig.ui.json",
    "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": "node utils/concurrently.js \"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/ && node utils/concurrently.js \"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.1",
    "@actions/github": "9.1.1",
    "@babel/core": "7.29.7",
    "@babel/helper-plugin-utils": "7.29.7",
    "@babel/parser": "7.29.7",
    "@babel/plugin-proposal-decorators": "7.29.7",
    "@babel/plugin-syntax-async-generators": "7.8.4",
    "@babel/plugin-syntax-import-attributes": "7.29.7",
    "@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.29.7",
    "@babel/plugin-transform-class-static-block": "7.29.7",
    "@babel/plugin-transform-explicit-resource-management": "7.29.7",
    "@babel/plugin-transform-export-namespace-from": "7.29.7",
    "@babel/plugin-transform-logical-assignment-operators": "7.29.7",
    "@babel/plugin-transform-modules-commonjs": "7.29.7",
    "@babel/plugin-transform-nullish-coalescing-operator": "7.29.7",
    "@babel/plugin-transform-numeric-separator": "7.29.7",
    "@babel/plugin-transform-optional-chaining": "7.29.7",
    "@babel/plugin-transform-private-methods": "7.29.7",
    "@babel/plugin-transform-private-property-in-object": "7.29.7",
    "@babel/plugin-transform-react-jsx": "7.29.7",
    "@babel/preset-typescript": "7.29.7",
    "@duckdb/node-api": "1.5.4-r.1",
    "@eslint/compat": "2.1.0",
    "@eslint/eslintrc": "3.3.5",
    "@eslint/js": "9.39.4",
    "@jest/expect-utils": "30.4.1",
    "@modelcontextprotocol/sdk": "1.31.0",
    "@stylistic/eslint-plugin": "5.10.0",
    "@types/babel__core": "7.20.5",
    "@types/babel__helper-plugin-utils": "7.10.3",
    "@types/babel__traverse": "7.28.0",
    "@types/chrome": "0.2.0",
    "@types/codemirror": "5.60.17",
    "@types/debug": "4.1.13",
    "@types/diff": "7.0.2",
    "@types/formidable": "2.0.6",
    "@types/ini": "4.1.1",
    "@types/istanbul-lib-instrument": "1.7.8",
    "@types/node": "20.19.43",
    "@types/pngjs": "6.0.5",
    "@types/progress": "2.0.7",
    "@types/proxy-from-env": "1.0.4",
    "@types/react": "19.2.17",
    "@types/react-dom": "19.2.3",
    "@types/retry": "0.12.5",
    "@types/source-map-support": "0.5.10",
    "@types/ws": "8.18.1",
    "@types/xml2js": "0.4.14",
    "@types/yauzl": "3.4.0",
    "@types/yazl": "3.3.1",
    "@typescript-eslint/eslint-plugin": "8.62.0",
    "@typescript-eslint/parser": "8.62.0",
    "@typescript-eslint/utils": "8.62.0",
    "@vitejs/plugin-basic-ssl": "2.3.0",
    "@vitejs/plugin-react": "6.0.3",
    "@zip.js/zip.js": "2.7.73",
    "chokidar": "4.0.3",
    "chromium-bidi": "12.1.0",
    "colors": "1.4.0",
    "commander": "15.0.0",
    "cross-env": "10.1.0",
    "debug": "4.4.3",
    "diff": "9.0.0",
    "dotenv": "17.4.2",
    "electron": "42.10.0",
    "enquirer": "2.4.1",
    "esbuild": "0.28.1",
    "eslint": "9.39.4",
    "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.5",
    "get-east-asian-width": "1.6.0",
    "get-stream": "9.0.1",
    "graceful-fs": "4.2.11",
    "https-proxy-agent": "9.1.0",
    "ini": "7.0.0",
    "istanbul-lib-instrument": "6.0.3",
    "jest-matcher-utils": "30.4.1",
    "jest-message-util": "30.4.1",
    "jpeg-js": "0.4.4",
    "json5": "2.2.3",
    "mime": "4.1.0",
    "minimatch": "10.2.5",
    "open": "11.0.0",
    "pngjs": "7.0.0",
    "progress": "2.0.3",
    "proxy-from-env": "2.1.0",
    "react": "19.2.7",
    "react-dom": "19.2.7",
    "retry": "0.13.1",
    "signal-exit": "4.1.0",
    "socks-proxy-agent": "10.1.0",
    "source-map-support": "0.5.21",
    "ssim.js": "3.5.0",
    "typescript": "6.0.3",
    "vite": "8.1.0",
    "vite-plugin-static-copy": "3.4.0",
    "ws": "8.21.0",
    "xml2js": "0.6.2",
    "yaml": "2.9.0",
    "yauzl": "3.4.0",
    "yazl": "3.3.1",
    "zod": "4.4.3",
    "zod-to-json-schema": "3.25.2"
  }
}