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",
|
2024-01-05 05:39:16 +00:00
|
|
|
"build:tools": "wireit",
|
2022-10-05 12:17:03 +00:00
|
|
|
"check": "npm run check --workspaces --if-present && run-p check:*",
|
2023-10-13 14:34:13 +00:00
|
|
|
"check:pinned-deps": "tsx tools/ensure-pinned-deps",
|
2023-08-31 14:58:31 +00:00
|
|
|
"clean": "npm run clean --workspaces --if-present",
|
2022-10-13 16:55:11 +00:00
|
|
|
"debug": "mocha --inspect-brk",
|
2023-10-12 13:04:29 +00:00
|
|
|
"docs": "wireit",
|
2023-10-13 14:34:13 +00:00
|
|
|
"doctest": "wireit",
|
|
|
|
"format": "run-s format:*",
|
2024-01-08 09:02:56 +00:00
|
|
|
"format:eslint": "eslint --ext js --ext mjs --ext ts --fix .",
|
2023-11-14 12:07:24 +00:00
|
|
|
"format:expectations": "node tools/sort-test-expectations.mjs",
|
2023-10-13 14:34:13 +00:00
|
|
|
"format:prettier": "prettier --write .",
|
|
|
|
"lint": "run-s lint:*",
|
2024-01-08 09:02:56 +00:00
|
|
|
"lint:eslint": "eslint --ext js --ext mjs --ext ts .",
|
2022-10-05 12:17:03 +00:00
|
|
|
"lint:prettier": "prettier --check .",
|
2023-11-14 12:07:24 +00:00
|
|
|
"lint:expectations": "node tools/sort-test-expectations.mjs --lint",
|
2022-10-05 12:17:03 +00:00
|
|
|
"postinstall": "npm run postinstall --workspaces --if-present",
|
2023-08-29 19:41:29 +00:00
|
|
|
"prepare": "npm run prepare --workspaces --if-present",
|
2023-10-13 14:34:13 +00:00
|
|
|
"test": "wireit",
|
2022-10-14 11:37:07 +00:00
|
|
|
"test-install": "npm run test --workspace @puppeteer-test/installation",
|
2023-11-10 13:45:37 +00:00
|
|
|
"test-types": "wireit",
|
2023-10-13 14:34:13 +00:00
|
|
|
"test:chrome": "wireit",
|
2023-02-13 14:50:44 +00:00
|
|
|
"test:chrome:bidi": "wireit",
|
2023-05-31 11:13:34 +00:00
|
|
|
"test:chrome:bidi-local": "wireit",
|
2023-10-13 14:34:13 +00:00
|
|
|
"test:chrome:headful": "wireit",
|
|
|
|
"test:chrome:headless": "wireit",
|
2024-02-02 12:25:43 +00:00
|
|
|
"test:chrome:shell": "wireit",
|
2023-10-13 14:34:13 +00:00
|
|
|
"test:firefox": "wireit",
|
2023-02-13 14:50:44 +00:00
|
|
|
"test:firefox:bidi": "wireit",
|
2024-01-26 10:05:59 +00:00
|
|
|
"test:firefox:bidi:headful": "wireit",
|
2023-02-13 14:50:44 +00:00
|
|
|
"test:firefox:headful": "wireit",
|
|
|
|
"test:firefox:headless": "wireit",
|
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",
|
2024-02-07 09:03:37 +00:00
|
|
|
"./test/installation:build",
|
|
|
|
"build:tools"
|
2023-02-13 14:50:44 +00:00
|
|
|
]
|
|
|
|
},
|
2024-01-05 05:39:16 +00:00
|
|
|
"build:tools": {
|
|
|
|
"dependencies": [
|
|
|
|
"./tools/docgen:build",
|
|
|
|
"./tools/doctest:build",
|
|
|
|
"./tools/mocha-runner:build",
|
|
|
|
"./tools/eslint:build",
|
|
|
|
"./packages/testserver:build"
|
|
|
|
]
|
|
|
|
},
|
2023-10-12 13:04:29 +00:00
|
|
|
"docs": {
|
|
|
|
"command": "hereby docs",
|
2023-02-13 14:50:44 +00:00
|
|
|
"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",
|
2023-10-12 13:04:29 +00:00
|
|
|
"./packages/puppeteer-core:build:docs",
|
|
|
|
"./tools/docgen:build"
|
2023-02-13 14:50:44 +00:00
|
|
|
]
|
|
|
|
},
|
2023-09-19 15:13:30 +00:00
|
|
|
"doctest": {
|
|
|
|
"command": "npx ./tools/doctest 'packages/puppeteer-core/lib/esm/**/*.js'",
|
|
|
|
"dependencies": [
|
|
|
|
"./packages/puppeteer-core:build",
|
|
|
|
"./tools/doctest:build"
|
|
|
|
]
|
|
|
|
},
|
2023-10-13 14:34:13 +00:00
|
|
|
"test:chrome": {
|
|
|
|
"dependencies": [
|
|
|
|
"test:chrome:bidi",
|
|
|
|
"test:chrome:headful",
|
|
|
|
"test:chrome:headless",
|
2024-02-02 12:25:43 +00:00
|
|
|
"test:chrome:shell"
|
2023-10-13 14:34:13 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"test:chrome:bidi": {
|
|
|
|
"command": "npm test -- --test-suite chrome-bidi"
|
|
|
|
},
|
|
|
|
"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
|
|
|
"test:chrome:headful": {
|
2023-07-18 16:43:22 +00:00
|
|
|
"command": "npm test -- --test-suite chrome-headful"
|
2023-02-13 14:50:44 +00:00
|
|
|
},
|
|
|
|
"test:chrome:headless": {
|
2023-07-18 16:43:22 +00:00
|
|
|
"command": "npm test -- --test-suite chrome-headless"
|
2023-02-13 14:50:44 +00:00
|
|
|
},
|
2024-02-02 12:25:43 +00:00
|
|
|
"test:chrome:shell": {
|
|
|
|
"command": "npm test -- --test-suite chrome-headless-shell"
|
2023-02-13 14:50:44 +00:00
|
|
|
},
|
2023-10-13 14:34:13 +00:00
|
|
|
"test:firefox:bidi": {
|
|
|
|
"command": "npm test -- --test-suite firefox-bidi"
|
2023-02-13 14:50:44 +00:00
|
|
|
},
|
2024-01-26 10:05:59 +00:00
|
|
|
"test:firefox:bidi:headful": {
|
|
|
|
"command": "npm test -- --test-suite firefox-bidi-headful"
|
|
|
|
},
|
2023-02-13 14:50:44 +00:00
|
|
|
"test:firefox:headful": {
|
2023-07-18 16:43:22 +00:00
|
|
|
"command": "npm test -- --test-suite firefox-headful"
|
2023-02-13 14:50:44 +00:00
|
|
|
},
|
|
|
|
"test:firefox:headless": {
|
2023-07-18 16:43:22 +00:00
|
|
|
"command": "npm test -- --test-suite firefox-headless"
|
2023-02-13 14:50:44 +00:00
|
|
|
},
|
|
|
|
"test:firefox": {
|
|
|
|
"dependencies": [
|
2023-10-13 14:34:13 +00:00
|
|
|
"test:firefox:bidi",
|
2024-01-26 10:05:59 +00:00
|
|
|
"test:firefox:bidi:headful",
|
2023-02-13 14:50:44 +00:00
|
|
|
"test:firefox:headful",
|
2023-10-13 14:34:13 +00:00
|
|
|
"test:firefox:headless"
|
2023-02-13 14:50:44 +00:00
|
|
|
]
|
2023-07-18 16:43:22 +00:00
|
|
|
},
|
|
|
|
"test": {
|
2024-01-19 13:03:29 +00:00
|
|
|
"command": "npx ./tools/mocha-runner --min-tests 1003",
|
2023-07-18 16:43:22 +00:00
|
|
|
"dependencies": [
|
2023-09-22 08:58:14 +00:00
|
|
|
"./test:build",
|
|
|
|
"./tools/mocha-runner:build"
|
2023-07-18 16:43:22 +00:00
|
|
|
]
|
2023-11-10 13:45:37 +00:00
|
|
|
},
|
|
|
|
"test-types": {
|
|
|
|
"command": "tsd -t packages/puppeteer",
|
|
|
|
"dependencies": [
|
|
|
|
"./packages/puppeteer:build"
|
|
|
|
]
|
2023-02-13 14:50:44 +00:00
|
|
|
}
|
|
|
|
},
|
2017-05-12 23:36:37 +00:00
|
|
|
"devDependencies": {
|
2023-09-20 14:13:32 +00:00
|
|
|
"@actions/core": "1.10.1",
|
2023-11-27 14:43:09 +00:00
|
|
|
"@types/mocha": "10.0.6",
|
2023-10-11 10:03:40 +00:00
|
|
|
"@types/node": "20.8.4",
|
2024-02-25 13:31:51 +00:00
|
|
|
"@types/semver": "7.5.8",
|
2024-01-11 10:56:05 +00:00
|
|
|
"@types/sinon": "17.0.3",
|
2024-04-05 11:40:01 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "7.5.0",
|
|
|
|
"@typescript-eslint/parser": "7.5.0",
|
2024-03-20 15:03:14 +00:00
|
|
|
"esbuild": "0.20.2",
|
2023-12-04 08:12:16 +00:00
|
|
|
"eslint-config-prettier": "9.1.0",
|
2023-10-11 10:03:40 +00:00
|
|
|
"eslint-import-resolver-typescript": "3.6.1",
|
2023-12-15 10:36:42 +00:00
|
|
|
"eslint-plugin-import": "2.29.1",
|
2024-03-13 18:20:16 +00:00
|
|
|
"eslint-plugin-mocha": "10.4.1",
|
2024-01-10 09:33:42 +00:00
|
|
|
"eslint-plugin-prettier": "5.1.3",
|
2023-09-21 20:22:38 +00:00
|
|
|
"eslint-plugin-rulesdir": "0.2.2",
|
2022-09-27 09:53:19 +00:00
|
|
|
"eslint-plugin-tsdoc": "0.2.17",
|
2024-02-14 18:20:12 +00:00
|
|
|
"eslint-plugin-unused-imports": "3.1.0",
|
2024-02-25 13:31:51 +00:00
|
|
|
"eslint": "8.57.0",
|
2023-11-08 11:39:50 +00:00
|
|
|
"execa": "8.0.1",
|
2023-09-20 14:13:32 +00:00
|
|
|
"expect": "29.7.0",
|
2024-03-25 13:33:07 +00:00
|
|
|
"gts": "5.3.0",
|
2024-01-08 10:28:41 +00:00
|
|
|
"hereby": "1.8.9",
|
2023-03-23 09:22:52 +00:00
|
|
|
"license-checker": "25.0.1",
|
2024-04-05 08:13:26 +00:00
|
|
|
"mocha": "10.4.0",
|
2024-02-27 20:08:37 +00:00
|
|
|
"npm-run-all2": "6.1.2",
|
2024-02-14 18:20:12 +00:00
|
|
|
"prettier": "3.2.5",
|
|
|
|
"semver": "7.6.0",
|
2023-11-02 09:16:39 +00:00
|
|
|
"sinon": "17.0.1",
|
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",
|
2024-04-05 11:40:01 +00:00
|
|
|
"tsd": "0.31.0",
|
|
|
|
"tsx": "4.7.2",
|
2024-01-03 08:53:39 +00:00
|
|
|
"typescript": "5.3.3",
|
2024-01-29 10:01:25 +00:00
|
|
|
"wireit": "0.14.4"
|
2022-09-29 08:08:55 +00:00
|
|
|
},
|
2023-09-15 15:07:05 +00:00
|
|
|
"overrides": {
|
|
|
|
"@microsoft/api-extractor": {
|
|
|
|
"typescript": "$typescript"
|
|
|
|
}
|
|
|
|
},
|
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",
|
2023-08-29 19:41:29 +00:00
|
|
|
"test/installation",
|
2023-09-19 15:13:30 +00:00
|
|
|
"tools/eslint",
|
2023-09-22 08:58:14 +00:00
|
|
|
"tools/doctest",
|
2023-10-12 13:04:29 +00:00
|
|
|
"tools/docgen",
|
2023-09-22 08:58:14 +00:00
|
|
|
"tools/mocha-runner"
|
2022-09-29 08:08:55 +00:00
|
|
|
]
|
2017-05-11 07:06:41 +00:00
|
|
|
}
|