49 lines
2.4 KiB
JSON
49 lines
2.4 KiB
JSON
{
|
|
"name": "eu.astrogd.white-leopard",
|
|
"version": "1.0.0-beta.3",
|
|
"description": "A Discord bot that checks channel names for blacklisted words and reverts the changes if necessary",
|
|
"main": "build/index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"build": "tsc && shx cp package-lock.json build/package-lock.json",
|
|
"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",
|
|
"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",
|
|
"start": "npm run build && npm run deploy-commands:dev && docker-compose up --no-start && docker compose start database && node --enable-source-maps .",
|
|
"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"
|
|
},
|
|
"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": {
|
|
"@types/express": "^4.17.14",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/node": "^18.11.9",
|
|
"rimraf": "^3.0.2",
|
|
"shx": "^0.3.4",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.9.3"
|
|
},
|
|
"dependencies": {
|
|
"discord.js": "^14.6.0",
|
|
"dotenv": "^16.0.3",
|
|
"express": "^4.18.2",
|
|
"fs-extra": "^10.1.0",
|
|
"moment": "^2.29.4",
|
|
"pg": "^8.8.0",
|
|
"typeorm": "^0.3.10"
|
|
}
|
|
}
|