Update code to typescript
This commit is contained in:
87
package.json
87
package.json
@@ -1,37 +1,50 @@
|
||||
{
|
||||
"name": "tardis-bot",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "node index.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@discordjs/voice": "^0.19.0",
|
||||
"@google-cloud/text-to-speech": "^3.1.3",
|
||||
"@noble/ciphers": "^1.3.0",
|
||||
"@snazzah/davey": "^0.1.6",
|
||||
"@stablelib/xchacha20poly1305": "^2.0.1",
|
||||
"chatgpt": "^5.1.2",
|
||||
"discord.js": "^14.8.0",
|
||||
"dotenv": "^8.2.0",
|
||||
"fast-levenshtein": "^3.0.0",
|
||||
"google-tts-api": "^2.0.2",
|
||||
"is-string-int": "^1.0.1",
|
||||
"microsoft-cognitiveservices-speech-sdk": "^1.16.0",
|
||||
"node-fetch": "^2.6.1",
|
||||
"node-google-translate-skidz": "^1.1.2",
|
||||
"opusscript": "^0.0.8",
|
||||
"printf": "^0.6.1",
|
||||
"sam-js": "^0.1.2",
|
||||
"sha1": "^1.1.1",
|
||||
"sodium-native": "^3.4.1",
|
||||
"sqlite": "^4.0.21",
|
||||
"sqlite3": "^5.0.2",
|
||||
"wavefile": "^11.0.0"
|
||||
}
|
||||
}
|
||||
{
|
||||
"name": "tardis-bot",
|
||||
"version": "2.0.0",
|
||||
"description": "Discord bot with TTS announcements and assorted modules",
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "tsx src/index.ts",
|
||||
"dev": "tsx watch src/index.ts",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"lint": "eslint \"src/**/*.ts\"",
|
||||
"lint:fix": "eslint \"src/**/*.ts\" --fix",
|
||||
"format": "prettier -w \"src/**/*.ts\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@discordjs/opus": "^0.10.0",
|
||||
"@discordjs/voice": "^0.19.0",
|
||||
"@google-cloud/text-to-speech": "^6.4.1",
|
||||
"@noble/ciphers": "^1.3.0",
|
||||
"@sefinek/google-tts-api": "^2.1.11",
|
||||
"@snazzah/davey": "^0.1.6",
|
||||
"@stablelib/xchacha20poly1305": "^2.0.1",
|
||||
"discord.js": "^14.26.4",
|
||||
"dotenv": "^16.4.7",
|
||||
"fast-levenshtein": "^3.0.0",
|
||||
"microsoft-cognitiveservices-speech-sdk": "^1.49.0",
|
||||
"openai": "^6.4.0",
|
||||
"printf": "^0.6.1",
|
||||
"sam-js": "^0.3.1",
|
||||
"sodium-native": "^5.1.0",
|
||||
"sqlite": "^5.1.1",
|
||||
"sqlite3": "^5.1.7",
|
||||
"tsx": "^4.19.2",
|
||||
"wavefile": "^11.0.0",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/fast-levenshtein": "^0.0.4",
|
||||
"@types/node": "^22.10.5",
|
||||
"@typescript-eslint/eslint-plugin": "^8.20.0",
|
||||
"@typescript-eslint/parser": "^8.20.0",
|
||||
"eslint": "^9.18.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"prettier": "^3.4.2",
|
||||
"typescript": "^5.7.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user