summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/packages/browsers/package.json
blob: c28787e197bc6445049a8432f0e4cd39dba060a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
  "name": "@puppeteer/browsers",
  "version": "1.0.0",
  "description": "Download and launch browsers",
  "scripts": {
    "build:docs": "wireit",
    "build": "wireit",
    "build:test": "wireit",
    "clean": "tsc --build --clean && rm -rf lib",
    "test": "wireit"
  },
  "bin": {
    "@puppeteer/browsers": "lib/cjs/main-cli.js"
  },
  "main": "./lib/cjs/main.js",
  "module": "./lib/esm/main.js",
  "type": "commonjs",
  "exports": {
    ".": {
      "import": "./lib/esm/main.js",
      "require": "./lib/cjs/main.js"
    }
  },
  "wireit": {
    "build": {
      "command": "tsc -b && tsx ../../tools/chmod.ts 755 lib/cjs/main-cli.js lib/esm/main-cli.js",
      "files": [
        "src/**/*.ts",
        "tsconfig.json"
      ],
      "clean": "if-file-deleted",
      "output": [
        "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"
      ]
    },
    "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"
      ]
    },
    "build:test": {
      "command": "tsc -b test/src/tsconfig.json",
      "files": [
        "test/**/*.ts",
        "test/src/tsconfig.json"
      ],
      "output": [
        "test/build/**"
      ],
      "dependencies": [
        "build",
        "../testserver:build"
      ]
    },
    "test": {
      "command": "node tools/downloadTestBrowsers.mjs && cross-env DEBUG=puppeteer:* mocha",
      "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": {
    "node": ">=16.0.0"
  },
  "files": [
    "lib",
    "!*.tsbuildinfo"
  ],
  "dependencies": {
    "debug": "4.3.4",
    "extract-zip": "2.0.1",
    "https-proxy-agent": "5.0.1",
    "progress": "2.0.3",
    "proxy-from-env": "1.1.0",
    "tar-fs": "2.1.1",
    "unbzip2-stream": "1.4.3",
    "yargs": "17.7.1"
  },
  "devDependencies": {
    "@types/node": "^14.15.0",
    "@types/yargs": "17.0.22"
  },
  "peerDependencies": {
    "typescript": ">= 4.7.4"
  },
  "peerDependenciesMeta": {
    "typescript": {
      "optional": true
    }
  }
}