- Move debug/test scripts from src/scripts/ to experiments/ - Remove test-detail-endpoint from package.json - Delete temp-product-page.html - Move E2E_GUIDE.md to docs/ - Add experiments/README.md with documentation - Keep only production scripts in src/scripts/ - Clean up tsconfig.json exclude list (experiments are now outside src/) Co-Authored-By: Claude <noreply@anthropic.com>
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "supermarket-scraper",
|
|
"version": "1.0.0",
|
|
"description": "Скрапер товаров из магазинов Магнит и Пятёрочка",
|
|
"main": "dist/index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"type-check": "tsc --noEmit",
|
|
"dev": "tsx src/scripts/scrape-magnit-products.ts",
|
|
"enrich": "tsx src/scripts/enrich-product-details.ts",
|
|
"test-db": "tsx src/scripts/test-db-connection.ts",
|
|
"prisma:generate": "prisma generate",
|
|
"prisma:migrate": "prisma migrate dev",
|
|
"prisma:studio": "prisma studio --config=prisma.config.ts",
|
|
"prisma:format": "prisma format"
|
|
},
|
|
"keywords": [
|
|
"scraper",
|
|
"magnit",
|
|
"supermarket"
|
|
],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@prisma/adapter-pg": "^7.2.0",
|
|
"@prisma/client": "^7.2.0",
|
|
"axios": "^1.13.2",
|
|
"dotenv": "^17.2.3",
|
|
"pg": "^8.16.3",
|
|
"playwright": "^1.57.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.0.3",
|
|
"@types/pg": "^8.16.0",
|
|
"prisma": "^7.2.0",
|
|
"ts-node": "^10.9.2",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|