2017-05-11 07:06:41 +00:00
|
|
|
{
|
|
|
|
"name": "puppeteer",
|
2020-04-16 09:23:26 +00:00
|
|
|
"version": "3.0.0-post",
|
2017-08-16 05:30:56 +00:00
|
|
|
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
2017-05-11 07:06:41 +00:00
|
|
|
"main": "index.js",
|
2019-11-26 12:12:25 +00:00
|
|
|
"repository": "github:puppeteer/puppeteer",
|
2017-06-19 22:01:14 +00:00
|
|
|
"engines": {
|
2020-03-10 20:55:32 +00:00
|
|
|
"node": ">=10.18.1"
|
2017-06-19 22:01:14 +00:00
|
|
|
},
|
2018-06-02 16:56:47 +00:00
|
|
|
"puppeteer": {
|
2020-04-16 07:20:27 +00:00
|
|
|
"chromium_revision": "737027",
|
2020-03-10 20:59:03 +00:00
|
|
|
"firefox_revision": "latest"
|
2018-06-02 16:56:47 +00:00
|
|
|
},
|
2017-05-11 07:06:41 +00:00
|
|
|
"scripts": {
|
2020-04-09 18:12:32 +00:00
|
|
|
"unit": "mocha --config mocha-config/puppeteer-unit-tests.js",
|
2020-04-09 05:56:25 +00:00
|
|
|
"coverage": "cross-env COVERAGE=1 npm run unit",
|
|
|
|
"funit": "PUPPETEER_PRODUCT=firefox npm run unit",
|
2017-12-15 22:25:06 +00:00
|
|
|
"debug-unit": "node --inspect-brk test/test.js",
|
2020-04-09 18:12:32 +00:00
|
|
|
"test-doclint": "mocha --config mocha-config/doclint-tests.js",
|
|
|
|
"test": "npm run tsc && npm run lint --silent && npm run coverage && npm run test-doclint && npm run test-types",
|
2020-04-02 14:25:19 +00:00
|
|
|
"prepublishOnly": "npm run tsc",
|
|
|
|
"dev-install": "npm run tsc && node install.js",
|
2017-06-19 21:43:05 +00:00
|
|
|
"install": "node install.js",
|
2020-04-14 11:08:52 +00:00
|
|
|
"lint": "([ \"$CI\" = true ] && eslint --ext js --ext ts --quiet -f codeframe . || eslint --ext js --ext ts .) && npm run tsc && npm run doc",
|
2017-07-27 23:16:37 +00:00
|
|
|
"doc": "node utils/doclint/cli.js",
|
2020-04-02 14:25:19 +00:00
|
|
|
"tsc": "tsc --version && tsc -p . && cp src/protocol.d.ts lib/ && cp src/externs.d.ts lib/",
|
2018-09-13 19:08:51 +00:00
|
|
|
"apply-next-version": "node utils/apply_next_version.js",
|
2020-04-06 08:32:42 +00:00
|
|
|
"bundle": "npm run tsc && npx browserify -r ./index.js:puppeteer -o utils/browser/puppeteer-web.js",
|
2020-04-01 09:34:50 +00:00
|
|
|
"test-types": "node utils/doclint/generate_types && tsc --version && tsc -p utils/doclint/generate_types/test/",
|
2020-04-09 18:12:32 +00:00
|
|
|
"unit-bundle": "mocha --config mocha-config/browser-bundle-tests.js",
|
2020-04-02 14:25:19 +00:00
|
|
|
"update-protocol-d-ts": "node utils/protocol-types-generator"
|
2017-05-11 07:06:41 +00:00
|
|
|
},
|
|
|
|
"author": "The Chromium Authors",
|
2017-08-31 18:16:28 +00:00
|
|
|
"license": "Apache-2.0",
|
2017-05-11 07:06:41 +00:00
|
|
|
"dependencies": {
|
2019-12-03 08:18:18 +00:00
|
|
|
"@types/mime-types": "^2.1.0",
|
2018-11-09 23:32:20 +00:00
|
|
|
"debug": "^4.1.0",
|
2020-04-09 19:13:25 +00:00
|
|
|
"extract-zip": "^2.0.0",
|
2019-12-11 14:40:22 +00:00
|
|
|
"https-proxy-agent": "^4.0.0",
|
2018-04-17 21:51:03 +00:00
|
|
|
"mime": "^2.0.3",
|
2019-12-03 08:18:18 +00:00
|
|
|
"mime-types": "^2.1.25",
|
2018-11-09 23:32:20 +00:00
|
|
|
"progress": "^2.0.1",
|
2017-08-23 15:33:29 +00:00
|
|
|
"proxy-from-env": "^1.0.0",
|
2020-03-12 21:17:47 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2020-03-10 20:59:03 +00:00
|
|
|
"tar-fs": "^2.0.0",
|
|
|
|
"unbzip2-stream": "^1.3.3",
|
2020-04-14 14:13:38 +00:00
|
|
|
"ws": "^7.2.3"
|
2017-05-11 07:06:41 +00:00
|
|
|
},
|
2017-05-12 23:36:37 +00:00
|
|
|
"devDependencies": {
|
2018-11-09 23:32:20 +00:00
|
|
|
"@types/debug": "0.0.31",
|
2018-04-17 21:51:03 +00:00
|
|
|
"@types/mime": "^2.0.0",
|
2020-03-10 20:55:32 +00:00
|
|
|
"@types/node": "^10.17.14",
|
2017-10-10 05:31:40 +00:00
|
|
|
"@types/rimraf": "^2.0.2",
|
2020-03-10 20:59:03 +00:00
|
|
|
"@types/tar-fs": "^1.16.2",
|
2020-04-14 14:13:38 +00:00
|
|
|
"@types/ws": "^7.2.4",
|
2020-04-14 11:08:52 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^2.28.0",
|
|
|
|
"@typescript-eslint/parser": "^2.28.0",
|
2018-11-09 23:32:20 +00:00
|
|
|
"commonmark": "^0.28.1",
|
2017-10-11 19:14:13 +00:00
|
|
|
"cross-env": "^5.0.5",
|
2020-03-31 16:43:06 +00:00
|
|
|
"eslint": "^6.8.0",
|
2020-04-09 05:56:25 +00:00
|
|
|
"eslint-plugin-mocha": "^6.3.0",
|
2017-07-07 16:36:45 +00:00
|
|
|
"esprima": "^4.0.0",
|
2020-04-03 11:22:55 +00:00
|
|
|
"expect": "^25.2.7",
|
2018-09-14 10:03:33 +00:00
|
|
|
"jpeg-js": "^0.3.4",
|
2017-06-16 21:33:34 +00:00
|
|
|
"minimist": "^1.2.0",
|
2020-04-09 05:56:25 +00:00
|
|
|
"mocha": "^7.1.1",
|
2017-06-16 21:33:34 +00:00
|
|
|
"ncp": "^2.0.0",
|
2017-06-16 22:02:14 +00:00
|
|
|
"pixelmatch": "^4.0.2",
|
2018-04-19 21:16:02 +00:00
|
|
|
"pngjs": "^3.3.3",
|
2017-10-10 05:31:40 +00:00
|
|
|
"text-diff": "^1.0.1",
|
2020-04-01 09:34:50 +00:00
|
|
|
"typescript": "3.8.3"
|
2018-09-13 19:08:51 +00:00
|
|
|
},
|
|
|
|
"browser": {
|
|
|
|
"./lib/BrowserFetcher.js": false,
|
|
|
|
"ws": "./utils/browser/WebSocket",
|
|
|
|
"fs": false,
|
|
|
|
"child_process": false,
|
|
|
|
"rimraf": false,
|
|
|
|
"readline": false
|
2017-05-11 07:06:41 +00:00
|
|
|
}
|
|
|
|
}
|