-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.26 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 1.26 KB
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
{
"name": "playwright-scraper-ddd",
"version": "1.0.0",
"description": "High-throughput web scraping service using Patchright with DDD architecture",
"type": "module",
"main": "src/index.js",
"scripts": {
"start": "node src/index.js",
"dev": "node --watch src/index.js",
"test": "node --test",
"test:caching": "node test/test_caching.js",
"lint": "eslint src/**/*.js",
"profile": "node test/profile_bottlenecks.js",
"profile:cpu": "node --cpu-prof test/profile_bottlenecks.js && node tools/analyze_profile.js",
"profile:deep": "node --cpu-prof test/profile_bottlenecks.js && node tools/deep_profile_analysis.js",
"scrape:single": "node examples/single_browser_scraper.js",
"scrape:safe": "node --expose-gc --max-old-space-size=512 examples/single_browser_scraper.js",
"profile:macos": "./tools/profile_macos.sh",
"profile:instruments": "./tools/profile_macos.sh --instruments",
"profile:all": "./tools/profile_macos.sh --all"
},
"dependencies": {
"better-sqlite3": "^12.5.0",
"patchright": "^1.40.0",
"playwright": "^1.57.0",
"playwright-extra": "^4.3.6",
"puppeteer-extra-plugin-stealth": "^2.11.2"
},
"devDependencies": {
"eslint": "^10.0.2"
},
"engines": {
"node": ">=18.0.0"
}
}