summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'remote/test/puppeteer/package.json')
-rw-r--r--remote/test/puppeteer/package.json187
1 files changed, 187 insertions, 0 deletions
diff --git a/remote/test/puppeteer/package.json b/remote/test/puppeteer/package.json
new file mode 100644
index 0000000000..612f5ac369
--- /dev/null
+++ b/remote/test/puppeteer/package.json
@@ -0,0 +1,187 @@
+{
+ "name": "puppeteer-repo",
+ "private": true,
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/puppeteer/puppeteer"
+ },
+ "scripts": {
+ "build": "wireit",
+ "build:tools": "wireit",
+ "check": "npm run check --workspaces --if-present && run-p check:*",
+ "check:pinned-deps": "tsx tools/ensure-pinned-deps",
+ "clean": "npm run clean --workspaces --if-present",
+ "debug": "mocha --inspect-brk",
+ "docs": "wireit",
+ "doctest": "wireit",
+ "format": "run-s format:*",
+ "format:eslint": "eslint --ext js --ext mjs --ext ts --fix .",
+ "format:expectations": "node tools/sort-test-expectations.mjs",
+ "format:prettier": "prettier --write .",
+ "lint": "run-s lint:*",
+ "lint:eslint": "eslint --ext js --ext mjs --ext ts .",
+ "lint:prettier": "prettier --check .",
+ "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:bidi:headful": "wireit",
+ "test:firefox:headful": "wireit",
+ "test:firefox:headless": "wireit",
+ "validate-licenses": "tsx tools/third_party/validate-licenses.ts",
+ "unit": "npm run unit --workspaces --if-present"
+ },
+ "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:tools": {
+ "dependencies": [
+ "./tools/docgen:build",
+ "./tools/doctest:build",
+ "./tools/mocha-runner:build",
+ "./tools/eslint:build",
+ "./packages/testserver:build"
+ ]
+ },
+ "docs": {
+ "command": "hereby docs",
+ "dependencies": [
+ "./packages/browsers:build:docs",
+ "./packages/puppeteer:build:docs",
+ "./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": {
+ "command": "npm test -- --test-suite chrome-headful"
+ },
+ "test:chrome:headless": {
+ "command": "npm test -- --test-suite chrome-headless"
+ },
+ "test:chrome:new-headless": {
+ "command": "npm test -- --test-suite chrome-new-headless"
+ },
+ "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": {
+ "command": "npm test -- --test-suite firefox-headful"
+ },
+ "test:firefox:headless": {
+ "command": "npm test -- --test-suite firefox-headless"
+ },
+ "test:firefox": {
+ "dependencies": [
+ "test:firefox:bidi",
+ "test:firefox:bidi:headful",
+ "test:firefox:headful",
+ "test:firefox:headless"
+ ]
+ },
+ "test": {
+ "command": "npx ./tools/mocha-runner --min-tests 1003",
+ "dependencies": [
+ "./test:build",
+ "./tools/mocha-runner:build"
+ ]
+ },
+ "test-types": {
+ "command": "tsd -t packages/puppeteer",
+ "dependencies": [
+ "./packages/puppeteer:build"
+ ]
+ }
+ },
+ "devDependencies": {
+ "@actions/core": "1.10.1",
+ "@types/mocha": "10.0.6",
+ "@types/node": "20.8.4",
+ "@types/semver": "7.5.6",
+ "@types/sinon": "17.0.3",
+ "@typescript-eslint/eslint-plugin": "6.19.1",
+ "@typescript-eslint/parser": "6.19.1",
+ "esbuild": "0.20.0",
+ "eslint-config-prettier": "9.1.0",
+ "eslint-import-resolver-typescript": "3.6.1",
+ "eslint-plugin-import": "2.29.1",
+ "eslint-plugin-mocha": "10.2.0",
+ "eslint-plugin-prettier": "5.1.3",
+ "eslint-plugin-rulesdir": "0.2.2",
+ "eslint-plugin-tsdoc": "0.2.17",
+ "eslint-plugin-unused-imports": "3.0.0",
+ "eslint": "8.56.0",
+ "execa": "8.0.1",
+ "expect": "29.7.0",
+ "gts": "5.2.0",
+ "hereby": "1.8.9",
+ "license-checker": "25.0.1",
+ "mocha": "10.2.0",
+ "npm-run-all": "4.1.5",
+ "prettier": "3.2.4",
+ "semver": "7.5.4",
+ "sinon": "17.0.1",
+ "source-map-support": "0.5.21",
+ "spdx-satisfies": "5.0.1",
+ "tsd": "0.30.4",
+ "tsx": "4.7.0",
+ "typescript": "5.3.3",
+ "wireit": "0.14.4"
+ },
+ "overrides": {
+ "@microsoft/api-extractor": {
+ "typescript": "$typescript"
+ }
+ },
+ "workspaces": [
+ "packages/*",
+ "test",
+ "test/installation",
+ "tools/eslint",
+ "tools/doctest",
+ "tools/docgen",
+ "tools/mocha-runner"
+ ]
+}