2019-11-02 22:11:26 +02:00
|
|
|
{
|
2024-01-27 12:45:52 +02:00
|
|
|
"name": "@zeppelinbot/backend",
|
2019-11-02 22:11:26 +02:00
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2024-04-06 15:36:45 +00:00
|
|
|
"watch": "tsc-watch --build --onSuccess \"node start-dev.js\"",
|
|
|
|
"watch-yaml-parse-test": "tsc-watch --build --onSuccess \"node dist/yamlParseTest.js\"",
|
2024-03-02 09:24:07 +00:00
|
|
|
"build": "tsc --build",
|
2024-04-06 15:36:45 +00:00
|
|
|
"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\"",
|
2024-03-30 15:46:53 +00:00
|
|
|
"typeorm": "node ../node_modules/typeorm/cli.js",
|
2024-03-30 12:34:33 +00:00
|
|
|
"migrate": "npm run typeorm -- migration:run -d dist/data/dataSource.js",
|
2024-04-06 15:36:45 +00:00
|
|
|
"migrate-prod": "npm run migrate",
|
|
|
|
"migrate-dev": "npm run build && npm run migrate",
|
2024-03-30 12:34:33 +00:00
|
|
|
"migrate-rollback": "npm run typeorm -- migration:revert -d dist/data/dataSource.js",
|
2024-04-06 15:36:45 +00:00
|
|
|
"migrate-rollback-prod": "npm run migrate-rollback",
|
|
|
|
"migrate-rollback-dev": "npm 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",
|
2019-11-30 17:04:59 +02:00
|
|
|
"test": "npm run build && npm run run-tests",
|
|
|
|
"run-tests": "ava",
|
2024-04-06 10:44:16 +00:00
|
|
|
"test-watch": "tsc-watch --build --onSuccess \"npx ava\""
|
2019-11-02 22:11:26 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-08-14 15:45:47 +03:00
|
|
|
"@silvia-odwyer/photon-node": "^0.3.1",
|
2021-05-31 03:30:55 +02:00
|
|
|
"bufferutil": "^4.0.3",
|
2023-07-01 12:32:16 +00:00
|
|
|
"clinic": "^13.0.0",
|
2019-11-02 22:11:26 +02:00
|
|
|
"cors": "^2.8.5",
|
2023-07-01 12:32:16 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2019-11-02 22:11:26 +02:00
|
|
|
"deep-diff": "^1.0.2",
|
2023-11-26 13:16:44 +00:00
|
|
|
"discord.js": "^14.14.1",
|
2019-11-02 22:11:26 +02:00
|
|
|
"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",
|
2024-03-30 13:31:30 +00:00
|
|
|
"knub": "^32.0.0-next.21",
|
2021-06-30 04:56:56 +02:00
|
|
|
"knub-command-manager": "^9.1.0",
|
2019-11-02 22:11:26 +02:00
|
|
|
"last-commit-log": "^2.1.0",
|
|
|
|
"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",
|
|
|
|
"moment-timezone": "^0.5.21",
|
2023-07-01 12:32:16 +00:00
|
|
|
"multer": "^1.4.5-lts.1",
|
2024-03-30 15:46:53 +00:00
|
|
|
"mysql2": "^3.9.3",
|
2020-08-09 20:21:01 +03:00
|
|
|
"parse-color": "^1.0.0",
|
2023-07-01 12:32:16 +00:00
|
|
|
"passport": "^0.6.0",
|
2019-11-02 22:11:26 +02:00
|
|
|
"passport-custom": "^1.0.5",
|
2022-04-04 23:18:34 +03:00
|
|
|
"passport-oauth2": "^1.6.1",
|
2020-08-10 01:02:48 +03:00
|
|
|
"pkg-up": "^3.1.0",
|
2019-11-02 22:11:26 +02:00
|
|
|
"reflect-metadata": "^0.1.12",
|
2020-08-05 01:15:36 +03:00
|
|
|
"regexp-worker": "^1.1.0",
|
2019-11-02 22:11:26 +02:00
|
|
|
"safe-regex": "^2.0.2",
|
|
|
|
"seedrandom": "^3.0.1",
|
2020-08-05 03:38:14 +03:00
|
|
|
"strip-combining-marks": "^1.0.0",
|
2021-10-09 14:21:23 +03:00
|
|
|
"threads": "^1.7.0",
|
2021-08-14 15:57:14 +03:00
|
|
|
"tlds": "^1.221.1",
|
2019-11-02 22:11:26 +02:00
|
|
|
"tmp": "0.0.33",
|
2019-11-08 00:03:02 +02:00
|
|
|
"tsconfig-paths": "^3.9.0",
|
2020-01-14 18:08:49 +11:00
|
|
|
"twemoji": "^12.1.4",
|
2023-07-01 12:17:45 +00:00
|
|
|
"typeorm": "^0.3.17",
|
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",
|
2021-08-18 02:02:33 +03:00
|
|
|
"zlib-sync": "^0.1.7",
|
|
|
|
"zod": "^3.7.2"
|
2019-11-02 22:11:26 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/cors": "^2.8.5",
|
|
|
|
"@types/express": "^4.16.1",
|
|
|
|
"@types/jest": "^24.0.15",
|
|
|
|
"@types/js-yaml": "^3.12.1",
|
|
|
|
"@types/lodash.at": "^4.6.3",
|
|
|
|
"@types/moment-timezone": "^0.5.6",
|
2021-11-03 01:14:41 +02:00
|
|
|
"@types/multer": "^1.4.7",
|
2023-04-29 20:43:35 +03:00
|
|
|
"@types/node": "^18.16.3",
|
2019-11-02 22:11:26 +02:00
|
|
|
"@types/passport": "^1.0.0",
|
|
|
|
"@types/passport-oauth2": "^1.4.8",
|
|
|
|
"@types/passport-strategy": "^0.2.35",
|
2019-12-01 01:01:20 +02:00
|
|
|
"@types/safe-regex": "^1.1.2",
|
2019-11-02 22:11:26 +02:00
|
|
|
"@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",
|
2019-11-02 22:11:26 +02:00
|
|
|
"rimraf": "^2.6.2",
|
2024-01-27 12:47:30 +02:00
|
|
|
"source-map-support": "^0.5.16",
|
|
|
|
"zod-to-json-schema": "^3.22.3"
|
2019-11-02 22:11:26 +02:00
|
|
|
},
|
|
|
|
"ava": {
|
|
|
|
"files": [
|
2024-03-30 12:34:33 +00:00
|
|
|
"dist/**/*.test.js"
|
2019-11-07 22:52:40 +02:00
|
|
|
],
|
2019-11-02 22:11:26 +02:00
|
|
|
"require": [
|
2019-11-30 17:04:59 +02:00
|
|
|
"./register-tsconfig-paths.js"
|
2019-11-02 22:11:26 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|