Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / remote / test / puppeteer / package.json
blob85e5d6cc8b3a80699f2b9cdbab7358f0cc7a1d17
2   "name": "puppeteer-repo",
3   "private": true,
4   "repository": {
5     "type": "git",
6     "url": "https://github.com/puppeteer/puppeteer"
7   },
8   "scripts": {
9     "build": "wireit",
10     "build:tools": "wireit",
11     "check": "npm run check --workspaces --if-present",
12     "clean": "npm run clean --workspaces --if-present",
13     "debug": "mocha --inspect-brk",
14     "docs": "wireit",
15     "doctest": "wireit",
16     "format": "wireit",
17     "format:eslint": "eslint --fix .",
18     "format:expectations": "node tools/sort-test-expectations.mjs",
19     "format:prettier": "prettier --write .",
20     "lint": "wireit",
21     "lint:eslint": "wireit",
22     "lint:prettier": "prettier --check .",
23     "lint:expectations": "node tools/sort-test-expectations.mjs --lint",
24     "postinstall": "npm run postinstall --workspaces --if-present",
25     "prepare": "npm run prepare --workspaces --if-present",
26     "test": "wireit",
27     "test-install": "npm run test --workspace @puppeteer-test/installation",
28     "test-types": "wireit",
29     "test:chrome": "wireit",
30     "test:chrome:bidi": "wireit",
31     "test:chrome:headful": "wireit",
32     "test:chrome:headless": "wireit",
33     "test:chrome:shell": "wireit",
34     "test:firefox": "wireit",
35     "test:firefox:headful": "wireit",
36     "test:firefox:headless": "wireit",
37     "validate-licenses": "tsx tools/third_party/validate-licenses.ts",
38     "unit": "npm run unit --workspaces --if-present",
39     "changelog": "tsx tools/merge-changelogs.ts"
40   },
41   "wireit": {
42     "build": {
43       "dependencies": [
44         "./packages/browsers:build",
45         "./packages/ng-schematics:build",
46         "./packages/puppeteer-core:build",
47         "./packages/puppeteer:build",
48         "./packages/testserver:build",
49         "./test:build",
50         "./test/installation:build",
51         "build:tools"
52       ]
53     },
54     "build:tools": {
55       "dependencies": [
56         "./tools/docgen:build",
57         "./tools/doctest:build",
58         "./tools/mocha-runner:build",
59         "./tools/eslint:build",
60         "./packages/testserver:build"
61       ]
62     },
63     "docs": {
64       "command": "hereby docs",
65       "dependencies": [
66         "./packages/browsers:build:docs",
67         "./packages/puppeteer:build:docs",
68         "./packages/puppeteer-core:build:docs",
69         "./tools/docgen:build"
70       ]
71     },
72     "doctest": {
73       "command": "npx ./tools/doctest 'packages/puppeteer-core/lib/esm/**/*.js'",
74       "dependencies": [
75         "./packages/puppeteer-core:build",
76         "./tools/doctest:build"
77       ]
78     },
79     "lint": {
80       "dependencies": [
81         "lint:eslint",
82         "lint:prettier",
83         "lint:expectations"
84       ]
85     },
86     "lint:eslint": {
87       "command": "eslint .",
88       "dependencies": [
89         "build:tools"
90       ]
91     },
92     "format": {
93       "dependencies": [
94         "format:eslint",
95         "format:prettier",
96         "format:expectations"
97       ]
98     },
99     "test:chrome": {
100       "dependencies": [
101         "test:chrome:bidi",
102         "test:chrome:headful",
103         "test:chrome:headless",
104         "test:chrome:shell"
105       ]
106     },
107     "test:chrome:bidi": {
108       "command": "npm test -- --test-suite chrome-bidi"
109     },
110     "test:chrome:headful": {
111       "command": "npm test -- --test-suite chrome-headful"
112     },
113     "test:chrome:headless": {
114       "command": "npm test -- --test-suite chrome-headless"
115     },
116     "test:chrome:shell": {
117       "command": "npm test -- --test-suite chrome-headless-shell"
118     },
119     "test:firefox:headful": {
120       "command": "npm test -- --test-suite firefox-headful"
121     },
122     "test:firefox:headless": {
123       "command": "npm test -- --test-suite firefox-headless"
124     },
125     "test:firefox": {
126       "dependencies": [
127         "test:firefox:headful",
128         "test:firefox:headless"
129       ]
130     },
131     "test": {
132       "command": "npx ./tools/mocha-runner --min-tests 1003",
133       "dependencies": [
134         "build:tools",
135         "./test:build",
136         "./tools/mocha-runner:build"
137       ]
138     },
139     "test-types": {
140       "command": "tsd -t packages/puppeteer",
141       "dependencies": [
142         "./packages/puppeteer:build"
143       ]
144     }
145   },
146   "devDependencies": {
147     "@actions/core": "1.11.1",
148     "@babel/plugin-transform-class-properties": "7.25.9",
149     "@babel/plugin-transform-class-static-block": "7.26.0",
150     "@babel/plugin-transform-dynamic-import": "7.25.9",
151     "@babel/plugin-transform-modules-commonjs": "7.26.3",
152     "@babel/plugin-transform-private-methods": "7.25.9",
153     "@babel/plugin-transform-private-property-in-object": "7.25.9",
154     "@eslint/eslintrc": "3.2.0",
155     "@eslint/js": "9.17.0",
156     "@microsoft/api-extractor": "7.48.1",
157     "@rollup/plugin-babel": "6.0.4",
158     "@rollup/plugin-node-resolve": "16.0.0",
159     "@stylistic/eslint-plugin": "2.12.1",
160     "@types/mocha": "10.0.10",
161     "@types/node": "20.8.4",
162     "@types/semver": "7.5.8",
163     "@types/sinon": "17.0.3",
164     "@typescript-eslint/eslint-plugin": "8.19.0",
165     "@typescript-eslint/parser": "8.19.0",
166     "esbuild": "0.24.2",
167     "eslint-config-prettier": "9.1.0",
168     "eslint-import-resolver-typescript": "3.7.0",
169     "eslint-plugin-import": "2.31.0",
170     "eslint-plugin-mocha": "10.5.0",
171     "eslint-plugin-prettier": "5.2.1",
172     "eslint-plugin-rulesdir": "0.2.2",
173     "eslint-plugin-tsdoc": "0.4.0",
174     "eslint-plugin-unused-imports": "4.1.4",
175     "eslint": "9.17.0",
176     "execa": "9.5.2",
177     "expect": "29.7.0",
178     "globals": "15.14.0",
179     "gts": "6.0.2",
180     "hereby": "1.10.0",
181     "license-checker": "25.0.1",
182     "mocha": "11.0.1",
183     "prettier": "3.4.2",
184     "rollup": "4.29.1",
185     "semver": "7.6.3",
186     "sinon": "19.0.2",
187     "source-map-support": "0.5.21",
188     "spdx-satisfies": "5.0.1",
189     "tsd": "0.31.2",
190     "tsx": "4.19.2",
191     "typescript": "5.7.2",
192     "wireit": "0.14.9"
193   },
194   "overrides": {
195     "@microsoft/api-extractor": {
196       "typescript": "$typescript"
197     }
198   },
199   "workspaces": [
200     "packages/*",
201     "test",
202     "test/installation",
203     "tools/eslint",
204     "tools/doctest",
205     "tools/docgen",
206     "tools/mocha-runner"
207   ]