UNPKG

2.35 kBJSONView Raw
1{
2 "name": "puppeteer",
3 "version": "1.9.0-next.1540604446651",
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": "599821"
12 },
13 "scripts": {
14 "unit": "node test/test.js",
15 "debug-unit": "node --inspect-brk test/test.js",
16 "test-doclint": "node utils/doclint/check_public_api/test/test.js && node utils/doclint/preprocessor/test.js",
17 "test": "npm run lint --silent && npm run coverage && npm run test-doclint && npm run test-node6-transformer",
18 "install": "node install.js",
19 "lint": "([ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .) && npm run tsc && npm run doc",
20 "doc": "node utils/doclint/cli.js",
21 "coverage": "cross-env COVERAGE=true npm run unit",
22 "test-node6-transformer": "node utils/node6-transform/test/test.js",
23 "build": "node utils/node6-transform/index.js",
24 "unit-node6": "node node6/test/test.js",
25 "tsc": "tsc -p .",
26 "prepublishOnly": "npm run build",
27 "apply-next-version": "node utils/apply_next_version.js",
28 "bundle": "npx browserify -r ./index.js:puppeteer -o utils/browser/puppeteer-web.js",
29 "unit-bundle": "node utils/browser/test.js"
30 },
31 "author": "The Chromium Authors",
32 "license": "Apache-2.0",
33 "dependencies": {
34 "debug": "^3.1.0",
35 "extract-zip": "^1.6.6",
36 "https-proxy-agent": "^2.2.1",
37 "mime": "^2.0.3",
38 "progress": "^2.0.0",
39 "proxy-from-env": "^1.0.0",
40 "rimraf": "^2.6.1",
41 "ws": "^5.1.1"
42 },
43 "devDependencies": {
44 "@types/debug": "0.0.30",
45 "@types/extract-zip": "^1.6.2",
46 "@types/mime": "^2.0.0",
47 "@types/node": "^8.10.34",
48 "@types/rimraf": "^2.0.2",
49 "@types/ws": "^3.0.2",
50 "commonmark": "^0.27.0",
51 "cross-env": "^5.0.5",
52 "eslint": "^4.19.1",
53 "esprima": "^4.0.0",
54 "jpeg-js": "^0.3.4",
55 "minimist": "^1.2.0",
56 "ncp": "^2.0.0",
57 "pixelmatch": "^4.0.2",
58 "pngjs": "^3.3.3",
59 "text-diff": "^1.0.1",
60 "typescript": "^3.1.1"
61 },
62 "browser": {
63 "./lib/BrowserFetcher.js": false,
64 "./node6/lib/Puppeteer": false,
65 "ws": "./utils/browser/WebSocket",
66 "fs": false,
67 "child_process": false,
68 "rimraf": false,
69 "readline": false
70 }
71}