mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00

Something in our signal handlers/code that touched signal handlers conflicted with clinic.js's signal handler code. With this commit, we don't touch signal handlers at all if DEBUG mode is enabled.
107 lines
5.1 KiB
JSON
107 lines
5.1 KiB
JSON
{
|
|
"name": "@zeppelin/backend",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"private": true,
|
|
"scripts": {
|
|
"watch": "cross-env NODE_ENV=development tsc-watch --onSuccess \"node start-dev.js\"",
|
|
"watch-yaml-parse-test": "cross-env NODE_ENV=development tsc-watch --onSuccess \"node dist/backend/src/yamlParseTest.js\"",
|
|
"build": "rimraf dist && tsc",
|
|
"start-bot-dev": "cross-env NODE_ENV=development node -r ./register-tsconfig-paths.js --unhandled-rejections=strict --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9229 dist/backend/src/index.js",
|
|
"start-bot-dev-debug": "NODE_ENV=development DEBUG=true clinic heapprofiler --collect-only --dest .clinic-bot -- node -r ./register-tsconfig-paths.js --unhandled-rejections=strict --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9229 dist/backend/src/index.js",
|
|
"start-bot-prod": "cross-env NODE_ENV=production node -r ./register-tsconfig-paths.js --unhandled-rejections=strict --enable-source-maps --stack-trace-limit=30 dist/backend/src/index.js",
|
|
"start-bot-prod-debug": "NODE_ENV=production DEBUG=true clinic heapprofiler --collect-only --dest .clinic-bot -- node -r ./register-tsconfig-paths.js --unhandled-rejections=strict --enable-source-maps --stack-trace-limit=30 dist/backend/src/index.js",
|
|
"watch-bot": "cross-env NODE_ENV=development tsc-watch --onSuccess \"npm run start-bot-dev\"",
|
|
"start-api-dev": "cross-env NODE_ENV=development node -r ./register-tsconfig-paths.js --unhandled-rejections=strict --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9239 dist/backend/src/api/index.js",
|
|
"start-api-dev-debug": "NODE_ENV=development DEBUG=true clinic heapprofiler --collect-only --dest .clinic-api -- node -r ./register-tsconfig-paths.js --unhandled-rejections=strict --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9239 dist/backend/src/api/index.js",
|
|
"start-api-prod": "cross-env NODE_ENV=production node -r ./register-tsconfig-paths.js --unhandled-rejections=strict --enable-source-maps --stack-trace-limit=30 dist/backend/src/api/index.js",
|
|
"start-api-prod-debug": "NODE_ENV=production DEBUG=true clinic heapprofiler --collect-only --dest .clinic-api -- node -r ./register-tsconfig-paths.js --unhandled-rejections=strict --enable-source-maps --stack-trace-limit=30 dist/backend/src/api/index.js",
|
|
"watch-api": "cross-env NODE_ENV=development tsc-watch --onSuccess \"npm run start-api-dev\"",
|
|
"typeorm": "node -r ./register-tsconfig-paths.js ./node_modules/typeorm/cli.js",
|
|
"migrate-prod": "cross-env NODE_ENV=production npm run typeorm -- migration:run",
|
|
"migrate-dev": "npm run build && npm run typeorm -- migration:run",
|
|
"migrate-rollback-prod": "cross-env NODE_ENV=production npm run typeorm -- migration:revert",
|
|
"migrate-rollback-dev": "npm run build && npm run typeorm -- migration:revert",
|
|
"test": "npm run build && npm run run-tests",
|
|
"run-tests": "ava",
|
|
"test-watch": "tsc-watch --onSuccess \"npx ava\""
|
|
},
|
|
"dependencies": {
|
|
"@silvia-odwyer/photon-node": "^0.3.1",
|
|
"bufferutil": "^4.0.3",
|
|
"clinic": "^12.1.0",
|
|
"cors": "^2.8.5",
|
|
"cross-env": "^5.2.0",
|
|
"deep-diff": "^1.0.2",
|
|
"discord.js": "^14.11.0",
|
|
"dotenv": "^4.0.0",
|
|
"emoji-regex": "^8.0.0",
|
|
"erlpack": "github:discord/erlpack",
|
|
"escape-string-regexp": "^1.0.5",
|
|
"express": "^4.17.0",
|
|
"fp-ts": "^2.0.1",
|
|
"humanize-duration": "^3.15.0",
|
|
"io-ts": "^2.0.0",
|
|
"js-yaml": "^3.13.1",
|
|
"knub": "^32.0.0-next.16",
|
|
"knub-command-manager": "^9.1.0",
|
|
"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",
|
|
"multer": "^1.4.3",
|
|
"mysql": "^2.16.0",
|
|
"parse-color": "^1.0.0",
|
|
"passport": "^0.4.0",
|
|
"passport-custom": "^1.0.5",
|
|
"passport-oauth2": "^1.6.1",
|
|
"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",
|
|
"tlds": "^1.221.1",
|
|
"tmp": "0.0.33",
|
|
"tsconfig-paths": "^3.9.0",
|
|
"twemoji": "^12.1.4",
|
|
"typeorm": "^0.2.31",
|
|
"utf-8-validate": "^5.0.5",
|
|
"uuid": "^3.3.2",
|
|
"yawn-yaml": "github:dragory/yawn-yaml#string-number-fix-build",
|
|
"zlib-sync": "^0.1.7",
|
|
"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",
|
|
"@types/lodash.at": "^4.6.3",
|
|
"@types/moment-timezone": "^0.5.6",
|
|
"@types/multer": "^1.4.7",
|
|
"@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",
|
|
"@types/twemoji": "^12.1.0",
|
|
"ava": "^3.15.0",
|
|
"rimraf": "^2.6.2",
|
|
"source-map-support": "^0.5.16"
|
|
},
|
|
"ava": {
|
|
"files": [
|
|
"dist/backend/src/**/*.test.js"
|
|
],
|
|
"require": [
|
|
"./register-tsconfig-paths.js"
|
|
]
|
|
}
|
|
}
|