diff --git a/package.json b/package.json index 227e867..72ecaf1 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,13 @@ { "name": "jandapress", - "version": "1.0.4", + "version": "1.0.5", "description": "Experimental doujin API with gather in mind", "main": "build/src/index.js", "scripts": { "build": "rm -rf build && tsc", "start": "node build/src/index.js", "test": "ts-node test/test.ts", + "test:cf": "ts-node test/nhentaiCookietest.ts", "start:prod": "npm run build && node build/src/index.js", "start:dev": "nodemon src/index.ts", "lint": "npx eslint . --ext .ts", @@ -21,23 +22,28 @@ "express": "^4.18.1", "express-rate-limit": "^6.4.0", "express-slow-down": "^1.4.0", + "http-cookie-agent": "^4.0.1", "phin": "^3.6.1", "pino": "^7.11.0", - "pino-pretty": "^8.0.0" + "pino-pretty": "^8.0.0", + "tough-cookie": "^4.0.0" }, "devDependencies": { "@types/express-rate-limit": "^6.0.0", "@types/express-slow-down": "^1.3.2", "@types/node": "^14.14.37", + "@types/tough-cookie": "^4.0.2", "@typescript-eslint/eslint-plugin": "^5.18.0", "@typescript-eslint/parser": "^5.18.0", + "dotenv": "^16.0.1", "eslint": "^7.32.0", + "nhentai-api": "^3.4.3", "nodemon": "^2.0.15", "npx": "^10.2.2", "ts-node": "^10.8.1", "typescript": "4.6.3" }, "engines": { - "node": ">=14" + "node": ">=16.9.1" } }