puppeteer/package.json

201 lines
6.2 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",
"build:docs": "wireit",
"check:pinned-deps": "tsx tools/ensure-pinned-deps",
"check": "npm run check --workspaces --if-present && run-p check:*",
2023-08-31 14:58:31 +00:00
"clean": "npm run clean --workspaces --if-present",
"debug": "mocha --inspect-brk",
"docs": "run-s build:docs generate:markdown",
"format:eslint": "eslint --ext js --ext ts --fix .",
"format:prettier": "prettier --write .",
"format:expectations": "node tools/sort-test-expectations.js",
"format": "run-s format:*",
"generate:markdown": "tsx tools/generate_docs.ts",
"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",
"prepare": "npm run prepare --workspaces --if-present",
"doctest": "wireit",
"test-install": "npm run test --workspace @puppeteer-test/installation",
"test-types": "tsd -t packages/puppeteer",
"test:chrome:headful": "wireit",
"test:chrome:new-headless": "wireit",
"test:chrome:new-headless-tab": "wireit",
"test:chrome:headless": "wireit",
"test:chrome:bidi": "wireit",
"test:chrome:bidi-local": "wireit",
"test:chrome": "wireit",
"test:firefox:bidi": "wireit",
"test:firefox:headful": "wireit",
"test:firefox:headless": "wireit",
"test:firefox": "wireit",
2023-07-18 16:43:22 +00:00
"test": "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"
]
},
"build:docs": {
"dependencies": [
"./packages/browsers:build:docs",
"./packages/puppeteer:build:docs",
"./packages/puppeteer-core:build:docs"
]
},
"doctest": {
"command": "npx ./tools/doctest 'packages/puppeteer-core/lib/esm/**/*.js'",
"dependencies": [
"./packages/puppeteer-core:build",
"./tools/doctest:build"
]
},
"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:chrome:new-headless-tab": {
"command": "npm test -- --test-suite chrome-new-headless-tab"
},
"test:chrome:bidi": {
2023-07-18 16:43:22 +00:00
"command": "npm test -- --test-suite chrome-bidi"
},
"test:chrome:bidi-local": {
2023-07-18 16:43:22 +00:00
"command": "PUPPETEER_EXECUTABLE_PATH=$(node tools/download_chrome_bidi.mjs ~/.cache/puppeteer/chrome-canary --shell) npm test -- --test-suite chrome-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:bidi": {
2023-07-18 16:43:22 +00:00
"command": "npm test -- --test-suite firefox-bidi"
},
"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"
]
2023-07-18 16:43:22 +00:00
},
"test": {
"command": "cross-env PUPPETEER_DEFERRED_PROMISE_DEBUG_TIMEOUT=20000 node tools/mochaRunner/lib/main.js --min-tests 1003",
"dependencies": [
"./test:build"
]
}
},
"devDependencies": {
"@actions/core": "1.10.1",
"@microsoft/api-documenter": "7.23.1",
"@microsoft/api-extractor": "7.37.0",
"@microsoft/api-extractor-model": "7.28.0",
"@pptr/testserver": "file:packages/testserver",
2023-08-21 18:13:03 +00:00
"@prettier/sync": "0.3.0",
"@rollup/plugin-commonjs": "25.0.4",
2023-08-24 12:42:51 +00:00
"@rollup/plugin-node-resolve": "15.2.1",
"@rollup/plugin-terser": "0.4.3",
2023-06-07 11:17:31 +00:00
"@types/debug": "4.1.8",
"@types/diff": "5.0.4",
"@types/mime": "3.0.1",
"@types/mocha": "10.0.1",
"@types/node": "20.6.3",
"@types/pixelmatch": "5.2.4",
"@types/pngjs": "6.0.1",
"@types/progress": "2.0.5",
"@types/semver": "7.5.2",
2023-08-21 18:13:03 +00:00
"@types/sinon": "10.0.16",
"@types/tar-fs": "2.0.2",
2023-09-03 11:16:51 +00:00
"@types/unbzip2-stream": "1.4.1",
"@types/ws": "8.5.5",
"@types/yargs": "17.0.24",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
2023-08-21 18:13:03 +00:00
"c8": "8.0.1",
"commonmark": "0.30.0",
"cross-env": "7.0.3",
"diff": "5.1.0",
"esbuild": "0.19.3",
"eslint": "8.49.0",
2023-08-21 18:13:03 +00:00
"eslint-config-prettier": "9.0.0",
"eslint-formatter-codeframe": "7.32.1",
"eslint-import-resolver-typescript": "3.6.0",
2023-08-21 18:13:03 +00:00
"eslint-plugin-import": "2.28.1",
"eslint-plugin-mocha": "10.1.0",
"eslint-plugin-prettier": "5.0.0",
"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",
"esprima": "4.0.1",
"expect": "29.7.0",
"glob": "10.3.4",
2023-08-24 12:42:51 +00:00
"gts": "5.0.1",
"jpeg-js": "0.4.4",
2023-03-23 09:22:52 +00:00
"license-checker": "25.0.1",
"mime": "3.0.0",
2023-03-06 12:43:37 +00:00
"minimist": "1.2.8",
"mocha": "10.2.0",
"ncp": "2.0.0",
2022-07-01 13:03:12 +00:00
"npm-run-all": "4.1.5",
"pixelmatch": "5.3.0",
2023-03-06 12:43:37 +00:00
"pngjs": "7.0.0",
2023-08-29 13:01:05 +00:00
"prettier": "3.0.3",
"puppeteer": "file:packages/puppeteer",
"rollup": "3.29.2",
"rollup-plugin-polyfill-node": "0.12.0",
"semver": "7.5.4",
"sinon": "16.0.0",
"source-map-support": "0.5.21",
2023-03-23 09:22:52 +00:00
"spdx-satisfies": "5.0.1",
"text-diff": "1.0.1",
2023-09-03 11:16:51 +00:00
"tsd": "0.29.0",
"tsx": "3.12.10",
2023-08-28 11:01:52 +00:00
"typescript": "5.2.2",
"wireit": "0.14.0",
2023-08-21 18:13:03 +00:00
"zod": "3.22.2"
},
"overrides": {
"@microsoft/api-extractor": {
"typescript": "$typescript"
}
},
"workspaces": [
"packages/*",
"test",
"test/installation",
"tools/eslint",
"tools/doctest"
]
2017-05-11 07:06:41 +00:00
}