From e7fbaf8f517cf8d01ab4129dc003b1ecbf81689b Mon Sep 17 00:00:00 2001 From: sloppyjosh Date: Thu, 22 Feb 2024 01:15:03 -0500 Subject: [PATCH] added dependencies and added content to tsconfig --- package.json | 21 +++++++++++++++++++++ tsconfig.json | 14 ++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/package.json b/package.json index e69de29..f8f811a 100644 --- a/package.json +++ b/package.json @@ -0,0 +1,21 @@ +{ + "dependencies": { + "axios": "^1.6.7", + "axios-request-throttle": "^1.0.0", + "axios-retry": "^4.0.0", + "dotenv": "^16.4.5", + "fs": "^0.0.1-security", + "path": "^0.12.7", + "sqlite": "^5.1.1", + "sqlite3": "^5.1.7" + }, + "devDependencies": { + "@types/node": "^20.11.19", + "typescript": "^5.3.3" + }, + "scripts": { + "build": "tsc", + "start": "node dist/index.js" + } + +} diff --git a/tsconfig.json b/tsconfig.json index e69de29..661c0a2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "commonjs", + "lib": ["es2022"], + "outDir": "./dist", + "rootDir": "./src", + "strict": true, + "esModuleInterop": true, + "types": ["node"], + "moduleResolution": "node" + }, + "include": ["src/**/*"] + } \ No newline at end of file