2022-06-22 10:33:00 +00:00
|
|
|
{
|
|
|
|
"name": "@standardnotes/auth-server",
|
2023-05-04 09:39:16 +00:00
|
|
|
"version": "1.103.1",
|
2022-06-22 10:33:00 +00:00
|
|
|
"engines": {
|
2022-11-14 09:21:18 +00:00
|
|
|
"node": ">=18.0.0 <19.0.0"
|
2022-06-22 10:33:00 +00:00
|
|
|
},
|
2022-07-06 08:07:44 +00:00
|
|
|
"private": true,
|
2022-06-22 10:33:00 +00:00
|
|
|
"description": "Auth Server",
|
|
|
|
"main": "dist/src/index.js",
|
|
|
|
"typings": "dist/src/index.d.ts",
|
|
|
|
"author": "Karol Sójko <karolsojko@standardnotes.com>",
|
|
|
|
"license": "AGPL-3.0-or-later",
|
|
|
|
"scripts": {
|
|
|
|
"clean": "rm -fr dist",
|
2022-06-24 13:18:41 +00:00
|
|
|
"setup:env": "cp .env.sample .env",
|
2022-10-19 08:25:01 +00:00
|
|
|
"build": "tsc --build",
|
2022-06-22 10:33:00 +00:00
|
|
|
"lint": "eslint . --ext .ts",
|
|
|
|
"pretest": "yarn lint && yarn build",
|
|
|
|
"test": "jest --coverage --config=./jest.config.js --maxWorkers=50%",
|
|
|
|
"start": "yarn node dist/bin/server.js",
|
|
|
|
"worker": "yarn node dist/bin/worker.js",
|
2022-12-19 11:49:52 +00:00
|
|
|
"cleanup": "yarn node dist/bin/cleanup.js",
|
2022-12-19 14:19:43 +00:00
|
|
|
"stats": "yarn node dist/bin/stats.js",
|
2022-06-22 10:33:00 +00:00
|
|
|
"daily-backup:email": "yarn node dist/bin/backup.js email daily",
|
2022-08-10 09:18:01 +00:00
|
|
|
"user-email-backup": "yarn node dist/bin/user_email_backup.js",
|
2022-06-22 10:33:00 +00:00
|
|
|
"daily-backup:dropbox": "yarn node dist/bin/backup.js dropbox daily",
|
|
|
|
"daily-backup:google_drive": "yarn node dist/bin/backup.js google_drive daily",
|
|
|
|
"daily-backup:one_drive": "yarn node dist/bin/backup.js one_drive daily",
|
|
|
|
"weekly-backup:email": "yarn node dist/bin/backup.js email weekly",
|
2022-11-14 12:46:34 +00:00
|
|
|
"content-recalculation": "yarn node dist/bin/content.js",
|
2022-06-27 21:44:43 +00:00
|
|
|
"typeorm": "typeorm-ts-node-commonjs",
|
2022-06-27 21:47:19 +00:00
|
|
|
"upgrade:snjs": "yarn ncu -u '@standardnotes/*'"
|
2022-06-22 10:33:00 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-01-27 14:56:52 +00:00
|
|
|
"@aws-sdk/client-sns": "^3.259.0",
|
|
|
|
"@aws-sdk/client-sqs": "^3.259.0",
|
2023-01-23 10:44:27 +00:00
|
|
|
"@cbor-extract/cbor-extract-linux-arm64": "^2.1.1",
|
|
|
|
"@cbor-extract/cbor-extract-linux-x64": "^2.1.1",
|
2023-03-30 09:33:09 +00:00
|
|
|
"@newrelic/winston-enricher": "^4.0.1",
|
2023-02-27 10:46:00 +00:00
|
|
|
"@simplewebauthn/server": "^7.0.1",
|
2023-03-10 13:25:17 +00:00
|
|
|
"@simplewebauthn/typescript-types": "^7.0.0",
|
2023-03-01 19:51:26 +00:00
|
|
|
"@standardnotes/api": "^1.25.3",
|
2022-07-06 10:02:32 +00:00
|
|
|
"@standardnotes/common": "workspace:*",
|
2022-12-06 10:00:09 +00:00
|
|
|
"@standardnotes/domain-core": "workspace:^",
|
2022-07-06 08:19:27 +00:00
|
|
|
"@standardnotes/domain-events": "workspace:*",
|
|
|
|
"@standardnotes/domain-events-infra": "workspace:*",
|
2023-04-03 13:43:25 +00:00
|
|
|
"@standardnotes/features": "^1.58.12",
|
2022-07-06 08:49:22 +00:00
|
|
|
"@standardnotes/predicates": "workspace:*",
|
2023-03-01 19:51:26 +00:00
|
|
|
"@standardnotes/responses": "^1.13.9",
|
2022-07-06 09:27:19 +00:00
|
|
|
"@standardnotes/security": "workspace:*",
|
2022-07-06 10:05:54 +00:00
|
|
|
"@standardnotes/settings": "workspace:*",
|
2022-06-28 08:50:24 +00:00
|
|
|
"@standardnotes/sncrypto-common": "^1.9.0",
|
2022-07-06 10:13:38 +00:00
|
|
|
"@standardnotes/sncrypto-node": "workspace:*",
|
2022-07-06 09:46:04 +00:00
|
|
|
"@standardnotes/time": "workspace:*",
|
2022-11-10 14:35:32 +00:00
|
|
|
"axios": "^1.1.3",
|
2022-06-22 10:33:00 +00:00
|
|
|
"bcryptjs": "2.4.3",
|
2023-04-27 09:17:01 +00:00
|
|
|
"better-sqlite3": "^8.3.0",
|
2022-06-22 10:33:00 +00:00
|
|
|
"cors": "2.8.5",
|
2022-11-02 12:23:15 +00:00
|
|
|
"dayjs": "^1.11.6",
|
2022-07-12 13:24:35 +00:00
|
|
|
"dotenv": "^16.0.1",
|
2022-11-14 09:09:42 +00:00
|
|
|
"express": "^4.18.2",
|
2022-06-22 10:33:00 +00:00
|
|
|
"inversify": "^6.0.1",
|
|
|
|
"inversify-express-utils": "^6.4.3",
|
2022-11-14 09:08:54 +00:00
|
|
|
"ioredis": "^5.2.4",
|
2023-01-17 13:59:34 +00:00
|
|
|
"mysql2": "^3.0.1",
|
2023-04-21 12:11:25 +00:00
|
|
|
"newrelic": "^10.0.0",
|
2022-06-22 10:33:00 +00:00
|
|
|
"otplib": "12.0.1",
|
2022-07-12 18:14:33 +00:00
|
|
|
"prettyjson": "^1.2.5",
|
2022-06-22 10:33:00 +00:00
|
|
|
"reflect-metadata": "0.1.13",
|
2022-11-14 09:13:12 +00:00
|
|
|
"typeorm": "^0.3.10",
|
2022-11-10 14:37:31 +00:00
|
|
|
"ua-parser-js": "^1.0.32",
|
2022-09-06 08:57:30 +00:00
|
|
|
"uuid": "^9.0.0",
|
2022-07-12 18:20:03 +00:00
|
|
|
"winston": "^3.8.1"
|
2022-06-22 10:33:00 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/bcryptjs": "^2.4.2",
|
2023-04-27 09:17:01 +00:00
|
|
|
"@types/better-sqlite3": "^7.6.4",
|
2022-06-22 10:33:00 +00:00
|
|
|
"@types/cors": "^2.8.9",
|
2022-11-14 09:09:42 +00:00
|
|
|
"@types/express": "^4.17.14",
|
2022-11-14 09:08:54 +00:00
|
|
|
"@types/ioredis": "^5.0.0",
|
2023-05-05 08:49:47 +00:00
|
|
|
"@types/jest": "^29.5.1",
|
2023-04-21 12:11:25 +00:00
|
|
|
"@types/newrelic": "^9.13.0",
|
2022-06-22 10:33:00 +00:00
|
|
|
"@types/otplib": "^10.0.0",
|
2022-07-12 18:13:50 +00:00
|
|
|
"@types/prettyjson": "^0.0.30",
|
2022-06-22 10:33:00 +00:00
|
|
|
"@types/ua-parser-js": "^0.7.36",
|
|
|
|
"@types/uuid": "^8.3.0",
|
2023-01-20 09:16:04 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
|
|
"eslint": "^8.32.0",
|
2022-06-22 10:33:00 +00:00
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
2023-05-05 08:49:47 +00:00
|
|
|
"jest": "^29.5.0",
|
2022-07-15 09:46:32 +00:00
|
|
|
"nodemon": "^2.0.19",
|
2022-07-27 11:12:25 +00:00
|
|
|
"npm-check-updates": "^16.0.1",
|
2023-05-05 08:49:47 +00:00
|
|
|
"ts-jest": "^29.1.0",
|
2022-10-19 08:25:01 +00:00
|
|
|
"typescript": "^4.8.4"
|
2022-06-22 10:33:00 +00:00
|
|
|
}
|
|
|
|
}
|