mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-05-10 10:43:06 +00:00
chore: add option to undeploy commands and not deploy on start
This commit is contained in:
parent
072c34d778
commit
14667ad69f
5 changed files with 113 additions and 12 deletions
|
@ -10,8 +10,10 @@
|
|||
"compile": "npx tsc",
|
||||
"target": "node ./target/discord-bot.js",
|
||||
"start:dev": "yarn run compile && yarn run target",
|
||||
"start:dev:no-deploy": "cross-env SKIP_COMMAND_DEPLOY=true yarn run start:dev",
|
||||
"start:prod": "yarn compile && pm2 start ./target/discord-bot.js --name poixpixel-discord-bot",
|
||||
"restart": "pm2 restart poixpixel-discord-bot",
|
||||
"undeploy-commands": "yarn compile && node --experimental-specifier-resolution=node ./target/util/undeployCommands.js",
|
||||
"lint": "npx eslint ./src && npx tsc --noEmit",
|
||||
"format": "prettier --check --ignore-path .prettierignore .",
|
||||
"format:fix": "prettier --write --ignore-path .prettierignore .",
|
||||
|
@ -34,6 +36,7 @@
|
|||
"@types/pg": "^8.11.13",
|
||||
"@typescript-eslint/eslint-plugin": "^8.30.1",
|
||||
"@typescript-eslint/parser": "^8.30.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"drizzle-kit": "^0.31.0",
|
||||
"eslint": "^9.24.0",
|
||||
"eslint-config-prettier": "^10.1.2",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue