.gitignore |
|
10 |
api-extractor.docs.json |
|
400 |
api-extractor.json |
|
897 |
CHANGELOG.md |
|
194708 |
Herebyfile.mjs |
|
4398 |
package.json |
": {
"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": {
"node": ">=18"
},
"scripts": {
"build:docs": "wireit",
"build": "wireit",
"check": "wireit",
"clean": "../../tools/clean.mjs",
"prepack": "wireit",
"unit": "wireit"
},
"wireit": {
"check": {
"command": "tsx tools/ensure-correct-devtools-protocol-package.mts",
"dependencies": [
"build"
]
},
"prepack": {
"command": "tsx ../../tools/cp.ts ../../README.md README.md",
"files": [
"../../README.md"
],
"output": [
"README.md"
]
},
"build": {
"dependencies": [
"build:tsc",
"build:types",
"build:es5"
]
},
"build:docs": {
"command": "api-extractor run --local --config \"./api-extractor.docs.json\"",
"files": [
"api-extractor.docs.json",
"lib/esm/puppeteer/puppeteer-core.d.ts",
"tsconfig.json"
],
"dependencies": [
"build:tsc"
]
},
"build:tsc": {
"command": "hereby build",
"clean": "if-file-deleted",
"dependencies": [
"../browsers:build"
],
"files": [
"{src,third_party}/**",
"../../versions.js",
"!src/generated",
"Herebyfile.mjs"
],
"output": [
"lib/{cjs,esm}/**"
]
},
"build:es5": {
"command": "rollup -c rollup.config.mjs && node ../../tools/patch.mjs lib/es5-iife/puppeteer-core-browser.js lib/es5-iife/puppeteer-core-browser.d.ts lib/types.d.ts",
"files": [
"rollup.config.mjs"
],
"output": [
"lib/es5-iife/puppeteer-core-browser.js"
],
"dependencies": [
"build:tsc",
"build:types"
]
},
"build:types": {
"command": "api-extractor run --local && eslint --cache-location .eslintcache --cache --no-ignore --no-config-lookup -c=../../eslint.types.config.mjs --fix lib/types.d.ts",
"files": [
"../../eslint.types.config.mjs",
"api-extractor.json",
"lib/esm/puppeteer/types.d.ts",
"tsconfig.json"
],
"output": [
"lib/types.d.ts"
],
"dependencies": [
"build:tsc"
]
},
"unit": {
"command": "node --test --test-reporter=spec \"lib/cjs/* |
3897 |
rollup.config.mjs |
|
1424 |
src |
|
|
third_party |
|
|
tools |
|
|
tsconfig.json |
|
159 |
tsdoc.json |
|
336 |