Convert to Typescript
This commit is contained in:
17
package.json
17
package.json
@@ -1,11 +1,12 @@
|
||||
{
|
||||
"name": "butlerbotng",
|
||||
"version": "1.0.0",
|
||||
"main": "src/index.js",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"start": "node src/index.js",
|
||||
"register-slash-commands": "node src/register-slash-commands.js",
|
||||
"start": "node dist/index.js",
|
||||
"build": "tsup src/index.ts --minify",
|
||||
"register-slash-commands": "tsx src/register-slash-commands.ts",
|
||||
"dev": "tsx watch src/index.ts",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
@@ -26,6 +27,12 @@
|
||||
"replicate": "^0.32.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^9.9.1"
|
||||
"@types/glob": "^8.1.0",
|
||||
"@types/node": "^20.4.0",
|
||||
"eslint": "^9.9.1",
|
||||
"ts-node": "^10.9.1",
|
||||
"tsup": "^8.2.4",
|
||||
"tsx": "^4.19.1",
|
||||
"typescript": "^5.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user