-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.51 KB
/
Copy pathpackage.json
File metadata and controls
43 lines (43 loc) · 1.51 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
36
37
38
39
40
41
42
43
{
"name": "amazon-scraper",
"version": "1.1.0",
"description": "Amazon product scraper with Node.js + Express backend and Vite frontend",
"main": "server/index.js",
"scripts": {
"dev": "node --watch server/index.js",
"start": "node server/index.js",
"build": "npm --prefix client run build",
"build:prod": "npm run build",
"deploy": "npm run build:prod && npm start",
"install-client": "npm ci --prefix client",
"install-server": "npm ci",
"install-all": "npm run install-server && npm run install-client",
"test-api": "node -e \"fetch('http://localhost:' + (process.env.PORT || 3000) + '/api/health').then(async response => { if (!response.ok) throw new Error('HTTP ' + response.status); console.log(await response.text()); }).catch(error => { console.error(error.message); process.exitCode = 1; });\"",
"test:backend": "node --test server/tests/scraper.test.js",
"clean": "node -e \"const fs = require('node:fs'); fs.rmSync('public/assets', { recursive: true, force: true }); fs.rmSync('public/index.html', { force: true });\""
},
"dependencies": {
"axios": "1.20.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "4.22.2",
"express-rate-limit": "^7.4.0",
"helmet": "^7.1.0",
"jsdom": "^24.1.0",
"morgan": "1.12.0"
},
"keywords": [
"amazon",
"scraper",
"nodejs",
"vite"
],
"author": "Natan Da Luz",
"overrides": {
"qs": "6.16.0"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
}
}