1{
2  "name": "puppeteer",
3  "version": "13.0.1",
4  "description": "A high-level API to control headless Chrome over the DevTools Protocol",
5  "main": "./cjs-entry.js",
6  "types": "lib/types.d.ts",
7  "repository": "github:puppeteer/puppeteer",
8  "engines": {
9    "node": ">=10.18.1"
10  },
11  "scripts": {
12    "test-browser": "wtr",
13    "test-browser-watch": "wtr --watch",
14    "unit": "npm run tsc-cjs && mocha --config mocha-config/puppeteer-unit-tests.js",
15    "unit-debug": "npm run tsc-cjs && mocha --inspect-brk --config mocha-config/puppeteer-unit-tests.js",
16    "unit-with-coverage": "cross-env COVERAGE=1 npm run unit",
17    "assert-unit-coverage": "cross-env COVERAGE=1 mocha --config mocha-config/coverage-tests.js",
18    "funit": "cross-env PUPPETEER_PRODUCT=firefox npm run unit",
19    "test": "npm run tsc && npm run lint --silent && npm run unit-with-coverage && npm run test-browser",
20    "prepare": "node typescript-if-required.js && husky install",
21    "prepublishOnly": "npm run build",
22    "dev-install": "npm run tsc && node install.js",
23    "install": "node install.js",
24    "eslint": "([ \"$CI\" = true ] && eslint --ext js --ext ts --quiet -f codeframe . || eslint --ext js --ext ts .)",
25    "eslint-fix": "eslint --ext js --ext ts --fix .",
26    "commitlint": "commitlint --from=HEAD~1",
27    "markdownlint": "prettier --check **/README.md docs/troubleshooting.md",
28    "markdownlint-fix": "prettier --write **/README.md docs/troubleshooting.md",
29    "lint": "npm run eslint && npm run build && npm run doc && npm run commitlint && npm run markdownlint",
30    "doc": "node utils/doclint/cli.js",
31    "clean-lib": "rimraf lib",
32    "build": "npm run tsc && npm run generate-d-ts",
33    "tsc": "npm run clean-lib && tsc --version && npm run tsc-cjs && npm run tsc-esm",
34    "tsc-cjs": "tsc -b src/tsconfig.cjs.json",
35    "tsc-esm": "tsc -b src/tsconfig.esm.json",
36    "apply-next-version": "node utils/apply_next_version.js",
37    "test-install": "scripts/test-install.sh",
38    "clean-docs": "rimraf website/docs && rimraf docs-api-json",
39    "generate-d-ts": "npm run clean-docs && api-extractor run --local --verbose",
40    "generate-docs": "npm run generate-d-ts && api-documenter markdown -i docs-api-json -o website/docs && node utils/remove-tag.js",
41    "ensure-correct-devtools-protocol-revision": "ts-node -s scripts/ensure-correct-devtools-protocol-package",
42    "ensure-pinned-deps": "ts-node -s scripts/ensure-pinned-deps",
43    "test-types-file": "ts-node -s scripts/test-ts-definition-files.ts",
44    "release": "node utils/remove_version_suffix.js && standard-version --commit-all",
45    "build-docs-production": "cd website && npm install && npm run build"
46  },
47  "files": [
48    "lib/types.d.ts",
49    "lib/**/*.d.ts",
50    "lib/**/*.d.ts.map",
51    "lib/**/*.js",
52    "lib/**/*.js.map",
53    "install.js",
54    "typescript-if-required.js",
55    "cjs-entry.js",
56    "cjs-entry-core.js"
57  ],
58  "author": "The Chromium Authors",
59  "license": "Apache-2.0",
60  "dependencies": {
61    "debug": "4.3.2",
62    "devtools-protocol": "0.0.937139",
63    "extract-zip": "2.0.1",
64    "https-proxy-agent": "5.0.0",
65    "node-fetch": "2.6.5",
66    "pkg-dir": "4.2.0",
67    "progress": "2.0.3",
68    "proxy-from-env": "1.1.0",
69    "rimraf": "3.0.2",
70    "tar-fs": "2.1.1",
71    "unbzip2-stream": "1.4.3",
72    "ws": "8.2.3"
73  },
74  "devDependencies": {
75    "@commitlint/cli": "13.2.0",
76    "@commitlint/config-conventional": "13.2.0",
77    "@microsoft/api-documenter": "7.13.65",
78    "@microsoft/api-extractor": "7.18.15",
79    "@types/debug": "4.1.7",
80    "@types/mime": "2.0.3",
81    "@types/mocha": "9.0.0",
82    "@types/node": "16.10.9",
83    "@types/proxy-from-env": "1.0.1",
84    "@types/rimraf": "3.0.2",
85    "@types/sinon": "10.0.4",
86    "@types/tar-fs": "2.0.1",
87    "@types/ws": "8.2.0",
88    "@typescript-eslint/eslint-plugin": "4.23.0",
89    "@typescript-eslint/parser": "4.33.0",
90    "@web/test-runner": "0.13.18",
91    "commonmark": "0.29.3",
92    "cross-env": "7.0.3",
93    "eslint": "7.32.0",
94    "eslint-config-prettier": "8.3.0",
95    "eslint-plugin-import": "2.22.1",
96    "eslint-plugin-mocha": "9.0.0",
97    "eslint-plugin-prettier": "4.0.0",
98    "eslint-plugin-unicorn": "37.0.1",
99    "esprima": "4.0.1",
100    "expect": "25.2.7",
101    "husky": "7.0.2",
102    "jpeg-js": "0.3.7",
103    "mime": "2.5.2",
104    "minimist": "1.2.0",
105    "mocha": "9.1.3",
106    "ncp": "2.0.0",
107    "pixelmatch": "5.2.1",
108    "pngjs": "6.0.0",
109    "prettier": "2.3.0",
110    "sinon": "9.2.4",
111    "source-map-support": "0.5.19",
112    "standard-version": "9.3.2",
113    "text-diff": "1.0.1",
114    "ts-node": "10.4.0",
115    "typescript": "4.4.4"
116  }
117}
118