2023-02-13 10:49:50 +00:00
|
|
|
{
|
|
|
|
"name": "@puppeteer/browsers",
|
2024-01-04 13:39:46 +00:00
|
|
|
"version": "1.9.1",
|
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",
|
2024-01-03 12:09:24 +00:00
|
|
|
"build:test": "wireit",
|
2024-01-31 15:01:27 +00:00
|
|
|
"clean": "../../tools/clean.mjs",
|
2023-02-13 10:49:50 +00:00
|
|
|
"test": "wireit"
|
|
|
|
},
|
2023-09-22 11:48:31 +00:00
|
|
|
"type": "commonjs",
|
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",
|
|
|
|
"exports": {
|
2023-09-22 11:48:31 +00:00
|
|
|
"import": "./lib/esm/main.js",
|
|
|
|
"require": "./lib/cjs/main.js"
|
2023-03-14 12:23:42 +00:00
|
|
|
},
|
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": {
|
2024-01-19 13:03:29 +00:00
|
|
|
"command": "node tools/downloadTestBrowsers.mjs && 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": {
|
2024-02-02 12:12:28 +00:00
|
|
|
"node": ">=18"
|
2023-02-13 10:49:50 +00:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"lib",
|
2023-06-19 11:28:35 +00:00
|
|
|
"src",
|
2023-02-13 10:49:50 +00:00
|
|
|
"!*.tsbuildinfo"
|
|
|
|
],
|
|
|
|
"dependencies": {
|
|
|
|
"debug": "4.3.4",
|
|
|
|
"extract-zip": "2.0.1",
|
2023-02-14 15:30:41 +00:00
|
|
|
"progress": "2.0.3",
|
2023-09-06 08:11:37 +00:00
|
|
|
"proxy-agent": "6.3.1",
|
2023-07-06 08:48:55 +00:00
|
|
|
"tar-fs": "3.0.4",
|
2023-02-14 15:30:41 +00:00
|
|
|
"unbzip2-stream": "1.4.3",
|
2023-09-20 14:13:32 +00:00
|
|
|
"yargs": "17.7.2"
|
2023-11-06 13:03:57 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-11-13 15:19:05 +00:00
|
|
|
"@types/debug": "4.1.12",
|
2023-11-08 08:39:53 +00:00
|
|
|
"@types/progress": "2.0.7",
|
|
|
|
"@types/tar-fs": "2.0.4",
|
|
|
|
"@types/unbzip2-stream": "1.4.3",
|
2023-11-27 14:43:09 +00:00
|
|
|
"@types/yargs": "17.0.32"
|
2023-02-13 10:49:50 +00:00
|
|
|
}
|
|
|
|
}
|