Files
discordeno/template/bigbot/package.json
Jonathan Ho a8a89d4b16 feat(Bigbot): added docker-compose (#2538)
* chore: fix script extension

* chore: remove extention

* fix: at least it run can now

* chore: fix dev script

* refactor: change to use env file for config

* chore: update readme

* refactor: put dotenv to top

* feat: add docker and influxdb

* chore: disable deno fmt on bigbot node_modules

* style: deno fmt

* style: deno fmt after upgrade deno

* chore: remove dev console.log

* chore: reverse the influxdb env

* chore: limit the influxdb to localhost

* refactor: seperate build process

* chore: add user pass docs

* refactor: route all to handler

* fix: skip if webhook not exist

* fix: change to use runMethod for send response

* chore: gateway don't depend on bot

* fix: skip if webhook not exist

* fix: first command and error reply not sending

* fix: add try catch to error reply

* fix: reverse interactive.reply

* feat: add fetch analytics to bot process
2022-10-22 07:28:33 -05:00

51 lines
1.6 KiB
JSON

{
"name": "dd-big-bot",
"version": "1.0.0",
"main": "index.js",
"type": "module",
"scripts": {
"devbg": "npx prisma generate && tsc --watch",
"fmt": "prettier -w ./src",
"devg": "nodemon --ignore ./src/bot/**/* --ignore ./src/rest/**/* --ignore ./dist/**/* -e ts dist/gateway/index.js",
"devr": "nodemon --ignore ./src/bot/**/* --ignore ./src/gateway/**/* --ignore ./dist/**/* -e ts dist/rest/index.js",
"devb": "nodemon --ignore ./src/rest/**/* --ignore ./src/gateway/**/* --ignore ./dist/**/* -e ts dist/bot/index.js",
"type": "tsc --noEmit",
"build": "swc src --out-dir dist",
"startr": "node --experimental-specifier-resolution=node dist/rest/index.js",
"startg": "node --experimental-specifier-resolution=node dist/gateway/index.js",
"startb": "node --experimental-specifier-resolution=node dist/bot/index.js"
},
"dependencies": {
"@influxdata/influxdb-client": "^1.29.0",
"@prisma/client": "^3.15.2",
"colorette": "^2.0.19",
"discordeno": "^16.0.1",
"dotenv": "^16.0.3",
"express": "^4.18.1",
"fastify": "^4.8.1",
"nanoid": "^4.0.0",
"node-fetch": "^3.2.10",
"web-worker": "^1.2.0"
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.9",
"@types/express": "^4.17.13",
"@types/node": "^17.0.23",
"@types/ws": "^8.5.3",
"nodemon": "^2.0.15",
"prettier": "2.6.2",
"prisma": "^4.2.1",
"ts-node": "^10.9.1",
"typescript": "^4.6.3"
},
"prettier": {
"trailingComma": "all",
"useTabs": true,
"tabWidth": 2,
"singleQuote": true,
"semi": true,
"printWidth": 120
}
}