Files
asin-check/package.json
Victor Noguera 5226eee760 feat: add ASIN offer search functionality
- Introduced a new script `asin-offer-search.ts` for searching product offers by ASIN.
- Updated `package.json` to include a new command for the ASIN offer search.
- Enhanced configuration in `config.ts` to support SearXNG URL and timeout settings.
- Added comprehensive tests for the new search functionality in `searxng.test.ts`.
- Implemented the core search logic in `searxng.ts`, supporting multiple providers and price detection.
2026-05-20 18:34:08 -04:00

34 lines
995 B
JSON

{
"name": "asin-check",
"module": "src/index.ts",
"type": "module",
"private": true,
"scripts": {
"bestsellers": "bun run src/bestsellers-by-category.ts",
"monthly-sold": "bun run src/top-monthly-sold-by-category.ts",
"mid-range": "bun run src/mid-range-sellers-by-category.ts",
"stalker": "bun run src/stalker.ts",
"search-offers": "bun run src/asin-offer-search.ts",
"upc": "bun run src/upc-lookup.ts",
"upc-file": "bun run src/upc-file-analysis.ts",
"start": "bun run src/index.ts",
"start:web": "bun --hot src/server.ts",
"build:web": "bun build src/web/index.html --outdir dist",
"test": "bun test"
},
"devDependencies": {
"@types/bun": "latest",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"typescript": "^6.0.3"
},
"dependencies": {
"amazon-sp-api": "^1.2.1",
"exceljs": "^4.4.0",
"ioredis": "^5.10.1",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"xlsx": "^0.18.5"
}
}