switched to yarn, and started adding tests

Added tests for process job service so far... its a start..
This commit is contained in:
iPromKnight
2024-02-08 12:46:36 +00:00
committed by iPromKnight
parent ed6b08dbc4
commit 4bc4b7958f
7 changed files with 1892 additions and 173 deletions

View File

@@ -8,7 +8,9 @@
"dev": "tsx watch --ignore node_modules src/main.ts | pino-pretty",
"start": "node dist/main.cjs",
"lint": "yarn eslint ./src --ext .ts,.js",
"lint-fix": "yarn run lint --fix"
"lint-fix": "yarn run lint --fix",
"test": "jest",
"test:watch": "jest --watch"
},
"license": "MIT",
"dependencies": {
@@ -33,6 +35,7 @@
},
"devDependencies": {
"@types/amqplib": "^0.10.4",
"@types/jest": "^29.5.12",
"@types/magnet-uri": "^5.1.5",
"@types/node": "^20.11.16",
"@types/torrent-stream": "^0.0.9",
@@ -43,11 +46,13 @@
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-import-helpers": "^1.3.1",
"jest": "^29.7.0",
"node-gyp": "^10.0.1",
"pino-pretty": "^10.3.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"ts-jest": "^29.1.2"
}
}