- Replaced nodemon with tsx for development script in package.json - Updated devDependencies to include tsx and removed nodemon - Reformatted code in worker.ts for better readability - Improved handling of API calls and logging in worker.ts
23 lines
490 B
JSON
23 lines
490 B
JSON
{
|
|
"name": "worker-for-website-generator",
|
|
"version": "1.0.0",
|
|
"main": "index.ts",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node --import=dotenv/config dist/worker.js",
|
|
"dev": "tsx watch --env-file=.env worker.ts"
|
|
},
|
|
"dependencies": {
|
|
"bullmq": "^5.66.4",
|
|
"dotenv": "^16.4.5",
|
|
"ioredis": "^5.4.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.12.7",
|
|
"ts-node": "^10.9.2",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.4.5"
|
|
}
|
|
}
|