-
Notifications
You must be signed in to change notification settings - Fork 307
/
package.json
109 lines (109 loc) · 3.35 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
{
"name": "@puppeteer/replay",
"version": "3.1.1",
"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 --ext js --ext ts --fix .",
"eslint": "([ \"$CI\" = true ] && eslint --ext js --ext ts --quiet -f codeframe . || eslint --ext js --ext ts .)",
"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": {
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-typescript": "11.1.6",
"@rollup/wasm-node": "4.9.6",
"@types/chai": "4.3.11",
"@types/cssesc": "3.0.2",
"@types/mime": "3.0.4",
"@types/mocha": "10.0.6",
"@types/node": "20.6.2",
"@types/ws": "8.5.10",
"@types/yargs": "17.0.32",
"@typescript-eslint/eslint-plugin": "6.20.0",
"@typescript-eslint/parser": "6.20.0",
"c8": "9.1.0",
"chai": "4.3.8",
"cross-env": "7.0.3",
"eslint": "8.56.0",
"eslint-config-google": "0.14.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-tsdoc": "0.2.17",
"lighthouse": "^11.1.0",
"mime": "3.0.0",
"mocha": "10.2.0",
"prettier": "3.2.4",
"puppeteer": "23.6.0",
"puppeteer-core": "23.6.0",
"rimraf": "5.0.5",
"rollup": "4.9.6",
"rollup-plugin-dts": "6.1.0",
"snap-shot-it": "7.9.10",
"ts-node": "10.9.2",
"tslib": "2.6.2",
"typedoc": "0.25.7",
"typedoc-plugin-markdown": "3.17.1",
"typescript": "5.3.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": "17.7.2"
}
}