package.json (2869B)
1 { 2 "name": "@puppeteer/browsers", 3 "version": "2.10.5", 4 "description": "Download and launch browsers", 5 "scripts": { 6 "build:docs": "wireit", 7 "build": "wireit", 8 "build:test": "wireit", 9 "clean": "../../tools/clean.mjs", 10 "test": "wireit" 11 }, 12 "type": "commonjs", 13 "bin": "lib/cjs/main-cli.js", 14 "main": "./lib/cjs/main.js", 15 "exports": { 16 "import": "./lib/esm/main.js", 17 "require": "./lib/cjs/main.js" 18 }, 19 "wireit": { 20 "build": { 21 "command": "tsc -b && node --experimental-strip-types ../../tools/chmod.ts 755 lib/cjs/main-cli.js lib/esm/main-cli.js", 22 "files": [ 23 "src/**/*.ts", 24 "tsconfig.json" 25 ], 26 "clean": "if-file-deleted", 27 "output": [ 28 "lib/**", 29 "!lib/esm/package.json" 30 ], 31 "dependencies": [ 32 "generate:package-json", 33 "generate:version" 34 ] 35 }, 36 "generate:version": { 37 "command": "hereby generate:version", 38 "clean": "if-file-deleted", 39 "files": [ 40 "Herebyfile.mjs" 41 ], 42 "output": [ 43 "src/generated/version.ts" 44 ] 45 }, 46 "generate:package-json": { 47 "command": "node --experimental-strip-types ../../tools/generate_module_package_json.ts lib/esm/package.json", 48 "files": [ 49 "../../tools/generate_module_package_json.ts" 50 ], 51 "output": [ 52 "lib/esm/package.json" 53 ] 54 }, 55 "build:docs": { 56 "command": "api-extractor run --local --config \"./api-extractor.docs.json\"", 57 "files": [ 58 "api-extractor.docs.json", 59 "lib/esm/main.d.ts", 60 "tsconfig.json" 61 ], 62 "dependencies": [ 63 "build" 64 ] 65 }, 66 "build:test": { 67 "command": "tsc -b test/src/tsconfig.json", 68 "files": [ 69 "test/**/*.ts", 70 "test/src/tsconfig.json" 71 ], 72 "output": [ 73 "test/build/**" 74 ], 75 "dependencies": [ 76 "build", 77 "../testserver:build" 78 ] 79 }, 80 "test": { 81 "command": "node tools/downloadTestBrowsers.mjs && mocha", 82 "files": [ 83 ".mocharc.cjs" 84 ], 85 "dependencies": [ 86 "build:test" 87 ] 88 } 89 }, 90 "keywords": [ 91 "puppeteer", 92 "browsers" 93 ], 94 "repository": { 95 "type": "git", 96 "url": "https://github.com/puppeteer/puppeteer/tree/main/packages/browsers" 97 }, 98 "author": "The Chromium Authors", 99 "license": "Apache-2.0", 100 "engines": { 101 "node": ">=18" 102 }, 103 "files": [ 104 "lib", 105 "src", 106 "!*.tsbuildinfo" 107 ], 108 "dependencies": { 109 "debug": "^4.4.1", 110 "extract-zip": "^2.0.1", 111 "progress": "^2.0.3", 112 "proxy-agent": "^6.5.0", 113 "tar-fs": "^3.0.9", 114 "yargs": "^17.7.2", 115 "semver": "^7.7.2" 116 }, 117 "devDependencies": { 118 "@types/debug": "4.1.12", 119 "@types/progress": "2.0.7", 120 "@types/tar-fs": "2.0.4", 121 "@types/yargs": "17.0.33", 122 "@types/ws": "8.18.1" 123 } 124 }