mirror of
https://github.com/firecrawl/firecrawl.git
synced 2026-11-28 01:21:51 +08:00
Replace internal unstable subpath exports with clean public package subpaths under firecrawl-scraper-js/*, decouple core admin, queue, worker, and scrape helpers onto service module slots, and remove unused non-core directories, dependencies, and workflow steps. Downstream-Sync: required Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
192 lines
6.3 KiB
JSON
192 lines
6.3 KiB
JSON
{
|
|
"name": "firecrawl-scraper-js",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/service/index.ts",
|
|
"default": "./dist/src/service/index.js"
|
|
},
|
|
"./config": {
|
|
"types": "./src/exports/config.ts",
|
|
"default": "./dist/src/exports/config.js"
|
|
},
|
|
"./crawl": {
|
|
"types": "./src/exports/crawl.ts",
|
|
"default": "./dist/src/exports/crawl.js"
|
|
},
|
|
"./errors": {
|
|
"types": "./src/exports/errors.ts",
|
|
"default": "./dist/src/exports/errors.js"
|
|
},
|
|
"./http": {
|
|
"types": "./src/exports/http.ts",
|
|
"default": "./dist/src/exports/http.js"
|
|
},
|
|
"./llm": {
|
|
"types": "./src/exports/llm.ts",
|
|
"default": "./dist/src/exports/llm.js"
|
|
},
|
|
"./logger": {
|
|
"types": "./src/exports/logger.ts",
|
|
"default": "./dist/src/exports/logger.js"
|
|
},
|
|
"./queue": {
|
|
"types": "./src/exports/queue.ts",
|
|
"default": "./dist/src/exports/queue.js"
|
|
},
|
|
"./redis": {
|
|
"types": "./src/exports/redis.ts",
|
|
"default": "./dist/src/exports/redis.js"
|
|
},
|
|
"./scrape": {
|
|
"types": "./src/exports/scrape.ts",
|
|
"default": "./dist/src/exports/scrape.js"
|
|
},
|
|
"./search": {
|
|
"types": "./src/exports/search.ts",
|
|
"default": "./dist/src/exports/search.js"
|
|
},
|
|
"./telemetry": {
|
|
"types": "./src/exports/telemetry.ts",
|
|
"default": "./dist/src/exports/telemetry.js"
|
|
},
|
|
"./testing": {
|
|
"types": "./src/service/testing.ts",
|
|
"default": "./dist/src/service/testing.js"
|
|
},
|
|
"./types": {
|
|
"types": "./src/exports/types.ts",
|
|
"default": "./dist/src/exports/types.js"
|
|
},
|
|
"./util": {
|
|
"types": "./src/exports/util.ts",
|
|
"default": "./dist/src/exports/util.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"start": "tsc && node dist/src/main.js harness --start-built",
|
|
"dev": "tsx src/main.ts harness --start",
|
|
"server": "tsc-watch --compiler ./node_modules/typescript-7/bin/tsc --onSuccess \"node dist/src/main.js api\"",
|
|
"server:production": "tsc && node dist/src/main.js api",
|
|
"server:production:nobuild": "node dist/src/main.js api",
|
|
"format": "prettier --write \"src/**/*.(js|ts)\"",
|
|
"flyio": "node dist/src/main.js api",
|
|
"start:dev": "tsc-watch --compiler ./node_modules/typescript-7/bin/tsc --onSuccess \"node dist/src/main.js api\"",
|
|
"build": "tsc",
|
|
"test": "vitest run",
|
|
"test:prod": "vitest run --exclude='**/scraper/scrapeURL/**'",
|
|
"test:snips": "vitest run src/__tests__/snips/v2",
|
|
"test:core": "vitest run --config vitest.core.config.ts",
|
|
"harness": "tsx src/main.ts harness",
|
|
"workers": "tsc-watch --compiler ./node_modules/typescript-7/bin/tsc --onSuccess \"node dist/src/main.js queue-worker\"",
|
|
"worker:production": "node dist/src/main.js queue-worker",
|
|
"nuq-worker": "tsc-watch --compiler ./node_modules/typescript-7/bin/tsc --onSuccess \"node dist/src/main.js nuq-worker\"",
|
|
"nuq-worker:production": "node dist/src/main.js nuq-worker",
|
|
"nuq-fdb-worker": "tsc-watch --compiler ./node_modules/typescript-7/bin/tsc --onSuccess \"node dist/src/main.js nuq-fdb-worker\"",
|
|
"nuq-fdb-worker:production": "node dist/src/main.js nuq-fdb-worker",
|
|
"nuq-prefetch-worker": "tsc-watch --compiler ./node_modules/typescript-7/bin/tsc --onSuccess \"node dist/src/main.js nuq-prefetch-worker\"",
|
|
"nuq-prefetch-worker:production": "node dist/src/main.js nuq-prefetch-worker",
|
|
"nuq-reconciler-worker": "tsc-watch --compiler ./node_modules/typescript-7/bin/tsc --onSuccess \"node dist/src/main.js nuq-reconciler-worker\"",
|
|
"nuq-reconciler-worker:production": "node dist/src/main.js nuq-reconciler-worker",
|
|
"prepare": "cd ../.. && husky ./apps/api/.husky",
|
|
"knip": "knip"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@types/amqplib": "^0.10.7",
|
|
"@types/body-parser": "^1.19.2",
|
|
"@types/cors": "^2.8.13",
|
|
"@types/escape-html": "^1.0.4",
|
|
"@types/express": "^5.0.6",
|
|
"@types/express-ws": "^3.0.6",
|
|
"@types/he": "^1.2.3",
|
|
"@types/multer": "^2.1.0",
|
|
"@types/node": "^22.19.1",
|
|
"@types/pdf-parse": "^1.1.4",
|
|
"@types/pg": "^8.15.5",
|
|
"@types/supertest": "^6.0.2",
|
|
"@types/tough-cookie": "^4.0.5",
|
|
"husky": "^9.1.7",
|
|
"knip": "^6.40.0",
|
|
"lint-staged": "^16.4.0",
|
|
"supertest": "^6.3.3",
|
|
"tsc-watch": "^7.1.1",
|
|
"tsx": "^4.20.3",
|
|
"undici-types": "^7.16.0",
|
|
"vitest": "^4.1.12"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai": "4.0.118",
|
|
"@ai-sdk/otel": "^1.0.173",
|
|
"@ai-sdk/xai": "^5.0.46",
|
|
"@bull-board/api": "^6.21.3",
|
|
"@bull-board/express": "^6.21.3",
|
|
"@dqbd/tiktoken": "^1.0.22",
|
|
"@mendable/firecrawl-rs": "workspace:*",
|
|
"@opentelemetry/api": "^1.9.1",
|
|
"@opentelemetry/exporter-trace-otlp-proto": "^0.222.0",
|
|
"@opentelemetry/resources": "^2.11.0",
|
|
"@opentelemetry/sdk-trace-node": "^2.11.0",
|
|
"@opentelemetry/semantic-conventions": "^1.43.0",
|
|
"@types/ws": "^8.5.12",
|
|
"ai": "7.0.173",
|
|
"ajv": "^8.18.0",
|
|
"amqplib": "^0.10.9",
|
|
"async-mutex": "^0.5.0",
|
|
"axios": "^1.20.0",
|
|
"body-parser": "^1.20.9",
|
|
"bullmq": "^5.56.7",
|
|
"cacheable-lookup": "^6.1.0",
|
|
"cheerio": "^1.0.0-rc.12",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.3.1",
|
|
"escape-html": "^1.0.3",
|
|
"express": "5.2.1",
|
|
"express-ws": "^5.0.2",
|
|
"foundationdb": "^2.0.1",
|
|
"geoip-country": "^5.0.202608010109",
|
|
"he": "^1.2.0",
|
|
"http-cookie-agent": "^7.0.1",
|
|
"ioredis": "^5.6.1",
|
|
"ipaddr.js": "^2.2.0",
|
|
"joplin-turndown-plugin-gfm": "^1.0.12",
|
|
"jsdom": "^29.1.1",
|
|
"koffi": "^2.9.0",
|
|
"marked": "^14.1.2",
|
|
"multer": "^2.5.0",
|
|
"ollama-ai-provider-v2": "^4.1.0",
|
|
"pdf-parse": "^1.1.1",
|
|
"pg": "^8.16.3",
|
|
"prettier": "^3.6.2",
|
|
"prom-client": "^15.1.3",
|
|
"redlock": "5.0.0-beta.2",
|
|
"response-time": "^2.3.4",
|
|
"robots-parser": "^3.0.1",
|
|
"tldts": "^7.4.10",
|
|
"tough-cookie": "^4.1.4",
|
|
"turndown": "^7.1.3",
|
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
"typescript-7": "npm:typescript@7.0.2",
|
|
"undici": "7.30.1",
|
|
"uuid": "^13.0.1",
|
|
"winston": "^3.14.2",
|
|
"ws": "^8.21.0",
|
|
"xml2js": "^0.6.2",
|
|
"zod": "4.6.7"
|
|
},
|
|
"nodemonConfig": {
|
|
"ignore": [
|
|
"*.docx",
|
|
"*.json",
|
|
"temp"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx,json,css,md}": "prettier --write"
|
|
},
|
|
"packageManager": "pnpm@11.4.0"
|
|
}
|