2022-11-23 13:23:25 +01:00
|
|
|
{
|
|
|
|
"name": "eu.astrogd.white-leopard",
|
2023-09-16 11:12:43 +02:00
|
|
|
"version": "1.1.1",
|
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-29 00:15:28 +01:00
|
|
|
"start:rebuild": "npm run build && node --enable-source-maps .",
|
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",
|
2023-09-16 11:12:43 +02:00
|
|
|
"start": "npm run build && npm run deploy-commands:dev && docker-compose up -d db && node --enable-source-maps .",
|
|
|
|
"migration:create": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:generate -d src/data/dataSource.migration.ts -p src/data/migrations/data",
|
|
|
|
"migration:run": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:run -d src/data/dataSource.migration.ts",
|
|
|
|
"migration:revert": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:revert -d src/data/dataSource.migration.ts",
|
|
|
|
"migration:show": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:show -d src/data/dataSource.migration.ts",
|
|
|
|
"migration:check": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:generate --check -d src/data/dataSource.migration.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",
|
2023-09-16 11:12:43 +02:00
|
|
|
"@types/fs-extra": "^11.0.2",
|
|
|
|
"@types/node": "^18.17.17",
|
|
|
|
"rimraf": "^5.0.1",
|
2022-11-24 02:12:52 +01:00
|
|
|
"shx": "^0.3.4",
|
|
|
|
"ts-node": "^10.9.1",
|
2023-09-16 11:12:43 +02:00
|
|
|
"typescript": "^5.2.2"
|
2022-11-23 13:23:25 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-09-16 11:12:43 +02:00
|
|
|
"discord.js": "^14.13.0",
|
2022-11-23 13:23:25 +01:00
|
|
|
"dotenv": "^16.0.3",
|
2022-11-24 22:58:27 +01:00
|
|
|
"express": "^4.18.2",
|
2022-11-29 03:20:48 +01:00
|
|
|
"fs-extra": "^11.0.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
|
|
|
}
|
|
|
|
}
|