puppeteer/package.json

178 lines
5.4 KiB
JSON
Raw Normal View History

2017-05-11 07:06:41 +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": {
"build": "wireit",
"check": "npm run check --workspaces --if-present && run-p check:*",
"check:pinned-deps": "tsx tools/ensure-pinned-deps",
2023-08-31 14:58:31 +00:00
"clean": "npm run clean --workspaces --if-present",
"debug": "mocha --inspect-brk",
2023-10-12 13:04:29 +00:00
"docs": "wireit",
"doctest": "wireit",
"format": "run-s format:*",
"format:eslint": "eslint --ext js --ext ts --fix .",
2023-11-14 12:07:24 +00:00
"format:expectations": "node tools/sort-test-expectations.mjs",
"format:prettier": "prettier --write .",
"lint": "run-s lint:*",
2023-11-08 11:39:50 +00:00
"lint:eslint": "([ \"$CI\" = true ] && eslint --ext js --ext ts --quiet . || eslint --ext js --ext ts .)",
"lint:prettier": "prettier --check .",
2023-11-14 12:07:24 +00:00
"lint:expectations": "node tools/sort-test-expectations.mjs --lint",
"postinstall": "npm run postinstall --workspaces --if-present",
"prepare": "npm run prepare --workspaces --if-present",
"test": "wireit",
"test-install": "npm run test --workspace @puppeteer-test/installation",
"test-types": "wireit",
"test:chrome": "wireit",
"test:chrome:bidi": "wireit",
"test:chrome:bidi-local": "wireit",
"test:chrome:headful": "wireit",
"test:chrome:headless": "wireit",
"test:chrome:new-headless": "wireit",
"test:firefox": "wireit",
"test:firefox:bidi": "wireit",
"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
},
"wireit": {
"build": {
"dependencies": [
"./packages/browsers:build",
"./packages/ng-schematics:build",
"./packages/puppeteer-core:build",
"./packages/puppeteer:build",
"./packages/testserver:build",
"./test:build",
"./test/installation:build"
]
},
2023-10-12 13:04:29 +00:00
"docs": {
"command": "hereby docs",
"dependencies": [
"./packages/browsers:build:docs",
"./packages/puppeteer:build:docs",
2023-10-12 13:04:29 +00:00
"./packages/puppeteer-core:build:docs",
"./tools/docgen:build"
]
},
"doctest": {
"command": "npx ./tools/doctest 'packages/puppeteer-core/lib/esm/**/*.js'",
"dependencies": [
"./packages/puppeteer-core:build",
"./tools/doctest:build"
]
},
"test:chrome": {
"dependencies": [
"test:chrome:bidi",
"test:chrome:headful",
"test:chrome:headless",
"test:chrome:new-headless"
]
},
"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"
},
"test:chrome:headful": {
2023-07-18 16:43:22 +00:00
"command": "npm test -- --test-suite chrome-headful"
},
"test:chrome:headless": {
2023-07-18 16:43:22 +00:00
"command": "npm test -- --test-suite chrome-headless"
},
"test:chrome:new-headless": {
2023-07-18 16:43:22 +00:00
"command": "npm test -- --test-suite chrome-new-headless"
},
"test:firefox:bidi": {
"command": "npm test -- --test-suite firefox-bidi"
},
"test:firefox:headful": {
2023-07-18 16:43:22 +00:00
"command": "npm test -- --test-suite firefox-headful"
},
"test:firefox:headless": {
2023-07-18 16:43:22 +00:00
"command": "npm test -- --test-suite firefox-headless"
},
"test:firefox": {
"dependencies": [
"test:firefox:bidi",
"test:firefox:headful",
"test:firefox:headless"
]
2023-07-18 16:43:22 +00:00
},
"test": {
"command": "cross-env PUPPETEER_DEFERRED_PROMISE_DEBUG_TIMEOUT=20000 npx ./tools/mocha-runner --min-tests 1003",
2023-07-18 16:43:22 +00:00
"dependencies": [
"./test:build",
"./tools/mocha-runner:build"
2023-07-18 16:43:22 +00:00
]
},
"test-types": {
"command": "tsd -t packages/puppeteer",
"dependencies": [
"./packages/puppeteer:build"
]
}
},
"devDependencies": {
"@actions/core": "1.10.1",
"@microsoft/api-extractor": "7.38.5",
"@pptr/testserver": "file:packages/testserver",
2023-10-12 13:04:29 +00:00
"@puppeteer/docgen": "file:tools/docgen",
"@types/mocha": "10.0.6",
2023-10-11 10:03:40 +00:00
"@types/node": "20.8.4",
"@types/semver": "7.5.6",
"@types/sinon": "17.0.2",
"@typescript-eslint/eslint-plugin": "6.15.0",
"@typescript-eslint/parser": "6.15.0",
"cross-env": "7.0.3",
"esbuild": "0.19.10",
"eslint-config-prettier": "9.1.0",
2023-10-11 10:03:40 +00:00
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
2023-10-11 10:03:40 +00:00
"eslint-plugin-mocha": "10.2.0",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-rulesdir": "0.2.2",
2022-09-27 09:53:19 +00:00
"eslint-plugin-tsdoc": "0.2.17",
"eslint-plugin-unused-imports": "3.0.0",
"eslint": "8.56.0",
2023-11-08 11:39:50 +00:00
"execa": "8.0.1",
"expect": "29.7.0",
2023-10-11 10:03:40 +00:00
"gts": "5.2.0",
2023-11-08 11:39:50 +00:00
"hereby": "1.8.8",
2023-03-23 09:22:52 +00:00
"license-checker": "25.0.1",
"mocha": "10.2.0",
2022-07-01 13:03:12 +00:00
"npm-run-all": "4.1.5",
"prettier": "3.1.1",
"puppeteer": "file:packages/puppeteer",
"semver": "7.5.4",
"sinon": "17.0.1",
"source-map-support": "0.5.21",
2023-03-23 09:22:52 +00:00
"spdx-satisfies": "5.0.1",
"tsd": "0.30.0",
"tsx": "4.6.2",
2023-08-28 11:01:52 +00:00
"typescript": "5.2.2",
"wireit": "0.14.1"
},
"overrides": {
"@microsoft/api-extractor": {
"typescript": "$typescript"
}
},
"workspaces": [
"packages/*",
"test",
"test/installation",
"tools/eslint",
"tools/doctest",
2023-10-12 13:04:29 +00:00
"tools/docgen",
"tools/mocha-runner"
]
2017-05-11 07:06:41 +00:00
}