2022-10-05 12:17:03 +00:00
|
|
|
{
|
|
|
|
"name": "puppeteer-core",
|
2024-03-25 13:03:57 +00:00
|
|
|
"version": "22.6.1",
|
2022-10-05 12:17:03 +00:00
|
|
|
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
|
|
|
"keywords": [
|
|
|
|
"puppeteer",
|
|
|
|
"chrome",
|
|
|
|
"headless",
|
|
|
|
"automation"
|
|
|
|
],
|
|
|
|
"type": "commonjs",
|
|
|
|
"main": "./lib/cjs/puppeteer/puppeteer-core.js",
|
|
|
|
"types": "./lib/types.d.ts",
|
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"types": "./lib/types.d.ts",
|
|
|
|
"import": "./lib/esm/puppeteer/puppeteer-core.js",
|
|
|
|
"require": "./lib/cjs/puppeteer/puppeteer-core.js"
|
|
|
|
},
|
|
|
|
"./internal/*": {
|
|
|
|
"import": "./lib/esm/puppeteer/*",
|
|
|
|
"require": "./lib/cjs/puppeteer/*"
|
|
|
|
},
|
|
|
|
"./*": {
|
|
|
|
"import": "./*",
|
|
|
|
"require": "./*"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core"
|
|
|
|
},
|
|
|
|
"engines": {
|
2024-02-02 12:12:28 +00:00
|
|
|
"node": ">=18"
|
2022-10-05 12:17:03 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2023-02-13 18:22:43 +00:00
|
|
|
"build:docs": "wireit",
|
2022-10-05 12:17:03 +00:00
|
|
|
"build": "wireit",
|
|
|
|
"check": "tsx tools/ensure-correct-devtools-protocol-package",
|
2024-01-31 15:01:27 +00:00
|
|
|
"clean": "../../tools/clean.mjs",
|
2023-06-26 08:57:48 +00:00
|
|
|
"prepack": "wireit",
|
|
|
|
"unit": "wireit"
|
2022-10-05 12:17:03 +00:00
|
|
|
},
|
|
|
|
"wireit": {
|
2022-10-14 11:37:07 +00:00
|
|
|
"prepack": {
|
2023-04-14 08:51:35 +00:00
|
|
|
"command": "tsx ../../tools/cp.ts ../../README.md README.md",
|
2022-10-14 11:37:07 +00:00
|
|
|
"files": [
|
|
|
|
"../../README.md"
|
|
|
|
],
|
|
|
|
"output": [
|
|
|
|
"README.md"
|
|
|
|
]
|
|
|
|
},
|
2022-10-05 12:17:03 +00:00
|
|
|
"build": {
|
|
|
|
"dependencies": [
|
2023-01-30 12:30:49 +00:00
|
|
|
"build:tsc",
|
2023-02-13 18:22:43 +00:00
|
|
|
"build:types"
|
2022-10-05 12:17:03 +00:00
|
|
|
]
|
|
|
|
},
|
2023-01-30 12:30:49 +00:00
|
|
|
"build:docs": {
|
|
|
|
"command": "api-extractor run --local --config \"./api-extractor.docs.json\"",
|
2023-02-10 17:57:17 +00:00
|
|
|
"files": [
|
|
|
|
"api-extractor.docs.json",
|
2023-02-13 18:22:43 +00:00
|
|
|
"lib/esm/puppeteer/puppeteer-core.d.ts",
|
|
|
|
"tsconfig.json"
|
2023-02-10 17:57:17 +00:00
|
|
|
],
|
2023-01-30 12:30:49 +00:00
|
|
|
"dependencies": [
|
|
|
|
"build:tsc"
|
|
|
|
]
|
|
|
|
},
|
2023-02-13 18:22:43 +00:00
|
|
|
"build:tsc": {
|
2023-10-11 15:55:32 +00:00
|
|
|
"command": "hereby build",
|
2023-02-13 18:22:43 +00:00
|
|
|
"clean": "if-file-deleted",
|
2022-10-05 12:17:03 +00:00
|
|
|
"dependencies": [
|
2023-04-04 13:29:21 +00:00
|
|
|
"../browsers:build"
|
2022-10-05 12:17:03 +00:00
|
|
|
],
|
|
|
|
"files": [
|
2023-10-11 15:54:26 +00:00
|
|
|
"{src,third_party}/**",
|
|
|
|
"../../versions.js",
|
2024-02-22 12:42:59 +00:00
|
|
|
"!src/generated",
|
|
|
|
"Herebyfile.mjs"
|
2022-10-05 12:17:03 +00:00
|
|
|
],
|
|
|
|
"output": [
|
2023-10-11 15:54:26 +00:00
|
|
|
"lib/{cjs,esm}/**"
|
2022-10-05 12:17:03 +00:00
|
|
|
]
|
|
|
|
},
|
2023-02-13 18:22:43 +00:00
|
|
|
"build:types": {
|
|
|
|
"command": "api-extractor run --local && eslint --cache-location .eslintcache --cache --ext=ts --no-ignore --no-eslintrc -c=../../.eslintrc.types.cjs --fix lib/types.d.ts",
|
2022-10-05 12:17:03 +00:00
|
|
|
"files": [
|
2023-02-13 18:22:43 +00:00
|
|
|
"../../.eslintrc.types.cjs",
|
|
|
|
"api-extractor.json",
|
|
|
|
"lib/esm/puppeteer/types.d.ts",
|
|
|
|
"tsconfig.json"
|
2022-10-05 12:17:03 +00:00
|
|
|
],
|
|
|
|
"output": [
|
2023-02-13 18:22:43 +00:00
|
|
|
"lib/types.d.ts"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"build:tsc"
|
2022-10-05 12:17:03 +00:00
|
|
|
]
|
2023-06-26 08:57:48 +00:00
|
|
|
},
|
|
|
|
"unit": {
|
|
|
|
"command": "node --test --test-reporter spec lib/cjs",
|
|
|
|
"dependencies": [
|
|
|
|
"build"
|
|
|
|
]
|
2022-10-05 12:17:03 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"lib",
|
2023-06-19 11:28:35 +00:00
|
|
|
"src",
|
2023-10-23 08:30:12 +00:00
|
|
|
"!*.test.ts",
|
2023-06-26 08:57:48 +00:00
|
|
|
"!*.test.js",
|
2023-07-07 09:22:29 +00:00
|
|
|
"!*.test.d.ts",
|
|
|
|
"!*.test.js.map",
|
|
|
|
"!*.test.d.ts.map",
|
2022-10-05 12:17:03 +00:00
|
|
|
"!*.tsbuildinfo"
|
|
|
|
],
|
|
|
|
"author": "The Chromium Authors",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"dependencies": {
|
2024-03-15 15:41:26 +00:00
|
|
|
"@puppeteer/browsers": "2.2.0",
|
2024-03-26 10:39:26 +00:00
|
|
|
"chromium-bidi": "0.5.15",
|
2022-10-05 12:17:03 +00:00
|
|
|
"debug": "4.3.4",
|
2024-03-20 06:57:06 +00:00
|
|
|
"devtools-protocol": "0.0.1262051",
|
2023-12-28 05:41:29 +00:00
|
|
|
"ws": "8.16.0"
|
2023-02-03 07:56:10 +00:00
|
|
|
},
|
2023-03-06 09:56:52 +00:00
|
|
|
"devDependencies": {
|
2023-11-13 15:19:05 +00:00
|
|
|
"@types/debug": "4.1.12",
|
2023-10-11 15:54:26 +00:00
|
|
|
"@types/node": "18.17.15",
|
2023-11-27 14:43:09 +00:00
|
|
|
"@types/ws": "8.5.10",
|
2023-08-21 18:13:03 +00:00
|
|
|
"mitt": "3.0.1",
|
2023-08-29 14:33:54 +00:00
|
|
|
"parsel-js": "1.1.2",
|
2023-10-11 15:54:26 +00:00
|
|
|
"rxjs": "7.8.1"
|
2022-10-05 12:17:03 +00:00
|
|
|
}
|
|
|
|
}
|