forked from puppeteer/puppeteer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
188 lines (188 loc) · 5.56 KB
/
package.json
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"name": "puppeteer-repo",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/puppeteer/puppeteer"
},
"scripts": {
"build": "wireit",
"build:tools": "wireit",
"check": "npm run check --workspaces --if-present && run-p check:*",
"check:pinned-deps": "tsx tools/ensure-pinned-deps",
"clean": "npm run clean --workspaces --if-present",
"debug": "mocha --inspect-brk",
"docs": "wireit",
"doctest": "wireit",
"format": "run-s format:*",
"format:eslint": "eslint --ext js --ext mjs --ext ts --fix .",
"format:expectations": "node tools/sort-test-expectations.mjs",
"format:prettier": "prettier --write .",
"lint": "run-s lint:*",
"lint:eslint": "eslint --ext js --ext mjs --ext ts .",
"lint:prettier": "prettier --check .",
"lint:expectations": "node tools/sort-test-expectations.mjs --lint",
"postinstall": "npm run postinstall --workspaces --if-present",
"prepare": "npm run prepare --workspaces --if-present",
"test": "wireit",
"test-install": "npm run test --workspace @puppeteer-test/installation",
"test-types": "wireit",
"test:chrome": "wireit",
"test:chrome:bidi": "wireit",
"test:chrome:bidi-local": "wireit",
"test:chrome:headful": "wireit",
"test:chrome:headless": "wireit",
"test:chrome:shell": "wireit",
"test:firefox": "wireit",
"test:firefox:bidi": "wireit",
"test:firefox:bidi:headful": "wireit",
"test:firefox:headful": "wireit",
"test:firefox:headless": "wireit",
"validate-licenses": "tsx tools/third_party/validate-licenses.ts",
"unit": "npm run unit --workspaces --if-present"
},
"wireit": {
"build": {
"dependencies": [
"./packages/browsers:build",
"./packages/ng-schematics:build",
"./packages/puppeteer-core:build",
"./packages/puppeteer:build",
"./packages/testserver:build",
"./test:build",
"./test/installation:build",
"build:tools"
]
},
"build:tools": {
"dependencies": [
"./tools/docgen:build",
"./tools/doctest:build",
"./tools/mocha-runner:build",
"./tools/eslint:build",
"./packages/testserver:build"
]
},
"docs": {
"command": "hereby docs",
"dependencies": [
"./packages/browsers:build:docs",
"./packages/puppeteer:build:docs",
"./packages/puppeteer-core:build:docs",
"./tools/docgen:build"
]
},
"doctest": {
"command": "npx ./tools/doctest 'packages/puppeteer-core/lib/esm/**/*.js'",
"dependencies": [
"./packages/puppeteer-core:build",
"./tools/doctest:build"
]
},
"test:chrome": {
"dependencies": [
"test:chrome:bidi",
"test:chrome:headful",
"test:chrome:headless",
"test:chrome:shell"
]
},
"test:chrome:bidi": {
"command": "npm test -- --test-suite chrome-bidi"
},
"test:chrome:bidi-local": {
"command": "PUPPETEER_EXECUTABLE_PATH=$(node tools/download_chrome_bidi.mjs ~/.cache/puppeteer/chrome-canary --shell) npm test -- --test-suite chrome-bidi"
},
"test:chrome:headful": {
"command": "npm test -- --test-suite chrome-headful"
},
"test:chrome:headless": {
"command": "npm test -- --test-suite chrome-headless"
},
"test:chrome:shell": {
"command": "npm test -- --test-suite chrome-headless-shell"
},
"test:firefox:bidi": {
"command": "npm test -- --test-suite firefox-bidi"
},
"test:firefox:bidi:headful": {
"command": "npm test -- --test-suite firefox-bidi-headful"
},
"test:firefox:headful": {
"command": "npm test -- --test-suite firefox-headful"
},
"test:firefox:headless": {
"command": "npm test -- --test-suite firefox-headless"
},
"test:firefox": {
"dependencies": [
"test:firefox:bidi",
"test:firefox:bidi:headful",
"test:firefox:headful",
"test:firefox:headless"
]
},
"test": {
"command": "npx ./tools/mocha-runner --min-tests 1003",
"dependencies": [
"./test:build",
"./tools/mocha-runner:build"
]
},
"test-types": {
"command": "tsd -t packages/puppeteer",
"dependencies": [
"./packages/puppeteer:build"
]
}
},
"devDependencies": {
"@actions/core": "1.10.1",
"@types/mocha": "10.0.6",
"@types/node": "20.8.4",
"@types/semver": "7.5.8",
"@types/sinon": "17.0.3",
"@typescript-eslint/eslint-plugin": "7.13.0",
"@typescript-eslint/parser": "7.13.0",
"esbuild": "0.21.5",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-mocha": "10.4.3",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-rulesdir": "0.2.2",
"eslint-plugin-tsdoc": "0.3.0",
"eslint-plugin-unused-imports": "3.2.0",
"execa": "9.2.0",
"expect": "29.7.0",
"gts": "5.3.1",
"hereby": "1.8.9",
"license-checker": "25.0.1",
"mocha": "10.4.0",
"npm-run-all2": "6.2.0",
"prettier": "3.3.2",
"semver": "7.6.2",
"sinon": "18.0.0",
"source-map-support": "0.5.21",
"spdx-satisfies": "5.0.1",
"tsd": "0.31.0",
"tsx": "4.15.5",
"typescript": "5.4.5",
"wireit": "0.14.4"
},
"overrides": {
"@microsoft/api-extractor": {
"typescript": "$typescript"
}
},
"workspaces": [
"packages/*",
"test",
"test/installation",
"tools/eslint",
"tools/doctest",
"tools/docgen",
"tools/mocha-runner"
]
}