puppeteer/packages/puppeteer-core/package.json

137 lines
3.1 KiB
JSON
Raw Normal View History

{
"name": "puppeteer-core",
"version": "21.5.1",
"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": {
2023-11-10 10:29:05 +00:00
"node": ">=16.13.2"
},
"scripts": {
2023-02-13 18:22:43 +00:00
"build:docs": "wireit",
"build": "wireit",
"check": "tsx tools/ensure-correct-devtools-protocol-package",
"clean": "../../tools/clean.js",
2023-06-26 08:57:48 +00:00
"prepack": "wireit",
"unit": "wireit"
},
"wireit": {
"prepack": {
2023-04-14 08:51:35 +00:00
"command": "tsx ../../tools/cp.ts ../../README.md README.md",
"files": [
"../../README.md"
],
"output": [
"README.md"
]
},
"build": {
"dependencies": [
"build:tsc",
2023-02-13 18:22:43 +00:00
"build:types"
]
},
"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
],
"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",
"dependencies": [
"../browsers:build"
],
"files": [
"{src,third_party}/**",
"../../versions.js",
"!src/generated"
],
"output": [
"lib/{cjs,esm}/**"
]
},
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",
"files": [
2023-02-13 18:22:43 +00:00
"../../.eslintrc.types.cjs",
"api-extractor.json",
"lib/esm/puppeteer/types.d.ts",
"tsconfig.json"
],
"output": [
2023-02-13 18:22:43 +00:00
"lib/types.d.ts"
],
"dependencies": [
"build:tsc"
]
2023-06-26 08:57:48 +00:00
},
"unit": {
"command": "node --test --test-reporter spec lib/cjs",
"dependencies": [
"build"
]
}
},
"files": [
"lib",
"src",
"!*.test.ts",
2023-06-26 08:57:48 +00:00
"!*.test.js",
"!*.test.d.ts",
"!*.test.js.map",
"!*.test.d.ts.map",
"!*.tsbuildinfo"
],
"author": "The Chromium Authors",
"license": "Apache-2.0",
"dependencies": {
"@puppeteer/browsers": "1.8.0",
"chromium-bidi": "0.4.33",
"cross-fetch": "4.0.0",
"debug": "4.3.4",
"devtools-protocol": "0.0.1203626",
"ws": "8.14.2"
},
"devDependencies": {
"@types/debug": "4.1.12",
"@types/node": "18.17.15",
"@types/ws": "8.5.9",
2023-08-21 18:13:03 +00:00
"mitt": "3.0.1",
"parsel-js": "1.1.2",
"rxjs": "7.8.1"
}
}