UNPKG

2.56 kBJSONView Raw
1{
2 "name": "puppeteer",
3 "version": "1.17.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": ">=6.4.0"
9 },
10 "puppeteer": {
11 "chromium_revision": "662092"
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-node6-transformer && npm run test-types",
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 "test-node6-transformer": "node utils/node6-transform/test/test.js",
24 "build": "node utils/node6-transform/index.js && node utils/doclint/generate_types",
25 "unit-node6": "node node6/test/test.js",
26 "tsc": "tsc -p .",
27 "prepublishOnly": "npm run build",
28 "apply-next-version": "node utils/apply_next_version.js",
29 "bundle": "npx browserify -r ./index.js:puppeteer -o utils/browser/puppeteer-web.js",
30 "test-types": "node utils/doclint/generate_types && npx -p typescript@2.1 tsc -p utils/doclint/generate_types/test/",
31 "unit-bundle": "node utils/browser/test.js"
32 },
33 "author": "The Chromium Authors",
34 "license": "Apache-2.0",
35 "dependencies": {
36 "debug": "^4.1.0",
37 "extract-zip": "^1.6.6",
38 "https-proxy-agent": "^2.2.1",
39 "mime": "^2.0.3",
40 "progress": "^2.0.1",
41 "proxy-from-env": "^1.0.0",
42 "rimraf": "^2.6.1",
43 "ws": "^6.1.0"
44 },
45 "devDependencies": {
46 "@types/debug": "0.0.31",
47 "@types/extract-zip": "^1.6.2",
48 "@types/mime": "^2.0.0",
49 "@types/node": "^8.10.34",
50 "@types/rimraf": "^2.0.2",
51 "@types/ws": "^6.0.1",
52 "commonmark": "^0.28.1",
53 "cross-env": "^5.0.5",
54 "eslint": "^5.15.1",
55 "esprima": "^4.0.0",
56 "jpeg-js": "^0.3.4",
57 "minimist": "^1.2.0",
58 "ncp": "^2.0.0",
59 "pixelmatch": "^4.0.2",
60 "pngjs": "^3.3.3",
61 "text-diff": "^1.0.1",
62 "typescript": "3.2.2"
63 },
64 "browser": {
65 "./lib/BrowserFetcher.js": false,
66 "./node6/lib/Puppeteer": false,
67 "ws": "./utils/browser/WebSocket",
68 "fs": false,
69 "child_process": false,
70 "rimraf": false,
71 "readline": false
72 }
73}