2023-02-13 10:49:50 +00:00
|
|
|
{
|
|
|
|
"name": "@puppeteer/browsers",
|
2023-05-25 04:52:07 +00:00
|
|
|
"version": "1.4.0",
|
2023-02-13 10:49:50 +00:00
|
|
|
"description": "Download and launch browsers",
|
|
|
|
"scripts": {
|
2023-04-06 12:23:10 +00:00
|
|
|
"build:docs": "wireit",
|
2023-02-13 10:49:50 +00:00
|
|
|
"build": "wireit",
|
|
|
|
"build:test": "wireit",
|
2023-03-06 10:33:38 +00:00
|
|
|
"clean": "tsc --build --clean && rm -rf lib",
|
2023-02-13 10:49:50 +00:00
|
|
|
"test": "wireit"
|
|
|
|
},
|
2023-05-15 07:39:37 +00:00
|
|
|
"bin": "lib/cjs/main-cli.js",
|
2023-03-14 12:23:42 +00:00
|
|
|
"main": "./lib/cjs/main.js",
|
2023-04-04 12:11:28 +00:00
|
|
|
"module": "./lib/esm/main.js",
|
|
|
|
"type": "commonjs",
|
2023-03-14 12:23:42 +00:00
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": "./lib/esm/main.js",
|
|
|
|
"require": "./lib/cjs/main.js"
|
|
|
|
}
|
|
|
|
},
|
2023-02-13 10:49:50 +00:00
|
|
|
"wireit": {
|
|
|
|
"build": {
|
2023-04-14 08:51:35 +00:00
|
|
|
"command": "tsc -b && tsx ../../tools/chmod.ts 755 lib/cjs/main-cli.js lib/esm/main-cli.js",
|
2023-02-13 10:49:50 +00:00
|
|
|
"files": [
|
|
|
|
"src/**/*.ts",
|
|
|
|
"tsconfig.json"
|
|
|
|
],
|
2023-04-05 14:18:25 +00:00
|
|
|
"clean": "if-file-deleted",
|
2023-02-13 10:49:50 +00:00
|
|
|
"output": [
|
2023-04-05 14:18:25 +00:00
|
|
|
"lib/**",
|
|
|
|
"!lib/esm/package.json"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"generate:package-json"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generate:package-json": {
|
|
|
|
"command": "tsx ../../tools/generate_module_package_json.ts lib/esm/package.json",
|
|
|
|
"files": [
|
|
|
|
"../../tools/generate_module_package_json.ts"
|
|
|
|
],
|
|
|
|
"output": [
|
|
|
|
"lib/esm/package.json"
|
2023-02-13 10:49:50 +00:00
|
|
|
]
|
|
|
|
},
|
2023-04-06 12:23:10 +00:00
|
|
|
"build:docs": {
|
|
|
|
"command": "api-extractor run --local --config \"./api-extractor.docs.json\"",
|
|
|
|
"files": [
|
|
|
|
"api-extractor.docs.json",
|
|
|
|
"lib/esm/main.d.ts",
|
|
|
|
"tsconfig.json"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"build"
|
|
|
|
]
|
|
|
|
},
|
2023-02-13 10:49:50 +00:00
|
|
|
"build:test": {
|
|
|
|
"command": "tsc -b test/src/tsconfig.json",
|
|
|
|
"files": [
|
|
|
|
"test/**/*.ts",
|
|
|
|
"test/src/tsconfig.json"
|
|
|
|
],
|
|
|
|
"output": [
|
|
|
|
"test/build/**"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
2023-04-05 14:18:25 +00:00
|
|
|
"build",
|
|
|
|
"../testserver:build"
|
2023-02-13 10:49:50 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"test": {
|
2023-04-06 09:14:58 +00:00
|
|
|
"command": "node tools/downloadTestBrowsers.mjs && cross-env DEBUG=puppeteer:* mocha",
|
2023-02-13 10:49:50 +00:00
|
|
|
"files": [
|
|
|
|
".mocharc.cjs"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"build:test"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"puppeteer",
|
|
|
|
"browsers"
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/puppeteer/puppeteer/tree/main/packages/browsers"
|
|
|
|
},
|
|
|
|
"author": "The Chromium Authors",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"engines": {
|
2023-05-02 07:37:46 +00:00
|
|
|
"node": ">=16.0.0"
|
2023-02-13 10:49:50 +00:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"lib",
|
|
|
|
"!*.tsbuildinfo"
|
|
|
|
],
|
|
|
|
"dependencies": {
|
|
|
|
"debug": "4.3.4",
|
|
|
|
"extract-zip": "2.0.1",
|
2023-02-14 15:30:41 +00:00
|
|
|
"progress": "2.0.3",
|
2023-05-23 07:56:36 +00:00
|
|
|
"proxy-agent": "6.2.0",
|
2023-02-13 10:49:50 +00:00
|
|
|
"tar-fs": "2.1.1",
|
2023-02-14 15:30:41 +00:00
|
|
|
"unbzip2-stream": "1.4.3",
|
2023-03-06 10:13:39 +00:00
|
|
|
"yargs": "17.7.1"
|
2023-02-13 10:49:50 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-02-14 15:30:41 +00:00
|
|
|
"@types/node": "^14.15.0",
|
|
|
|
"@types/yargs": "17.0.22"
|
2023-02-13 10:49:50 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"typescript": ">= 4.7.4"
|
|
|
|
},
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
"typescript": {
|
|
|
|
"optional": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|