2017-05-11 07:06:41 +00:00
|
|
|
{
|
2022-10-05 12:17:03 +00:00
|
|
|
"name": "puppeteer-repo",
|
|
|
|
"private": true,
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/puppeteer/puppeteer"
|
2017-06-19 22:01:14 +00:00
|
|
|
},
|
2017-05-11 07:06:41 +00:00
|
|
|
"scripts": {
|
2023-02-13 14:50:44 +00:00
|
|
|
"build": "wireit",
|
|
|
|
"build:docs": "wireit",
|
2022-10-06 08:27:14 +00:00
|
|
|
"check:pinned-deps": "tsx tools/ensure-pinned-deps",
|
2022-10-05 12:17:03 +00:00
|
|
|
"check": "npm run check --workspaces --if-present && run-p check:*",
|
2023-03-22 09:31:55 +00:00
|
|
|
"clean": "rimraf -g \"./**/.wireit\" && npm run clean --workspaces --if-present",
|
2022-10-13 16:55:11 +00:00
|
|
|
"debug": "mocha --inspect-brk",
|
2023-01-30 12:30:49 +00:00
|
|
|
"docs": "run-s build:docs generate:markdown",
|
2022-10-05 12:17:03 +00:00
|
|
|
"format:eslint": "eslint --ext js --ext ts --fix .",
|
|
|
|
"format:prettier": "prettier --write .",
|
2023-03-23 09:22:17 +00:00
|
|
|
"format:expectations": "node tools/sort-test-expectations.js",
|
2022-10-05 12:17:03 +00:00
|
|
|
"format": "run-s format:*",
|
2022-10-06 08:27:14 +00:00
|
|
|
"generate:markdown": "tsx tools/generate_docs.ts",
|
2022-10-05 12:17:03 +00:00
|
|
|
"lint:eslint": "([ \"$CI\" = true ] && eslint --ext js --ext ts --quiet -f codeframe . || eslint --ext js --ext ts .)",
|
|
|
|
"lint:prettier": "prettier --check .",
|
|
|
|
"lint": "run-s lint:prettier lint:eslint",
|
|
|
|
"postinstall": "npm run postinstall --workspaces --if-present",
|
2022-10-14 11:37:07 +00:00
|
|
|
"test-install": "npm run test --workspace @puppeteer-test/installation",
|
2022-10-13 16:55:11 +00:00
|
|
|
"test-types": "tsd -t packages/puppeteer",
|
2023-02-13 14:50:44 +00:00
|
|
|
"test:chrome:headful": "wireit",
|
|
|
|
"test:chrome:new-headless": "wireit",
|
|
|
|
"test:chrome:headless": "wireit",
|
|
|
|
"test:chrome:bidi": "wireit",
|
2023-05-31 11:13:34 +00:00
|
|
|
"test:chrome:bidi-local": "wireit",
|
2023-02-13 14:50:44 +00:00
|
|
|
"test:chrome": "wireit",
|
|
|
|
"test:firefox:bidi": "wireit",
|
|
|
|
"test:firefox:headful": "wireit",
|
|
|
|
"test:firefox:headless": "wireit",
|
|
|
|
"test:firefox": "wireit",
|
2023-06-26 12:01:36 +00:00
|
|
|
"test": "cross-env PUPPETEER_DEFERRED_PROMISE_DEBUG_TIMEOUT=20000 node tools/mochaRunner/lib/main.js --min-tests 1046",
|
2023-06-26 08:57:48 +00:00
|
|
|
"validate-licenses": "tsx tools/third_party/validate-licenses.ts",
|
|
|
|
"unit": "npm run unit --workspaces --if-present"
|
2017-05-11 07:06:41 +00:00
|
|
|
},
|
2023-02-13 14:50:44 +00:00
|
|
|
"wireit": {
|
|
|
|
"build": {
|
|
|
|
"dependencies": [
|
2023-02-14 15:30:41 +00:00
|
|
|
"./packages/browsers:build",
|
2023-02-13 14:50:44 +00:00
|
|
|
"./packages/ng-schematics:build",
|
|
|
|
"./packages/puppeteer-core:build",
|
|
|
|
"./packages/puppeteer:build",
|
|
|
|
"./packages/testserver:build",
|
|
|
|
"./test:build",
|
|
|
|
"./test/installation:build"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"build:docs": {
|
|
|
|
"dependencies": [
|
2023-04-06 12:23:10 +00:00
|
|
|
"./packages/browsers:build:docs",
|
2023-02-13 14:50:44 +00:00
|
|
|
"./packages/puppeteer:build:docs",
|
|
|
|
"./packages/puppeteer-core:build:docs"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"test:chrome:headful": {
|
|
|
|
"command": "npm test -- --test-suite chrome-headful",
|
|
|
|
"dependencies": [
|
|
|
|
"./test:build"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"test:chrome:headless": {
|
|
|
|
"command": "npm test -- --test-suite chrome-headless",
|
|
|
|
"dependencies": [
|
|
|
|
"./test:build"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"test:chrome:new-headless": {
|
|
|
|
"command": "npm test -- --test-suite chrome-new-headless",
|
|
|
|
"dependencies": [
|
|
|
|
"./test:build"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"test:chrome:bidi": {
|
|
|
|
"command": "npm test -- --test-suite chrome-bidi",
|
2023-05-31 11:13:34 +00:00
|
|
|
"dependencies": [
|
|
|
|
"./test:build"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"test:chrome:bidi-local": {
|
|
|
|
"command": "PUPPETEER_EXECUTABLE_PATH=$(node tools/download_chrome_bidi.mjs ~/.cache/puppeteer/chrome-canary --shell) npm test -- --test-suite chrome-bidi",
|
2023-02-13 14:50:44 +00:00
|
|
|
"dependencies": [
|
|
|
|
"./test:build"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"test:firefox:headful": {
|
|
|
|
"command": "npm test -- --test-suite firefox-headful",
|
|
|
|
"dependencies": [
|
|
|
|
"./test:build"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"test:firefox:headless": {
|
|
|
|
"command": "npm test -- --test-suite firefox-headless",
|
|
|
|
"dependencies": [
|
|
|
|
"./test:build"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"test:firefox:bidi": {
|
|
|
|
"command": "npm test -- --test-suite firefox-bidi",
|
|
|
|
"dependencies": [
|
|
|
|
"./test:build"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"test:chrome": {
|
|
|
|
"dependencies": [
|
|
|
|
"test:chrome:headful",
|
|
|
|
"test:chrome:headless",
|
|
|
|
"test:chrome:new-headless",
|
|
|
|
"test:chrome:bidi"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"test:firefox": {
|
|
|
|
"dependencies": [
|
|
|
|
"test:firefox:headful",
|
|
|
|
"test:firefox:headless",
|
|
|
|
"test:firefox:bidi"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2017-05-12 23:36:37 +00:00
|
|
|
"devDependencies": {
|
2023-01-11 11:33:53 +00:00
|
|
|
"@actions/core": "1.10.0",
|
2023-06-07 11:17:31 +00:00
|
|
|
"@microsoft/api-documenter": "7.22.10",
|
2023-05-31 09:30:22 +00:00
|
|
|
"@microsoft/api-extractor": "7.35.1",
|
|
|
|
"@microsoft/api-extractor-model": "7.27.1",
|
2022-10-05 13:24:33 +00:00
|
|
|
"@pptr/testserver": "file:packages/testserver",
|
2023-06-07 11:17:31 +00:00
|
|
|
"@rollup/plugin-commonjs": "25.0.0",
|
|
|
|
"@rollup/plugin-node-resolve": "15.1.0",
|
|
|
|
"@types/debug": "4.1.8",
|
|
|
|
"@types/diff": "5.0.3",
|
2022-08-11 05:55:02 +00:00
|
|
|
"@types/mime": "3.0.1",
|
2022-12-19 14:26:58 +00:00
|
|
|
"@types/mocha": "10.0.1",
|
2023-05-30 09:37:22 +00:00
|
|
|
"@types/node": "20.2.5",
|
2022-06-15 10:09:22 +00:00
|
|
|
"@types/pixelmatch": "5.2.4",
|
|
|
|
"@types/pngjs": "6.0.1",
|
2022-01-28 09:38:36 +00:00
|
|
|
"@types/progress": "2.0.5",
|
2023-06-07 11:17:31 +00:00
|
|
|
"@types/semver": "7.5.0",
|
|
|
|
"@types/sinon": "10.0.15",
|
2021-10-11 08:48:26 +00:00
|
|
|
"@types/tar-fs": "2.0.1",
|
2022-05-31 14:34:16 +00:00
|
|
|
"@types/unbzip2-stream": "1.4.0",
|
2023-03-06 12:43:37 +00:00
|
|
|
"@types/ws": "8.5.4",
|
2023-06-07 11:17:31 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.59.9",
|
|
|
|
"@typescript-eslint/parser": "5.59.9",
|
|
|
|
"c8": "7.14.0",
|
2022-02-09 14:49:25 +00:00
|
|
|
"commonmark": "0.30.0",
|
2021-05-14 11:02:36 +00:00
|
|
|
"cross-env": "7.0.3",
|
2022-06-15 10:09:22 +00:00
|
|
|
"diff": "5.1.0",
|
2023-06-07 11:17:31 +00:00
|
|
|
"esbuild": "0.17.19",
|
|
|
|
"eslint": "8.42.0",
|
2023-04-26 09:53:02 +00:00
|
|
|
"eslint-config-prettier": "8.8.0",
|
2022-06-15 10:05:25 +00:00
|
|
|
"eslint-formatter-codeframe": "7.32.1",
|
2023-03-06 12:43:37 +00:00
|
|
|
"eslint-plugin-import": "2.27.5",
|
2022-08-12 12:15:26 +00:00
|
|
|
"eslint-plugin-local": "1.0.0",
|
2022-08-11 05:55:02 +00:00
|
|
|
"eslint-plugin-mocha": "10.1.0",
|
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
2022-09-27 09:53:19 +00:00
|
|
|
"eslint-plugin-tsdoc": "0.2.17",
|
2022-07-01 14:00:03 +00:00
|
|
|
"eslint-plugin-unused-imports": "2.0.0",
|
2021-10-18 13:22:59 +00:00
|
|
|
"esprima": "4.0.1",
|
2023-06-07 11:17:31 +00:00
|
|
|
"expect": "29.5.0",
|
2023-06-22 08:48:01 +00:00
|
|
|
"glob": "10.3.0",
|
2023-06-02 08:37:36 +00:00
|
|
|
"gts": "4.0.1",
|
2022-06-22 13:25:44 +00:00
|
|
|
"jpeg-js": "0.4.4",
|
2023-03-23 09:22:52 +00:00
|
|
|
"license-checker": "25.0.1",
|
2022-02-09 14:49:25 +00:00
|
|
|
"mime": "3.0.0",
|
2023-03-06 12:43:37 +00:00
|
|
|
"minimist": "1.2.8",
|
2022-12-19 14:26:58 +00:00
|
|
|
"mocha": "10.2.0",
|
2021-05-14 11:02:36 +00:00
|
|
|
"ncp": "2.0.0",
|
2022-07-01 13:03:12 +00:00
|
|
|
"npm-run-all": "4.1.5",
|
2022-04-28 05:53:20 +00:00
|
|
|
"pixelmatch": "5.3.0",
|
2023-03-06 12:43:37 +00:00
|
|
|
"pngjs": "7.0.0",
|
2023-04-26 09:53:02 +00:00
|
|
|
"prettier": "2.8.8",
|
2022-10-05 13:24:33 +00:00
|
|
|
"puppeteer": "file:packages/puppeteer",
|
2023-06-07 11:17:31 +00:00
|
|
|
"rimraf": "5.0.1",
|
|
|
|
"rollup": "3.24.0",
|
|
|
|
"semver": "7.5.1",
|
|
|
|
"sinon": "15.1.0",
|
2022-02-09 14:49:25 +00:00
|
|
|
"source-map-support": "0.5.21",
|
2023-03-23 09:22:52 +00:00
|
|
|
"spdx-satisfies": "5.0.1",
|
2021-05-14 11:02:36 +00:00
|
|
|
"text-diff": "1.0.1",
|
2023-06-07 11:17:31 +00:00
|
|
|
"tsd": "0.28.1",
|
|
|
|
"tsx": "3.12.7",
|
|
|
|
"typescript": "5.1.3",
|
2023-03-06 12:43:37 +00:00
|
|
|
"wireit": "0.9.5",
|
|
|
|
"zod": "3.21.2"
|
2022-09-29 08:08:55 +00:00
|
|
|
},
|
|
|
|
"workspaces": [
|
2022-10-13 16:55:11 +00:00
|
|
|
"packages/*",
|
2022-10-14 11:37:07 +00:00
|
|
|
"test",
|
|
|
|
"test/installation"
|
2022-09-29 08:08:55 +00:00
|
|
|
]
|
2017-05-11 07:06:41 +00:00
|
|
|
}
|