eu.astrogd.white-leopard/package.json

49 lines
2.4 KiB
JSON
Raw Normal View History

2022-11-23 13:23:25 +01:00
{
"name": "eu.astrogd.white-leopard",
2022-11-25 17:41:57 +01:00
"version": "1.0.0-alpha.6",
2022-11-23 13:23:25 +01:00
"description": "A Discord bot that checks channel names for blacklisted words and reverts the changes if necessary",
"main": "build/index.js",
"scripts": {
2022-11-24 02:12:52 +01:00
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc && shx cp package-lock.json build/package-lock.json",
2022-11-24 18:07:29 +01:00
"deploy-commands:dev": "ts-node ci/devDeploy.ts",
"deploy-commands:prod": "ts-node ci/deploy.ts",
"deploy:dev": "npm run build && npm run deploy-commands:dev && docker compose build && docker compose up -d",
2022-11-24 21:25:41 +01:00
"deploy:prod": "rimraf build && npm run build && npm run deploy-commands:prod && docker build -t astrogd/white-leopard:latest . && docker push astrogd/white-leopard:latest",
2022-11-24 18:07:29 +01:00
"start": "npm run build && npm run deploy-commands:dev && docker-compose up --no-start && docker compose start database && node --enable-source-maps .",
2022-11-24 02:12:52 +01:00
"migration:create": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:generate -d src/data/dataSource.ts -p src/data/migrations/data",
"migration:run": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:run -d src/data/dataSource.ts",
"migration:revert": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:revert -d src/data/dataSource.ts",
"migration:show": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:show -d src/data/dataSource.ts",
"migration:check": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:generate --check -d src/data/dataSource.ts src/data/migrations/data"
2022-11-23 13:23:25 +01:00
},
"repository": {
"type": "git",
"url": "git+https://github.com/r-Overwatch2/eu.astrogd.white-leopard.git"
},
"author": "AstroGD Lukas Weber <hello@astrogd.eu> (https://www.astrogd.eu)",
"license": "CC-BY-NC-ND-4.0",
"bugs": {
"url": "https://github.com/r-Overwatch2/eu.astrogd.white-leopard/issues"
},
"homepage": "https://github.com/r-Overwatch2/eu.astrogd.white-leopard#readme",
"devDependencies": {
2022-11-24 22:58:27 +01:00
"@types/express": "^4.17.14",
2022-11-23 13:23:25 +01:00
"@types/fs-extra": "^9.0.13",
"@types/node": "^18.11.9",
2022-11-24 12:12:50 +01:00
"rimraf": "^3.0.2",
2022-11-24 02:12:52 +01:00
"shx": "^0.3.4",
"ts-node": "^10.9.1",
2022-11-23 13:23:25 +01:00
"typescript": "^4.9.3"
},
"dependencies": {
"discord.js": "^14.6.0",
"dotenv": "^16.0.3",
2022-11-24 22:58:27 +01:00
"express": "^4.18.2",
2022-11-24 02:12:52 +01:00
"fs-extra": "^10.1.0",
2022-11-24 20:15:36 +01:00
"moment": "^2.29.4",
2022-11-24 02:12:52 +01:00
"pg": "^8.8.0",
"typeorm": "^0.3.10"
2022-11-23 13:23:25 +01:00
}
}