package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "puppeteer-core",
  3. "version": "2.1.1",
  4. "description": "A high-level API to control headless Chrome over the DevTools Protocol",
  5. "main": "index.js",
  6. "repository": "github:puppeteer/puppeteer",
  7. "engines": {
  8. "node": ">=8.16.0"
  9. },
  10. "puppeteer": {
  11. "chromium_revision": "722234"
  12. },
  13. "scripts": {
  14. "unit": "node test/test.js",
  15. "fjunit": "PUPPETEER_PRODUCT=juggler node test/test.js",
  16. "funit": "PUPPETEER_PRODUCT=firefox node test/test.js",
  17. "debug-unit": "node --inspect-brk test/test.js",
  18. "test-doclint": "node utils/doclint/check_public_api/test/test.js && node utils/doclint/preprocessor/test.js",
  19. "test": "npm run lint --silent && npm run coverage && npm run test-doclint && npm run test-types && node utils/testrunner/test/test.js",
  20. "lint": "([ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .) && npm run tsc && npm run doc",
  21. "doc": "node utils/doclint/cli.js",
  22. "coverage": "cross-env COVERAGE=true npm run unit",
  23. "tsc": "tsc -p .",
  24. "apply-next-version": "node utils/apply_next_version.js",
  25. "bundle": "npx browserify -r ./index.js:puppeteer -o utils/browser/puppeteer-web.js",
  26. "test-types": "node utils/doclint/generate_types && npx -p typescript@2.1 tsc -p utils/doclint/generate_types/test/",
  27. "unit-bundle": "node utils/browser/test.js"
  28. },
  29. "author": "The Chromium Authors",
  30. "license": "Apache-2.0",
  31. "dependencies": {
  32. "@types/mime-types": "^2.1.0",
  33. "debug": "^4.1.0",
  34. "extract-zip": "^1.6.6",
  35. "https-proxy-agent": "^4.0.0",
  36. "mime": "^2.0.3",
  37. "mime-types": "^2.1.25",
  38. "progress": "^2.0.1",
  39. "proxy-from-env": "^1.0.0",
  40. "rimraf": "^2.6.1",
  41. "ws": "^6.1.0"
  42. },
  43. "devDependencies": {
  44. "@types/debug": "0.0.31",
  45. "@types/extract-zip": "^1.6.2",
  46. "@types/mime": "^2.0.0",
  47. "@types/node": "^8.10.34",
  48. "@types/rimraf": "^2.0.2",
  49. "@types/ws": "^6.0.1",
  50. "commonmark": "^0.28.1",
  51. "cross-env": "^5.0.5",
  52. "eslint": "^5.15.1",
  53. "esprima": "^4.0.0",
  54. "jpeg-js": "^0.3.4",
  55. "minimist": "^1.2.0",
  56. "ncp": "^2.0.0",
  57. "pixelmatch": "^4.0.2",
  58. "pngjs": "^3.3.3",
  59. "text-diff": "^1.0.1",
  60. "typescript": "3.2.2"
  61. },
  62. "browser": {
  63. "./lib/BrowserFetcher.js": false,
  64. "ws": "./utils/browser/WebSocket",
  65. "fs": false,
  66. "child_process": false,
  67. "rimraf": false,
  68. "readline": false
  69. }
  70. }