puppeteer/package.json

189 lines
5.6 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",
2024-01-05 05:39:16 +00:00
"build:tools": "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:*",
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",
"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 .",
"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:shell": "wireit",
"test:firefox": "wireit",
"test:firefox:bidi": "wireit",
"test:firefox:bidi:headful": "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",
2024-02-07 09:03:37 +00:00
"./test/installation:build",
"build:tools"
]
},
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",
"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:shell"
]
},
"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:shell": {
"command": "npm test -- --test-suite chrome-headless-shell"
},
"test:firefox:bidi": {
"command": "npm test -- --test-suite firefox-bidi"
},
"test:firefox:bidi:headful": {
"command": "npm test -- --test-suite firefox-bidi-headful"
},
"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:bidi:headful",
"test:firefox:headful",
"test:firefox:headless"
]
2023-07-18 16:43:22 +00:00
},
"test": {
"command": "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",
"@types/mocha": "10.0.6",
2023-10-11 10:03:40 +00:00
"@types/node": "20.8.4",
"@types/semver": "7.5.7",
"@types/sinon": "17.0.3",
"@typescript-eslint/eslint-plugin": "7.0.2",
"@typescript-eslint/parser": "7.0.2",
"esbuild": "0.20.1",
"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",
"eslint-plugin-mocha": "10.3.0",
"eslint-plugin-prettier": "5.1.3",
"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.1.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",
"hereby": "1.8.9",
2023-03-23 09:22:52 +00:00
"license-checker": "25.0.1",
"mocha": "10.3.0",
2022-07-01 13:03:12 +00:00
"npm-run-all": "4.1.5",
"prettier": "3.2.5",
"semver": "7.6.0",
"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.5",
"tsx": "4.7.1",
"typescript": "5.3.3",
"wireit": "0.14.4"
},
"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
}