{ "name": "puppeteer", "version": "14.3.0", "description": "A high-level API to control headless Chrome over the DevTools Protocol", "keywords": [ "puppeteer", "chrome", "headless", "automation" ], "type": "commonjs", "main": "./lib/cjs/puppeteer/puppeteer.js", "exports": { ".": { "types": "./lib/types.d.ts", "import": "./lib/esm/puppeteer/puppeteer.js", "require": "./lib/cjs/puppeteer/puppeteer.js" }, "./*": { "import": "./*", "require": "./*" } }, "types": "lib/types.d.ts", "repository": "github:puppeteer/puppeteer", "engines": { "node": ">=14.1.0" }, "scripts": { "test": "npm run build && npm run lint --silent && npm run test:unit:coverage", "test:unit": "npm run build:tsc:cjs && npm run build:tsc:cjs:compat && mocha --config mocha-config/puppeteer-unit-tests.js", "test:unit:firefox": "cross-env PUPPETEER_PRODUCT=firefox npm run test:unit", "test:unit:coverage": "c8 --check-coverage --lines 94 npm run test:unit", "test:unit:chrome-headless": "cross-env HEADLESS=chrome npm run test:unit", "test:protocol-revision": "ts-node -s scripts/ensure-correct-devtools-protocol-package", "test:pinned-deps": "ts-node -s scripts/ensure-pinned-deps", "test:install": "scripts/test-install.sh", "test:debug": "npm run build:tsc:cjs && npm run build:tsc:cjs:compat && mocha --inspect-brk --config mocha-config/puppeteer-unit-tests.js", "test:types": "ts-node -s scripts/test-ts-definition-files.ts", "prepublishOnly": "npm run build", "prepare": "node typescript-if-required.js && ([[ $HUSKY = 0 ]] || husky install)", "lint": "npm run build && npm run lint:eslint && npm run doc && npm run lint:prettier", "lint:prettier": "prettier --check .", "lint:eslint": "([ \"$CI\" = true ] && eslint --ext js --ext ts --quiet -f codeframe . || eslint --ext js --ext ts .)", "lint:eslint:fix": "eslint --ext js --ext ts --fix .", "install": "node install.js", "generate:types": "npm run clean:docs && api-extractor run --local --verbose", "generate:esm-package-json": "echo '{\"type\": \"module\"}' > lib/esm/package.json", "generate:docs": "npm run generate:types && node utils/remove-tag.js", "generate:docs:testing": "commonmark docs/api.md > docs/api.html", "format": "prettier --write .", "doc": "node utils/doclint/cli.js", "commitlint": "commitlint --from=HEAD~1", "clean:lib": "rimraf lib", "clean:docs": "rimraf docs-api-json", "build": "npm run build:tsc && npm run generate:types && npm run generate:esm-package-json", "build:tsc": "npm run clean:lib && tsc --version && (npm run build:tsc:cjs && npm run build:tsc:esm) && (npm run build:tsc:cjs:compat && npm run build:tsc:esm:compat)", "build:tsc:esm": "tsc -b src/tsconfig.esm.json", "build:tsc:esm:compat": "tsc -b compat/esm/tsconfig.json", "build:tsc:cjs": "tsc -b src/tsconfig.cjs.json", "build:tsc:cjs:compat": "tsc -b compat/cjs/tsconfig.json" }, "files": [ "lib", "install.js", "typescript-if-required.js" ], "author": "The Chromium Authors", "license": "Apache-2.0", "dependencies": { "cross-fetch": "3.1.5", "debug": "4.3.4", "devtools-protocol": "0.0.1001819", "extract-zip": "2.0.1", "https-proxy-agent": "5.0.1", "pkg-dir": "4.2.0", "progress": "2.0.3", "proxy-from-env": "1.1.0", "rimraf": "3.0.2", "tar-fs": "2.1.1", "unbzip2-stream": "1.4.3", "ws": "8.7.0" }, "devDependencies": { "@commitlint/cli": "17.0.1", "@commitlint/config-conventional": "17.0.2", "@microsoft/api-documenter": "7.17.16", "@microsoft/api-extractor": "7.24.2", "@types/debug": "4.1.7", "@types/mime": "2.0.3", "@types/mocha": "9.1.1", "@types/node": "17.0.38", "@types/progress": "2.0.5", "@types/proxy-from-env": "1.0.1", "@types/rimraf": "3.0.2", "@types/sinon": "10.0.11", "@types/tar-fs": "2.0.1", "@types/unbzip2-stream": "1.4.0", "@types/ws": "8.5.3", "@typescript-eslint/eslint-plugin": "5.27.0", "@typescript-eslint/parser": "5.27.0", "c8": "7.11.3", "commonmark": "0.30.0", "cross-env": "7.0.3", "eslint": "8.16.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-mocha": "10.0.5", "eslint-plugin-prettier": "4.0.0", "eslint-plugin-tsdoc": "0.2.16", "eslint-plugin-unicorn": "42.0.0", "esprima": "4.0.1", "expect": "25.2.7", "husky": "8.0.1", "jpeg-js": "0.4.3", "mime": "3.0.0", "minimist": "1.2.6", "mocha": "10.0.0", "ncp": "2.0.0", "pixelmatch": "5.3.0", "pngjs": "6.0.0", "prettier": "2.6.2", "sinon": "14.0.0", "source-map-support": "0.5.21", "text-diff": "1.0.1", "ts-node": "10.8.0", "typescript": "4.7.2" } }