File size: 3,748 Bytes
fb38ec5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
  "name": "@steel-browser/api",
  "version": "0.5.0",
  "description": "",
  "main": "index.js",
  "type": "module",
  "private": true,
  "exports": {
    "./plugin": {
      "import": {
        "types": "./build/steel-browser-plugin.d.ts",
        "default": "./build/steel-browser-plugin.js"
      }
    },
    "./cdp-plugin": {
      "import": {
        "types": "./build/services/cdp/plugins/core/base-plugin.d.ts",
        "default": "./build/services/cdp/plugins/core/base-plugin.js"
      }
    },
    "./logger": {
      "import": {
        "types": "./build/plugins/logging/browser-logger.d.ts",
        "default": "./build/plugins/logging/browser-logger.js"
      }
    },
    "./storage": {
      "import": {
        "types": "./build/services/cdp/instrumentation/storage/log-storage.interface.d.ts",
        "default": "./build/services/cdp/instrumentation/storage/log-storage.interface.js"
      }
    }
  },
  "scripts": {
    "start": "node ./build/index.js",
    "build": "tsc && npm run copy:templates && npm run copy:fingerprint",
    "lint": "eslint . --ext ts --report-unused-disable-directives --max-warnings 10",
    "copy:templates": "mkdir -p build/templates && cp -r src/templates/* build/templates/",
    "copy:fingerprint": "cp src/scripts/fingerprint.js build/scripts/fingerprint.js",
    "prepare:recorder": "cd extensions/recorder && npm install && npm run build",
    "dev": "npm run prepare:recorder && tsx watch src/index.ts",
    "test": "echo \"Error: no test specified\" && exit 1",
    "pretty": "prettier --write \"src/**/*.ts\"",
    "generate:openapi": "tsx ./openapi/generate.ts"
  },
  "author": "Nasr Mohamed",
  "devDependencies": {
    "@opentelemetry/api": "1.9.0",
    "@types/archiver": "^6.0.3",
    "@types/iconv-lite": "^0.0.1",
    "@types/json-stringify-safe": "^5.0.3",
    "@types/lodash-es": "^4.17.12",
    "@types/markdownlint": "^0.13.0",
    "@types/mime-types": "^2.1.4",
    "@types/node": "^22.14.1",
    "@types/turndown": "^5.0.5",
    "@types/ws": "^8.5.14",
    "fastify": "^5.2.1",
    "prettier": "3.0.3",
    "ts-node": "^10.9.2",
    "tsx": "^4.19.3",
    "typescript": "^5.7.3",
    "vite": "^6.3.5",
    "vitest": "^3.2.4"
  },
  "dependencies": {
    "@adobe/css-tools": "^4.4.3",
    "@fastify/cors": "^10.0.2",
    "@fastify/multipart": "^9.0.3",
    "@fastify/reply-from": "^12.0.2",
    "@fastify/sensible": "^6.0.3",
    "@fastify/static": "^8.1.1",
    "@fastify/swagger": "^9.4.2",
    "@fastify/view": "10.0.2",
    "@joplin/turndown": "^4.0.80",
    "@scalar/fastify-api-reference": "^1.25.116",
    "archiver": "^7.0.1",
    "axios": "^1.12.0",
    "cheerio": "^1.1.2",
    "chokidar": "^4.0.3",
    "defuddle": "^0.6.4",
    "dotenv": "^16.4.7",
    "duckdb-async": "^1.1.3",
    "ejs": "^3.1.10",
    "fastify-plugin": "^5.0.1",
    "file-type": "^20.4.1",
    "fingerprint-generator": "2.1.72",
    "fingerprint-injector": "2.1.72",
    "http-proxy": "^1.18.1",
    "https-proxy-agent": "^7.0.6",
    "iconv-lite": "^0.6.3",
    "jsdom": "^24.1.3",
    "json-stringify-safe": "^5.0.1",
    "level": "^9.0.0",
    "lodash-es": "^4.17.21",
    "markdownlint": "^0.38.0",
    "mime-types": "^2.1.35",
    "pdf2html": "^4.4.0",
    "pino": "^9.6.0",
    "pino-pretty": "^13.0.0",
    "proxy-chain": "^2.5.6",
    "puppeteer-core": "23.6.0",
    "socks-proxy-agent": "^8.0.5",
    "uuid": "^11.0.5",
    "zod": "^3.24.2",
    "zod-to-json-schema": "^3.24.1"
  },
  "overrides": {
    "cross-spawn": "^7.0.6",
    "tar-fs": ">=3.1.1"
  },
  "peerDependencies": {
    "@opentelemetry/api": "1.9.0",
    "fastify": "^5.0.0"
  },
  "peerDependenciesMeta": {
    "fastify": {
      "optional": false
    },
    "@opentelemetry/api": {
      "optional": true
    }
  }
}