zappyzep/backend/package.json

116 lines
4.6 KiB
JSON
Raw Normal View History

{
"name": "@zeppelinbot/backend",
"version": "0.0.1",
"description": "",
"private": true,
"scripts": {
"watch": "tsc-watch --build --onSuccess \"node start-dev.js\"",
"watch-yaml-parse-test": "tsc-watch --build --onSuccess \"node dist/yamlParseTest.js\"",
"build": "tsc --build",
"start-bot-dev": "node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9229 dist/index.js",
"start-bot-dev-debug": "DEBUG=true clinic heapprofiler --collect-only --dest .clinic-bot -- node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9229 dist/index.js",
"start-bot-prod": "node --enable-source-maps --stack-trace-limit=30 dist/index.js",
"start-bot-prod-debug": "DEBUG=true clinic heapprofiler --collect-only --dest .clinic-bot -- node --enable-source-maps --stack-trace-limit=30 dist/index.js",
"watch-bot": "tsc-watch --build --onSuccess \"npm run start-bot-dev\"",
"start-api-dev": "node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9239 dist/api/index.js",
"start-api-dev-debug": "DEBUG=true clinic heapprofiler --collect-only --dest .clinic-api -- node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9239 dist/api/index.js",
"start-api-prod": "node --enable-source-maps --stack-trace-limit=30 dist/api/index.js",
"start-api-prod-debug": "clinic heapprofiler --collect-only --dest .clinic-api -- node --enable-source-maps --stack-trace-limit=30 dist/api/index.js",
"watch-api": "tsc-watch --build --onSuccess \"npm run start-api-dev\"",
"typeorm": "node ../node_modules/typeorm/cli.js",
2024-11-02 15:03:16 +02:00
"migrate": "pnpm run typeorm -- migration:run -d dist/data/dataSource.js",
"migrate-prod": "pnpm run migrate",
"migrate-dev": "pnpm run build && npm run migrate",
"migrate-rollback": "pnpm run typeorm -- migration:revert -d dist/data/dataSource.js",
"migrate-rollback-prod": "pnpm run migrate-rollback",
"migrate-rollback-dev": "pnpm run build && npm run migrate-rollback",
"validate-active-configs": "node --enable-source-maps dist/validateActiveConfigs.js > ../config-errors.txt",
"export-config-json-schema": "node --enable-source-maps dist/exportSchemas.js > ../config-schema.json",
2024-11-02 15:03:16 +02:00
"test": "pnpm run build && pnpm run run-tests",
"run-tests": "ava",
2024-04-06 10:44:16 +00:00
"test-watch": "tsc-watch --build --onSuccess \"npx ava\""
},
"dependencies": {
"@silvia-odwyer/photon-node": "^0.3.1",
2024-11-02 14:55:29 +02:00
"@zeppelinbot/shared": "workspace:*",
2021-05-31 03:30:55 +02:00
"bufferutil": "^4.0.3",
2023-07-01 12:32:16 +00:00
"clinic": "^13.0.0",
"cors": "^2.8.5",
2023-07-01 12:32:16 +00:00
"cross-env": "^7.0.3",
"deep-diff": "^1.0.2",
2024-11-02 14:55:29 +02:00
"discord.js": "^14.16.3",
"dotenv": "^4.0.0",
"emoji-regex": "^8.0.0",
"escape-string-regexp": "^1.0.5",
"express": "^4.17.0",
"fp-ts": "^2.0.1",
"humanize-duration": "^3.15.0",
"js-yaml": "^3.13.1",
"knub": "^32.0.0-next.21",
2021-06-30 04:56:56 +02:00
"knub-command-manager": "^9.1.0",
"last-commit-log": "^2.1.0",
2024-11-02 14:55:29 +02:00
"lodash": "^4.17.21",
"lodash.chunk": "^4.2.0",
"lodash.clonedeep": "^4.5.0",
"lodash.difference": "^4.5.0",
"lodash.intersection": "^4.4.0",
"lodash.isequal": "^4.5.0",
"lodash.pick": "^4.4.0",
2024-11-02 14:55:29 +02:00
"moment": "^2.29.4",
"moment-timezone": "^0.5.21",
2023-07-01 12:32:16 +00:00
"multer": "^1.4.5-lts.1",
"mysql2": "^3.9.3",
"parse-color": "^1.0.0",
2023-07-01 12:32:16 +00:00
"passport": "^0.6.0",
"passport-custom": "^1.0.5",
"passport-oauth2": "^1.6.1",
2020-08-10 01:02:48 +03:00
"pkg-up": "^3.1.0",
"reflect-metadata": "^0.1.12",
"regexp-worker": "^1.1.0",
"safe-regex": "^2.0.2",
"seedrandom": "^3.0.1",
"strip-combining-marks": "^1.0.0",
"threads": "^1.7.0",
2021-08-14 15:57:14 +03:00
"tlds": "^1.221.1",
"tmp": "0.0.33",
"tsconfig-paths": "^3.9.0",
2020-01-14 18:08:49 +11:00
"twemoji": "^12.1.4",
2024-11-02 14:59:36 +02:00
"typeorm": "^0.3.20",
2021-05-31 03:30:55 +02:00
"utf-8-validate": "^5.0.5",
2023-07-01 12:32:16 +00:00
"uuid": "^9.0.0",
2020-10-19 20:10:16 +03:00
"yawn-yaml": "github:dragory/yawn-yaml#string-number-fix-build",
2024-11-02 14:55:29 +02:00
"zlib-sync": "^0.1.9",
"zod": "^3.7.2"
},
"devDependencies": {
"@types/cors": "^2.8.5",
"@types/express": "^4.16.1",
"@types/jest": "^24.0.15",
"@types/js-yaml": "^3.12.1",
2024-11-02 14:55:29 +02:00
"@types/lodash": "^4.17.13",
"@types/lodash.at": "^4.6.3",
"@types/moment-timezone": "^0.5.6",
"@types/multer": "^1.4.7",
2023-04-29 20:43:35 +03:00
"@types/node": "^18.16.3",
"@types/passport": "^1.0.0",
"@types/passport-oauth2": "^1.4.8",
"@types/passport-strategy": "^0.2.35",
"@types/safe-regex": "^1.1.2",
"@types/tmp": "0.0.33",
2021-08-12 13:20:09 +01:00
"@types/twemoji": "^12.1.0",
2023-07-01 12:32:16 +00:00
"@types/uuid": "^9.0.2",
"ava": "^5.3.1",
"rimraf": "^6.0.1",
"source-map-support": "^0.5.16",
"zod-to-json-schema": "^3.22.3"
},
"ava": {
"files": [
"dist/**/*.test.js"
2019-11-07 22:52:40 +02:00
],
"require": [
"./register-tsconfig-paths.js"
]
}
}