puppeteer/package.json

127 lines
4.2 KiB
JSON

{
"name": "puppeteer-repo",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/puppeteer/puppeteer"
},
"scripts": {
"build:test": "wireit",
"build": "npm run build --workspaces --if-present",
"check:pinned-deps": "tsx scripts/ensure-pinned-deps",
"check": "npm run check --workspaces --if-present && run-p check:*",
"clean": "npm run clean --workspaces --if-present && rimraf **/.wireit",
"commitlint": "commitlint --from=HEAD~1",
"debug": "npm run build:test && mocha --inspect-brk",
"docs": "run-s build generate:markdown",
"format:eslint": "eslint --ext js --ext ts --fix .",
"format:prettier": "prettier --write .",
"format": "run-s format:*",
"generate:markdown": "tsx utils/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": "husky install",
"test:chrome:headful": "npm run test -- --test-suite chrome-headful",
"test:chrome:headless-chrome": "npm run test -- --test-suite chrome-new-headless",
"test:chrome:headless": "npm run test -- --test-suite chrome-headless",
"test:chrome": "run-s test:chrome:*",
"test:firefox:headful": "npm run test -- --test-suite firefox-headful",
"test:firefox:headless": "npm run test -- --test-suite firefox-headless",
"test:firefox": "run-s test:firefox:*",
"test:install": "test/test-install.sh",
"test:types": "tsd -t packages/puppeteer",
"test": "cross-env PUPPETEER_DEFERRED_PROMISE_DEBUG_TIMEOUT=20000 node utils/mochaRunner/lib/main.js"
},
"wireit": {
"build:test": {
"command": "tsc -b test",
"clean": "if-file-deleted",
"dependencies": [
"./packages/puppeteer:build",
"./packages/puppeteer-core:build",
"./packages/testserver:build"
],
"files": [
"test/src/**"
],
"output": [
"test/build/**",
"test/tsconfig.tsbuildinfo"
]
}
},
"devDependencies": {
"@commitlint/cli": "17.1.2",
"@commitlint/config-conventional": "17.1.0",
"@microsoft/api-documenter": "7.19.14",
"@microsoft/api-extractor": "7.31.2",
"@microsoft/api-extractor-model": "7.24.2",
"@pptr/testserver": "file:packages/testserver",
"@types/debug": "4.1.7",
"@types/diff": "5.0.2",
"@types/glob": "8.0.0",
"@types/mime": "3.0.1",
"@types/mocha": "9.1.1",
"@types/node": "18.7.21",
"@types/pixelmatch": "5.2.4",
"@types/pngjs": "6.0.1",
"@types/progress": "2.0.5",
"@types/proxy-from-env": "1.0.1",
"@types/rimraf": "3.0.2",
"@types/semver": "7.3.12",
"@types/sinon": "10.0.13",
"@types/tar-fs": "2.0.1",
"@types/unbzip2-stream": "1.4.0",
"@types/ws": "8.5.3",
"@typescript-eslint/eslint-plugin": "5.38.0",
"@typescript-eslint/parser": "5.38.0",
"c8": "7.12.0",
"commonmark": "0.30.0",
"cross-env": "7.0.3",
"diff": "5.1.0",
"esbuild": "0.15.9",
"eslint": "8.24.0",
"eslint-config-prettier": "8.5.0",
"eslint-formatter-codeframe": "7.32.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-local": "1.0.0",
"eslint-plugin-mocha": "10.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-tsdoc": "0.2.17",
"eslint-plugin-unused-imports": "2.0.0",
"esprima": "4.0.1",
"expect": "25.2.7",
"glob": "8.0.3",
"gts": "4.0.0",
"husky": "8.0.1",
"jpeg-js": "0.4.4",
"mime": "3.0.0",
"minimist": "1.2.6",
"mitt": "2.1.0",
"mocha": "10.0.0",
"ncp": "2.0.0",
"npm-run-all": "4.1.5",
"pixelmatch": "5.3.0",
"pngjs": "6.0.0",
"prettier": "2.7.1",
"puppeteer": "file:packages/puppeteer",
"rollup": "2.79.1",
"rollup-plugin-dts": "4.2.2",
"rollup-plugin-node-resolve": "5.2.0",
"semver": "7.3.7",
"sinon": "14.0.0",
"source-map-support": "0.5.21",
"text-diff": "1.0.1",
"tsd": "0.24.1",
"tsx": "3.9.0",
"typescript": "4.8.3",
"wireit": "0.7.2",
"zod": "3.19.1"
},
"workspaces": [
"packages/*"
]
}