mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-07-25 16:02:26 +08:00

- [Why do I need `.js` extension?](https://stackoverflow.com/a/77150985/6512681) - [Why setting `rootDir` in the `tsconfig.json`?](https://stackoverflow.com/a/58941798/6512681) - [How to ensure that we add the `.js` extension via ESLint](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/extensions.md#importextensions) Fixes https://github.com/microsoft/playwright-mcp/issues/302
62 lines
1.7 KiB
JSON
62 lines
1.7 KiB
JSON
{
|
|
"name": "@playwright/mcp",
|
|
"version": "0.0.18",
|
|
"description": "Playwright Tools for MCP",
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/microsoft/playwright-mcp.git"
|
|
},
|
|
"homepage": "https://playwright.dev",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"author": {
|
|
"name": "Microsoft Corporation"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"lint": "npm run update-readme && eslint .",
|
|
"update-readme": "node utils/update-readme.js",
|
|
"watch": "tsc --watch",
|
|
"test": "playwright test",
|
|
"ctest": "playwright test --project=chrome",
|
|
"ftest": "playwright test --project=firefox",
|
|
"wtest": "playwright test --project=webkit",
|
|
"clean": "rm -rf lib",
|
|
"npm-publish": "npm run clean && npm run build && npm run test && npm publish"
|
|
},
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.10.1",
|
|
"commander": "^13.1.0",
|
|
"playwright": "1.53.0-alpha-2025-04-25",
|
|
"yaml": "^2.7.1",
|
|
"zod-to-json-schema": "^3.24.4"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.2.0",
|
|
"@eslint/js": "^9.19.0",
|
|
"@playwright/test": "1.53.0-alpha-2025-04-25",
|
|
"@stylistic/eslint-plugin": "^3.0.1",
|
|
"@types/node": "^22.13.10",
|
|
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
|
"@typescript-eslint/parser": "^8.26.1",
|
|
"@typescript-eslint/utils": "^8.26.1",
|
|
"eslint": "^9.19.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-notice": "^1.0.0",
|
|
"typescript": "^5.8.2"
|
|
},
|
|
"bin": {
|
|
"mcp-server-playwright": "cli.js"
|
|
}
|
|
}
|