From 570ad8771324efffd91efd8358b6075aecc806f8 Mon Sep 17 00:00:00 2001 From: powermaker450 Date: Sat, 6 Jul 2024 01:32:52 +0000 Subject: [PATCH] Update configs --- package.json | 5 +++-- tsconfig.json | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 537d866..d41d9ed 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "Tailchat-Assistant", + "description": "Tailchat Assistant is your very own AI-powered chat bot, ready to implement into your guild!", "dependencies": { "chalk": "^4.1.2", "openai": "^4.50.0", @@ -12,10 +13,10 @@ "typescript": "^5.4.5" }, "scripts": { - "build": "tsc", + "build": "tsc -p .", "start": "node --env-file=.env ./dist/bot.js", "cstart": "npm run build && npm run start", - "prepare": "husky install" + "prepare": "husky prepare" }, "lint-staged": { "src/*.ts": "prettier --write" diff --git a/tsconfig.json b/tsconfig.json index 05a821a..9d02c34 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -56,12 +56,12 @@ // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ "outDir": "./dist", /* Specify an output folder for all emitted files. */ - // "removeComments": true, /* Disable emitting comments. */ + "removeComments": true, /* Disable emitting comments. */ // "noEmit": true, /* Disable emitting files from a compilation. */ // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ - // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ + "sourceRoot": "./src", /* Specify the root path for debuggers to find the reference source code. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */