-
Notifications
You must be signed in to change notification settings - Fork 552
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 3.4 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 3.4 KB
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
{
"name": "@puppeteer/replay",
"version": "3.1.3",
"description": "Replay is a library which provides an API to replay and stringify recordings created using Chrome DevTools Recorder](https://developer.chrome.com/docs/devtools/recorder/)",
"main": "lib/cjs/main.cjs",
"types": "lib/main.d.ts",
"bin": {
"@puppeteer/replay": "lib/cli.js",
"replay-extension-test": "lib/extension-test.js"
},
"exports": {
".": {
"import": {
"types": "./lib/main.d.ts",
"default": "./lib/main.js"
},
"require": {
"types": "./lib/cjs/main.d.cts",
"default": "./lib/cjs/main.cjs"
}
}
},
"repository": "github:puppeteer/replay",
"directories": {
"doc": "docs"
},
"engines": {
"node": ">=18"
},
"scripts": {
"test": "npm run build:testserver && cross-env TS_NODE_PROJECT=test/tsconfig.json mocha --config .mocharc.cjs",
"test:headful": "cross-env PUPPETEER_HEADFUL=true npm run test",
"test:coverage": "c8 npm run test",
"test:fast": "npm run test -- --ignore=test/e2e/**/*",
"lint": "npm run lint:format",
"lint:format": "prettier --check . && npm run eslint",
"format": "prettier --write . && eslint --fix .",
"eslint": "([ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .)",
"docs": "typedoc --tsconfig docs.tsconfig.json --readme none --gitRevision main --externalPattern --excludeExternals --excludeProtected --excludePrivate --plugin typedoc-plugin-markdown --out docs/api src/main.ts && npm run format",
"clean": "rimraf lib",
"build": "npm run clean && rollup --config rollup.config.cjs",
"build:testserver": "cd third_party/testserver && npm run build"
},
"files": [
"lib",
"!lib/**/*.d.ts",
"!lib/**/*.d.ts.map",
"lib/main.d.ts",
"lib/cjs/main.d.cts"
],
"author": "Chrome DevTools authors",
"license": "Apache-2.0",
"type": "module",
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.2",
"@rollup/plugin-commonjs": "29.0.0",
"@rollup/plugin-node-resolve": "16.0.3",
"@rollup/plugin-typescript": "12.3.0",
"@rollup/wasm-node": "4.55.1",
"@types/chai": "5.2.3",
"@types/cssesc": "3.0.2",
"@types/mime": "4.0.0",
"@types/mocha": "10.0.10",
"@types/node": "25.0.9",
"@types/ws": "8.18.1",
"@types/yargs": "17.0.35",
"@typescript-eslint/eslint-plugin": "8.53.0",
"@typescript-eslint/parser": "8.53.0",
"c8": "10.1.3",
"chai": "6.2.2",
"cross-env": "10.1.0",
"eslint": "9.39.2",
"eslint-config-google": "0.14.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-tsdoc": "0.5.0",
"globals": "^17.0.0",
"lighthouse": "^13.0.1",
"mime": "4.1.0",
"mocha": "^11.7.5",
"prettier": "3.8.0",
"puppeteer": "24.38.0",
"puppeteer-core": "24.38.0",
"rimraf": "6.1.2",
"rollup": "4.55.1",
"rollup-plugin-dts": "6.3.0",
"snap-shot-it": "^7.9.10",
"ts-node": "^10.9.2",
"tslib": "2.8.1",
"typedoc": "0.28.16",
"typedoc-plugin-markdown": "4.9.0",
"typescript": "5.9.3"
},
"peerDependencies": {
"lighthouse": ">=10.0.0",
"puppeteer": ">=23.0.0"
},
"peerDependenciesMeta": {
"puppeteer": {
"optional": true
},
"lighthouse": {
"optional": true
}
},
"dependencies": {
"cli-table3": "0.6.5",
"colorette": "2.0.20",
"yargs": "18.0.0"
}
}