2020-03-25 16:17:45 -07:00
|
|
|
{
|
|
|
|
|
"name": "nodeapp",
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"description": "",
|
2020-09-24 12:13:51 -07:00
|
|
|
"main": "dist/app.js",
|
2022-08-23 11:56:03 -06:00
|
|
|
"test": "jest",
|
2020-03-25 16:17:45 -07:00
|
|
|
"scripts": {
|
2022-08-23 11:56:03 -06:00
|
|
|
"test-unit": "jest ./src/tests/unit_tests",
|
2021-10-26 21:11:43 -05:00
|
|
|
"test": "ava",
|
2020-03-25 16:17:45 -07:00
|
|
|
"docker-dev": "nodemon ./app.js",
|
2020-09-24 12:57:04 -07:00
|
|
|
"build": "tsc",
|
2020-03-25 16:17:45 -07:00
|
|
|
"start-ts": "ts-node ./app.ts",
|
2020-04-21 11:27:49 -07:00
|
|
|
"start": "ts-node ./app.ts",
|
|
|
|
|
"start-password": "USE_PASSWORD=true ts-node ./app.ts",
|
2020-04-01 11:17:31 -07:00
|
|
|
"start-hosting": "HOSTING_PROVIDER=true ts-node ./app.ts",
|
2020-03-25 16:17:45 -07:00
|
|
|
"prod": "cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && env NODE_ENV=production node dist/app.js",
|
2023-12-14 12:52:53 -08:00
|
|
|
"tsc": "rm -rf dist/ && npx tsc",
|
2020-05-01 10:18:44 -07:00
|
|
|
"dev": "rm -rf dist/ && tsc && cp -r public dist/public && node --inspect ./dist/app.js",
|
2020-05-04 11:48:41 -07:00
|
|
|
"build-binaries": "rm -rf dist/ && tsc && cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && pkg . --target node12-alpine-x64,node12-macos-x64 --out-path binaries",
|
2022-03-16 09:26:58 -05:00
|
|
|
"start-ecs": "cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && export NODE_ENV=production && node --max-old-space-size=128 dist/app.js",
|
2023-05-01 20:48:25 +01:00
|
|
|
"start-ecs-inspect": "cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && export NODE_ENV=production && node --inspect --max-old-space-size=128 dist/app.js",
|
2023-07-19 09:39:57 -05:00
|
|
|
"lint": "eslint src --fix --max-warnings 438",
|
2022-12-28 22:23:41 +01:00
|
|
|
"postinstall": "git apply protobuf_long.patch"
|
2020-03-25 16:17:45 -07:00
|
|
|
},
|
|
|
|
|
"keywords": [],
|
|
|
|
|
"author": "",
|
|
|
|
|
"license": "ISC",
|
2021-07-08 19:48:00 -05:00
|
|
|
"ava": {
|
2023-01-26 22:34:24 +01:00
|
|
|
"files": [
|
|
|
|
|
"!src/tests/utils/**",
|
|
|
|
|
"!src/tests/types"
|
|
|
|
|
],
|
|
|
|
|
"extensions": [
|
|
|
|
|
"ts"
|
|
|
|
|
],
|
|
|
|
|
"require": [
|
|
|
|
|
"ts-node/register"
|
|
|
|
|
]
|
2021-07-08 19:48:00 -05:00
|
|
|
},
|
2020-03-25 16:17:45 -07:00
|
|
|
"dependencies": {
|
2021-06-24 11:00:19 -07:00
|
|
|
"@boltz/bolt11": "^1.2.7",
|
2023-08-08 10:39:35 -07:00
|
|
|
"@grpc/grpc-js": "1.8.7",
|
2023-03-09 20:30:33 -08:00
|
|
|
"@grpc/proto-loader": "0.7.4",
|
2022-03-25 15:01:26 -07:00
|
|
|
"@octokit/webhooks-types": "^5.2.0",
|
2020-07-16 15:46:27 +01:00
|
|
|
"@scout_apm/scout-apm": "^0.1.10",
|
2022-07-11 12:29:32 -06:00
|
|
|
"async": "^2.6.4",
|
2020-03-25 16:17:45 -07:00
|
|
|
"async-lock": "^1.2.2",
|
2021-07-21 22:29:12 -05:00
|
|
|
"axios": "^0.21.1",
|
2021-10-21 15:02:19 -05:00
|
|
|
"base-64": "^1.0.0",
|
2020-09-11 09:31:46 -07:00
|
|
|
"bitcoin-address-validation": "^1.0.2",
|
2022-01-07 12:57:55 -06:00
|
|
|
"blgr": "^0.2.0",
|
2021-06-10 15:09:02 -07:00
|
|
|
"bolt11": "^1.3.1",
|
2020-03-25 16:17:45 -07:00
|
|
|
"change-case": "^4.1.1",
|
|
|
|
|
"cookie-parser": "^1.4.4",
|
2020-07-17 13:24:11 -07:00
|
|
|
"cors": "^2.8.5",
|
2020-03-25 16:17:45 -07:00
|
|
|
"cron": "^1.7.2",
|
|
|
|
|
"cron-parser": "^2.13.0",
|
2020-05-07 16:19:43 -07:00
|
|
|
"crypto-browserify": "^3.12.0",
|
2020-11-23 14:51:37 -08:00
|
|
|
"crypto-js": "^4.0.0",
|
2020-03-25 16:17:45 -07:00
|
|
|
"dateformat": "^3.0.3",
|
|
|
|
|
"decamelize": "^3.1.1",
|
|
|
|
|
"express": "^4.16.4",
|
2023-06-08 11:46:59 -07:00
|
|
|
"express-rate-limit": "^6.7.0",
|
2020-03-25 16:17:45 -07:00
|
|
|
"express-winston": "^4.0.2",
|
2020-05-19 14:08:25 -07:00
|
|
|
"form-data": "^3.0.0",
|
2020-03-25 16:17:45 -07:00
|
|
|
"fs": "^0.0.1-security",
|
|
|
|
|
"helmet": "^3.21.1",
|
2021-07-27 11:58:57 -07:00
|
|
|
"ip": "^1.1.5",
|
2020-03-25 16:17:45 -07:00
|
|
|
"jasmine": "^3.5.0",
|
2022-08-23 11:56:03 -06:00
|
|
|
"jest": "^28.1.3",
|
2020-03-25 16:17:45 -07:00
|
|
|
"js-sha256": "^0.9.0",
|
2023-02-17 14:25:42 -08:00
|
|
|
"jscryptor-3": "^0.0.14",
|
2021-07-21 22:29:12 -05:00
|
|
|
"lodash": "^4.17.21",
|
2021-07-19 13:28:55 -07:00
|
|
|
"long": "^3.2.0",
|
2021-07-21 21:24:59 -05:00
|
|
|
"lsat-js": "^2.0.0",
|
2021-09-12 21:33:47 -05:00
|
|
|
"macaroon": "^3.0.4",
|
2020-03-25 16:17:45 -07:00
|
|
|
"md5": "^2.2.1",
|
2022-03-28 15:03:29 -05:00
|
|
|
"minimist": "^1.2.6",
|
2021-07-21 22:29:12 -05:00
|
|
|
"mqtt": "^4.2.8",
|
2020-03-25 16:17:45 -07:00
|
|
|
"multer": "^1.4.2",
|
2021-05-13 16:48:55 -07:00
|
|
|
"njwt": "^1.0.0",
|
2022-03-28 15:03:29 -05:00
|
|
|
"node-fetch": "^2.6.7",
|
|
|
|
|
"node-forge": "^1.3.0",
|
2022-03-09 18:09:05 -08:00
|
|
|
"octokit": "^1.7.1",
|
2021-02-26 10:50:51 -08:00
|
|
|
"pg": "^8.0.3",
|
|
|
|
|
"pg-hstore": "^2.3.3",
|
2020-03-25 16:17:45 -07:00
|
|
|
"public-ip": "^4.0.0",
|
2020-04-20 15:56:30 -07:00
|
|
|
"qrcode": "^1.4.4",
|
2020-11-25 14:48:49 -06:00
|
|
|
"qs": "^6.9.4",
|
2020-03-25 16:17:45 -07:00
|
|
|
"read-last-lines": "^1.7.2",
|
|
|
|
|
"reflect-metadata": "^0.1.13",
|
|
|
|
|
"request": "^2.88.0",
|
|
|
|
|
"request-promise": "^4.2.5",
|
2020-05-15 13:53:20 -07:00
|
|
|
"rncryptor-js": "0.0.1",
|
2021-07-07 17:42:47 -07:00
|
|
|
"secp256k1": "3.8.0",
|
2021-05-13 16:48:55 -07:00
|
|
|
"secure-random": "^1.1.2",
|
2022-06-13 17:37:41 +02:00
|
|
|
"sequelize": "^5.19.3",
|
2020-03-25 16:17:45 -07:00
|
|
|
"sequelize-cli": "^5.5.1",
|
|
|
|
|
"sequelize-typescript": "^1.1.0",
|
2020-05-28 14:20:31 -07:00
|
|
|
"short-uuid": "^3.1.1",
|
2020-05-15 13:53:20 -07:00
|
|
|
"sjcl": "^1.0.8",
|
2022-03-30 11:20:37 -05:00
|
|
|
"socket.io": "^4.4.1",
|
2023-09-12 00:18:55 +01:00
|
|
|
"sphinx-bot": "^0.2.43",
|
2022-08-30 09:12:46 -05:00
|
|
|
"sqlite3": "5.0.11",
|
2020-03-25 16:17:45 -07:00
|
|
|
"tail": "^2.0.3",
|
2022-08-23 11:56:03 -06:00
|
|
|
"ts-jest": "^28.0.8",
|
2020-03-25 16:17:45 -07:00
|
|
|
"ts-node": "^8.5.4",
|
2021-01-16 14:01:46 -08:00
|
|
|
"typescript": "^4.1.3",
|
2021-07-21 22:29:12 -05:00
|
|
|
"underscore": "^1.13.1",
|
2020-03-25 16:17:45 -07:00
|
|
|
"winston": "^3.2.1",
|
2021-07-21 22:29:12 -05:00
|
|
|
"ws": "^7.5.3",
|
2023-02-05 00:57:54 +01:00
|
|
|
"yup": "^0.32.9"
|
2020-03-25 16:17:45 -07:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2022-07-26 19:55:41 +02:00
|
|
|
"@types/cron": "^2.0.0",
|
|
|
|
|
"@types/crypto-js": "^4.1.1",
|
|
|
|
|
"@types/ip": "^1.1.0",
|
2022-08-24 11:50:25 -07:00
|
|
|
"@types/jest": "^28.1.8",
|
2022-07-26 19:55:41 +02:00
|
|
|
"@types/md5": "^2.3.2",
|
|
|
|
|
"@types/minimist": "^1.2.2",
|
|
|
|
|
"@types/multer": "^1.4.7",
|
|
|
|
|
"@types/node": "^17.0.35",
|
|
|
|
|
"@types/pg": "^8.6.5",
|
|
|
|
|
"@types/qrcode": "^1.4.2",
|
|
|
|
|
"@types/secure-random": "^1.1.0",
|
|
|
|
|
"@types/underscore": "^1.11.4",
|
2021-07-21 22:29:12 -05:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.28.2",
|
2022-03-18 11:17:15 -07:00
|
|
|
"@typescript-eslint/parser": "^4.33.0",
|
2021-07-08 19:48:00 -05:00
|
|
|
"ava": "^3.15.0",
|
2021-09-12 13:15:09 -05:00
|
|
|
"ava-http": "^1.0.0",
|
2021-07-21 22:29:12 -05:00
|
|
|
"eslint": "^7.30.0",
|
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
2023-07-19 09:39:57 -05:00
|
|
|
"eslint-plugin-import": "^2.27.5",
|
2021-07-21 22:38:31 -05:00
|
|
|
"husky": "^7.0.1",
|
2021-07-21 22:29:12 -05:00
|
|
|
"prettier": "^2.3.2",
|
2022-03-30 11:20:37 -05:00
|
|
|
"pretty-quick": "^3.1.1",
|
|
|
|
|
"socket.io-client": "^4.4.1",
|
|
|
|
|
"socket.io-client-legacy": "npm:socket.io-client@^2.4.0"
|
2020-05-01 10:18:44 -07:00
|
|
|
},
|
|
|
|
|
"pkg": {
|
2023-01-26 22:34:24 +01:00
|
|
|
"assets": [
|
|
|
|
|
"config/*",
|
|
|
|
|
"dist/config/*"
|
|
|
|
|
]
|
2020-05-01 10:18:44 -07:00
|
|
|
},
|
2021-07-21 22:40:14 -05:00
|
|
|
"husky": {
|
|
|
|
|
"hooks": {
|
|
|
|
|
"pre-commit": "pretty-quick --staged"
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-05-01 10:18:44 -07:00
|
|
|
"bin": "dist/app.js"
|
2020-03-25 16:17:45 -07:00
|
|
|
}
|