2019-11-02 22:11:26 +02:00
|
|
|
{
|
|
|
|
"name": "@zeppelin/backend",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2019-11-30 17:04:59 +02:00
|
|
|
"watch": "cross-env NODE_ENV=development tsc-watch --onSuccess \"node start-dev.js\"",
|
2020-10-19 20:10:16 +03:00
|
|
|
"watch-yaml-parse-test": "cross-env NODE_ENV=development tsc-watch --onSuccess \"node dist/backend/src/yamlParseTest.js\"",
|
2019-11-02 22:11:26 +02:00
|
|
|
"build": "rimraf dist && tsc",
|
2021-09-11 18:46:48 +03:00
|
|
|
"start-bot-dev": "cross-env NODE_ENV=development node -r ./register-tsconfig-paths.js --unhandled-rejections=strict --enable-source-maps --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 dist/backend/src/index.js",
|
2020-07-29 00:43:49 +03:00
|
|
|
"watch-bot": "cross-env NODE_ENV=development tsc-watch --onSuccess \"npm run start-bot-dev\"",
|
2021-09-11 18:46:48 +03:00
|
|
|
"start-api-dev": "cross-env NODE_ENV=development node -r ./register-tsconfig-paths.js --unhandled-rejections=strict --enable-source-maps --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 dist/backend/src/api/index.js",
|
2020-07-29 00:43:49 +03:00
|
|
|
"watch-api": "cross-env NODE_ENV=development tsc-watch --onSuccess \"npm run start-api-dev\"",
|
2019-11-30 17:04:59 +02:00
|
|
|
"typeorm": "node -r ./register-tsconfig-paths.js ./node_modules/typeorm/cli.js",
|
|
|
|
"migrate-prod": "npm run typeorm -- migration:run",
|
|
|
|
"migrate-dev": "npm run build && npm run typeorm -- migration:run",
|
|
|
|
"migrate-rollback-prod": "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\""
|
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",
|
2019-11-02 22:11:26 +02:00
|
|
|
"cors": "^2.8.5",
|
|
|
|
"cross-env": "^5.2.0",
|
|
|
|
"deep-diff": "^1.0.2",
|
2021-08-13 05:01:08 +02:00
|
|
|
"discord-api-types": "^0.22.0",
|
|
|
|
"discord.js": "^13.1.0",
|
2019-11-02 22:11:26 +02:00
|
|
|
"dotenv": "^4.0.0",
|
|
|
|
"emoji-regex": "^8.0.0",
|
2021-08-12 13:20:09 +01:00
|
|
|
"erlpack": "github:almeidx/erlpack#f0c535f73817fd914806d6ca26a7730c14e0fb7c",
|
2019-11-02 22:11:26 +02:00
|
|
|
"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",
|
2021-09-04 22:15:27 +03:00
|
|
|
"knub": "^30.0.0-beta.45",
|
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",
|
|
|
|
"mysql": "^2.16.0",
|
2020-08-09 20:21:01 +03:00
|
|
|
"parse-color": "^1.0.0",
|
2019-11-02 22:11:26 +02:00
|
|
|
"passport": "^0.4.0",
|
|
|
|
"passport-custom": "^1.0.5",
|
|
|
|
"passport-oauth2": "^1.5.0",
|
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-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",
|
2021-02-15 22:32:51 +02:00
|
|
|
"typeorm": "^0.2.31",
|
2021-05-31 03:30:55 +02:00
|
|
|
"utf-8-validate": "^5.0.5",
|
2020-07-30 23:23:35 +03:00
|
|
|
"uuid": "^3.3.2",
|
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",
|
2020-07-05 04:59:53 +03:00
|
|
|
"@types/node": "^14.0.14",
|
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",
|
2020-07-06 01:50:28 +03:00
|
|
|
"ava": "^3.10.0",
|
2019-11-02 22:11:26 +02:00
|
|
|
"rimraf": "^2.6.2",
|
2019-12-08 02:05:35 +02:00
|
|
|
"source-map-support": "^0.5.16",
|
2020-12-13 22:16:55 +02:00
|
|
|
"tsc-watch": "^4.0.0",
|
2021-06-30 23:06:02 +02:00
|
|
|
"typescript": "^4.3.4"
|
2019-11-02 22:11:26 +02:00
|
|
|
},
|
|
|
|
"ava": {
|
|
|
|
"files": [
|
2019-11-30 17:04:59 +02:00
|
|
|
"dist/backend/src/**/*.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
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|