2024-01-05 17:07:59 -05:00
{
"name" : "chromium-bidi" ,
2024-09-23 20:52:09 -04:00
"version" : "0.6.5" ,
2024-01-05 17:07:59 -05:00
"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" ,
2024-09-23 20:52:09 -04:00
"clean" : "node tools/clean.mjs" ,
"e2e:headful" : "HEADLESS=false npm run e2e --" ,
"e2e:headless" : "npm run e2e:new-headless --" ,
"e2e:new-headless" : "HEADLESS=new npm run e2e --" ,
"e2e:old-headless" : "HEADLESS=old npm run e2e --" ,
"e2e" : "wireit" ,
2024-01-05 17:07:59 -05:00
"flake8" : "flake8 examples/ tests/" ,
"format" : "npm run pre-commit --" ,
2024-09-23 20:52:09 -04:00
"format:eslint" : "eslint --fix ." ,
2024-02-28 17:13:10 -05:00
"format:prettier" : "prettier --write ." ,
2024-01-05 17:07:59 -05:00
"pre-commit" : "pre-commit run --hook-stage manual --all-files" ,
"prepare" : "wireit" ,
"rollup" : "wireit" ,
2024-09-23 20:52:09 -04:00
"server" : "wireit" ,
2024-01-05 17:07:59 -05:00
"test" : "wireit" ,
"tsc" : "wireit" ,
"unit" : "wireit" ,
"wpt" : "wireit" ,
2024-09-23 20:52:09 -04:00
"wpt:all" : "wireit" ,
2024-01-05 17:07:59 -05:00
"yapf" : "yapf -i --parallel --recursive --exclude=wpt examples/ tests/"
} ,
"wireit" : {
"build" : {
"dependencies" : [
"rollup" ,
"tsc"
]
} ,
2024-09-23 20:52:09 -04:00
"e2e" : {
"command" : "tools/run-e2e.mjs" ,
2024-01-05 17:07:59 -05:00
"files" : [
2024-09-23 20:52:09 -04:00
"tools/run-e2e.mjs " ,
2024-01-05 17:07:59 -05:00
"pytest.ini" ,
"tests/**/*.py"
] ,
2024-09-23 20:52:09 -04:00
"dependencies" : [
"build"
2024-01-05 17:07:59 -05:00
]
} ,
"prepare" : {
"dependencies" : [
"build"
]
} ,
"rollup" : {
"command" : "rollup -c" ,
"dependencies" : [
"tsc"
] ,
"files" : [
"lib/cjs/bidiMapper/index.js" ,
"rollup.config.mjs"
] ,
"output" : [
"lib/iife/mapperTab.js"
]
} ,
2024-09-23 20:52:09 -04:00
"server" : {
"command" : "tools/run-bidi-server.mjs" ,
2024-01-05 17:07:59 -05:00
"files" : [
"tools/run-bidi-server.mjs"
] ,
"service" : {
"readyWhen" : {
2024-09-23 20:52:09 -04:00
"lineMatches" : "(BiDi server|ChromeDriver) was started successfully\\."
2024-01-05 17:07:59 -05:00
}
} ,
"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" : "tools/run-wpt.mjs" ,
"files" : [
"tools/run-wpt.mjs" ,
"wpt/tools/webdriver/**/*.py" ,
"wpt/webdriver/tests/**/*.py" ,
"wpt-metadata/**/*.ini"
] ,
"dependencies" : [
"rollup"
]
} ,
2024-09-23 20:52:09 -04:00
"wpt:all" : {
2024-02-28 17:13:10 -05:00
"command" : "tools/run-wpt-all.mjs" ,
2024-01-05 17:07:59 -05:00
"files" : [
"tools/run-wpt.mjs" ,
2024-02-28 17:13:10 -05:00
"tools/run-wpt-all.mjs" ,
2024-01-05 17:07:59 -05:00
"wpt/tools/webdriver/**/*.py" ,
"wpt/webdriver/tests/**/*.py" ,
"wpt-metadata/**/*.ini"
] ,
"dependencies" : [
"rollup"
]
}
} ,
"files" : [
"lib" ,
"!lib/**/*.spec.*" ,
"!*.tsbuildinfo" ,
".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.1" ,
2024-09-23 20:52:09 -04:00
"@eslint/compat" : "1.1.1" ,
"@eslint/eslintrc" : "3.1.0" ,
"@eslint/js" : "9.9.1" ,
"@puppeteer/browsers" : "2.3.1" ,
"@rollup/plugin-alias" : "5.1.0" ,
"@rollup/plugin-commonjs" : "26.0.1" ,
2024-01-05 17:07:59 -05:00
"@rollup/plugin-node-resolve" : "15.2.3" ,
2024-09-23 20:52:09 -04:00
"@rollup/wasm-node" : "4.21.0" ,
"@types/chai" : "4.3.17" ,
2024-01-05 17:07:59 -05:00
"@types/chai-as-promised" : "7.1.8" ,
"@types/debug" : "4.1.12" ,
2024-09-23 20:52:09 -04:00
"@types/mocha" : "10.0.7" ,
"@types/node" : "20.16.1" ,
2024-02-28 17:13:10 -05:00
"@types/sinon" : "17.0.3" ,
2024-01-05 17:07:59 -05:00
"@types/websocket" : "1.0.10" ,
2024-09-23 20:52:09 -04:00
"@types/ws" : "8.5.12" ,
"@types/yargs" : "17.0.33" ,
"@typescript-eslint/eslint-plugin" : "8.2.0" ,
"@typescript-eslint/parser" : "8.2.0" ,
"chai" : "4.5.0" ,
"chai-as-promised" : "7.1.2" ,
"debug" : "4.3.6" ,
"devtools-protocol" : "0.0.1347815" ,
"eslint" : "8.57.0" ,
2024-01-05 17:07:59 -05:00
"eslint-config-prettier" : "9.1.0" ,
"eslint-import-resolver-typescript" : "3.6.1" ,
2024-02-28 17:13:10 -05:00
"eslint-plugin-import" : "2.29.1" ,
2024-09-23 20:52:09 -04:00
"eslint-plugin-mocha" : "10.5.0" ,
"eslint-plugin-prettier" : "5.2.1" ,
"eslint-plugin-promise" : "7.1.0" ,
"globals" : "15.9.0" ,
"gts" : "5.3.1" ,
"mocha" : "10.7.3" ,
2024-02-28 17:13:10 -05:00
"pkg-dir" : "8.0.0" ,
2024-09-23 20:52:09 -04:00
"prettier" : "3.3.3" ,
"rimraf" : "6.0.1" ,
"rollup" : "4.21.0" ,
"rollup-plugin-license" : "3.5.2" ,
"selenium-webdriver" : "4.23.0" ,
"sinon" : "18.0.0" ,
2024-01-05 17:07:59 -05:00
"source-map-support" : "0.5.21" ,
2024-09-23 20:52:09 -04:00
"tslib" : "2.7.0" ,
"typescript" : "5.5.4" ,
"webdriverio" : "9.0.7" ,
"websocket" : "1.0.35" ,
"wireit" : "0.14.8" ,
"ws" : "8.18.0" ,
"yargs" : "17.7.2"
2024-01-05 17:07:59 -05:00
} ,
"dependencies" : {
"mitt" : "3.0.1" ,
2024-09-23 20:52:09 -04:00
"urlpattern-polyfill" : "10.0.0" ,
"zod" : "3.23.8"
2024-01-05 17:07:59 -05:00
}
}