refactor: Update Dockerfile and TypeScript configurations for improved build process

This commit is contained in:
2025-04-25 00:10:40 +08:00
parent 72a59bbcdd
commit a324815788
4 changed files with 36 additions and 28 deletions

View File

@@ -1,16 +1,18 @@
{
"name": "discord-music-bot",
"name": "discord-music-bot",
"version": "1.0.0",
"description": "",
"type": "module",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"build": "tsc -p tsconfig.json",
"build:deploy": "tsc -p tsconfig.deploy.json",
"build:all": "npm run build && npm run build:deploy",
"start": "node dist/index.js",
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
"lint": "eslint .",
"format": "prettier --write src/**/*.ts deploy-commands.ts",
"prepare": "npm run build"
"prepare": "npm run build:all"
},
"keywords": [],
"author": "",