{ "name": "chromium-bidi", "version": "0.4.16", "description": "An implementation of the WebDriver BiDi protocol for Chromium implemented as a JavaScript layer translating between BiDi and CDP, running inside a Chrome tab.", "scripts": { "build": "wireit", "clean": "rimraf lib .eslintcache .wireit", "coverage": "nyc mocha", "e2e-headful": "wireit", "e2e-headless": "wireit", "e2e": "npm run e2e-headless --", "eslint": "wireit", "flake8": "flake8 examples/ tests/", "format": "wireit", "pre-commit": "pre-commit run --all-files", "prepare": "wireit", "prettier": "prettier --write .", "rollup": "wireit", "server": "npm run server-headless --", "server-headful": "wireit", "server-headless": "wireit", "test": "wireit", "tsc": "wireit", "unit": "wireit", "wpt": "wireit", "wpt-all": "wireit", "yapf": "yapf -i --parallel --recursive --exclude=wpt examples/ tests/" }, "nyc": { "exclude": [ "**/*.spec.ts" ] }, "wireit": { "build": { "dependencies": [ "rollup", "tsc" ] }, "e2e-headful": { "command": "python3 -m pytest", "dependencies": [ "server-headful" ], "files": [ "pytest.ini", "tests/**/*.py" ] }, "e2e-headless": { "command": "python3 -m pytest", "dependencies": [ "server-headless" ], "files": [ "pytest.ini", "tests/**/*.py" ] }, "eslint": { "command": "eslint --cache --ext .js,.ts --fix .", "files": [ ".eslintignore", ".eslintrc.js", "src/**/*.ts" ], "output": [ ".eslintcache" ], "dependencies": [ "tsc" ] }, "format": { "dependencies": [ "eslint", "prettier", "yapf" ] }, "prepare": { "dependencies": [ "build" ] }, "rollup": { "command": "rollup -c", "dependencies": [ "tsc" ], "files": [ "lib/cjs/bidiMapper/index.js", "rollup.config.mjs" ], "output": [ "lib/iife/mapperTab.js" ] }, "server-headful": { "command": "./runBiDiServer.sh --headless=false", "files": [ "runBiDiServer.sh" ], "service": { "readyWhen": { "lineMatches": "Server is listening on port \\d+" } }, "dependencies": [ "rollup" ] }, "server-headless": { "command": "./runBiDiServer.sh --headless=true", "files": [ "runBiDiServer.sh" ], "service": { "readyWhen": { "lineMatches": "Server is listening on port \\d+" } }, "dependencies": [ "rollup" ] }, "test": { "dependencies": [ "unit", "e2e", "wpt" ] }, "tsc": { "command": "tsc --build src/tsconfig.json --pretty", "clean": "if-file-deleted", "files": [ "**/tsconfig*.json", "src/**/*.ts" ], "output": [ "lib/cjs/**" ] }, "unit": { "command": "mocha", "dependencies": [ "tsc" ] }, "wpt": { "command": "./runWPT.sh", "files": [ "runWPT.sh" ], "dependencies": [ "rollup" ] }, "wpt-all": { "command": "./runWPTAll.sh", "files": [ "runWPTAll.sh" ], "dependencies": [ "rollup" ] } }, "files": [ "lib", "!lib/**/*.spec.*", ".browser" ], "repository": { "type": "git", "url": "https://github.com/GoogleChromeLabs/chromium-bidi.git" }, "author": "The Chromium Authors", "license": "Apache-2.0", "peerDependencies": { "devtools-protocol": "*" }, "devDependencies": { "@actions/core": "1.10.0", "@puppeteer/browsers": "1.1.0", "@rollup/plugin-commonjs": "24.1.0", "@rollup/plugin-node-resolve": "15.1.0", "@rollup/plugin-terser": "0.4.1", "@types/argparse": "2.0.10", "@types/chai": "4.3.5", "@types/chai-as-promised": "7.1.5", "@types/debug": "4.1.8", "@types/mocha": "10.0.1", "@types/node": "18.16.0", "@types/sinon": "10.0.14", "@types/websocket": "1.0.5", "@types/ws": "8.5.4", "@typescript-eslint/eslint-plugin": "5.59.2", "@typescript-eslint/parser": "5.59.8", "argparse": "2.0.1", "chai": "4.3.7", "chai-as-promised": "7.1.1", "chai-exclude": "2.1.0", "debug": "4.3.4", "devtools-protocol": "0.0.1151065", "eslint": "8.39.0", "eslint-config-prettier": "8.8.0", "eslint-plugin-import": "2.27.5", "eslint-plugin-mocha": "10.1.0", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-promise": "6.1.1", "gts": "3.1.1", "mocha": "10.2.0", "nyc": "15.1.0", "prettier": "2.8.8", "rimraf": "5.0.0", "rollup": "3.23.0", "sinon": "15.0.4", "source-map-support": "0.5.21", "terser": "5.17.1", "tslib": "2.5.0", "typescript": "5.0.4", "websocket": "1.0.34", "wireit": "0.9.5", "ws": "8.13.0", "zod": "3.21.4" }, "dependencies": { "mitt": "3.0.0" } }