UNPKG

2.28 kBJSONView Raw
1{
2 "name": "puppeteer",
3 "version": "2.0.0",
4 "description": "A high-level API to control headless Chrome over the DevTools Protocol",
5 "main": "index.js",
6 "repository": "github:GoogleChrome/puppeteer",
7 "engines": {
8 "node": ">=8.16.0"
9 },
10 "puppeteer": {
11 "chromium_revision": "706915"
12 },
13 "scripts": {
14 "unit": "node test/test.js",
15 "funit": "BROWSER=firefox node test/test.js",
16 "debug-unit": "node --inspect-brk test/test.js",
17 "test-doclint": "node utils/doclint/check_public_api/test/test.js && node utils/doclint/preprocessor/test.js",
18 "test": "npm run lint --silent && npm run coverage && npm run test-doclint && npm run test-types && node utils/testrunner/test/test.js",
19 "install": "node install.js",
20 "lint": "([ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .) && npm run tsc && npm run doc",
21 "doc": "node utils/doclint/cli.js",
22 "coverage": "cross-env COVERAGE=true npm run unit",
23 "tsc": "tsc -p .",
24 "apply-next-version": "node utils/apply_next_version.js",
25 "bundle": "npx browserify -r ./index.js:puppeteer -o utils/browser/puppeteer-web.js",
26 "test-types": "node utils/doclint/generate_types && npx -p typescript@2.1 tsc -p utils/doclint/generate_types/test/",
27 "unit-bundle": "node utils/browser/test.js"
28 },
29 "author": "The Chromium Authors",
30 "license": "Apache-2.0",
31 "dependencies": {
32 "debug": "^4.1.0",
33 "extract-zip": "^1.6.6",
34 "https-proxy-agent": "^3.0.0",
35 "mime": "^2.0.3",
36 "progress": "^2.0.1",
37 "proxy-from-env": "^1.0.0",
38 "rimraf": "^2.6.1",
39 "ws": "^6.1.0"
40 },
41 "devDependencies": {
42 "@types/debug": "0.0.31",
43 "@types/extract-zip": "^1.6.2",
44 "@types/mime": "^2.0.0",
45 "@types/node": "^8.10.34",
46 "@types/rimraf": "^2.0.2",
47 "@types/ws": "^6.0.1",
48 "commonmark": "^0.28.1",
49 "cross-env": "^5.0.5",
50 "eslint": "^5.15.1",
51 "esprima": "^4.0.0",
52 "jpeg-js": "^0.3.4",
53 "minimist": "^1.2.0",
54 "ncp": "^2.0.0",
55 "pixelmatch": "^4.0.2",
56 "pngjs": "^3.3.3",
57 "text-diff": "^1.0.1",
58 "typescript": "3.2.2"
59 },
60 "browser": {
61 "./lib/BrowserFetcher.js": false,
62 "ws": "./utils/browser/WebSocket",
63 "fs": false,
64 "child_process": false,
65 "rimraf": false,
66 "readline": false
67 }
68}