2022-06-22 10:33:00 +00:00
|
|
|
{
|
|
|
|
"name": "@standardnotes/auth-server",
|
2023-07-12 09:20:55 +00:00
|
|
|
"version": "1.123.1",
|
2022-06-22 10:33:00 +00:00
|
|
|
"engines": {
|
2023-05-09 09:47:45 +00:00
|
|
|
"node": ">=18.0.0 <21.0.0"
|
2022-06-22 10:33:00 +00:00
|
|
|
},
|
|
|
|
"description": "Auth Server",
|
|
|
|
"main": "dist/src/index.js",
|
|
|
|
"typings": "dist/src/index.d.ts",
|
2023-05-31 08:41:49 +00:00
|
|
|
"author": "Karol Sójko <karol@standardnotes.com>",
|
2022-06-22 10:33:00 +00:00
|
|
|
"license": "AGPL-3.0-or-later",
|
2023-05-31 10:59:20 +00:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
2022-06-22 10:33:00 +00:00
|
|
|
"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",
|
2023-05-16 09:38:56 +00:00
|
|
|
"lint:fix": "eslint . --fix --ext .ts",
|
2022-06-22 10:33:00 +00:00
|
|
|
"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",
|
2023-06-30 09:31:25 +00:00
|
|
|
"upgrade:snjs": "yarn ncu -u '@standardnotes/*'",
|
|
|
|
"migrate": "yarn build && yarn typeorm migration:run -d dist/src/Bootstrap/DataSource.js"
|
2022-06-22 10:33:00 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-05-15 10:16:34 +00:00
|
|
|
"@aws-sdk/client-sns": "^3.332.0",
|
|
|
|
"@aws-sdk/client-sqs": "^3.332.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-05-08 10:16:18 +00:00
|
|
|
"@simplewebauthn/server": "^7.2.0",
|
2023-03-10 13:25:17 +00:00
|
|
|
"@simplewebauthn/typescript-types": "^7.0.0",
|
2023-07-12 08:19:22 +00:00
|
|
|
"@standardnotes/api": "^1.26.25",
|
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-07-12 09:05:44 +00:00
|
|
|
"@standardnotes/features": "^1.59.6",
|
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",
|
|
|
|
"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",
|
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",
|
2023-05-08 10:16:18 +00:00
|
|
|
"sqlite3": "^5.1.6",
|
2023-05-05 09:05:52 +00:00
|
|
|
"typeorm": "^0.3.15",
|
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",
|
|
|
|
"@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-05-31 13:01:55 +00:00
|
|
|
"@types/node": "^20.2.5",
|
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-05-05 08:58:36 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
2023-05-05 09:17:26 +00:00
|
|
|
"@typescript-eslint/parser": "^5.59.2",
|
2023-05-05 08:58:36 +00:00
|
|
|
"eslint": "^8.39.0",
|
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
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 09:17:26 +00:00
|
|
|
"prettier": "^2.8.8",
|
2023-05-05 08:49:47 +00:00
|
|
|
"ts-jest": "^29.1.0",
|
2023-05-05 08:53:25 +00:00
|
|
|
"typescript": "^5.0.4"
|
2023-06-01 10:50:11 +00:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
|
|
|
"@newrelic/winston-enricher": "^4.0.1",
|
|
|
|
"@types/newrelic": "^9.13.0",
|
|
|
|
"newrelic": "^10.1.2"
|
2022-06-22 10:33:00 +00:00
|
|
|
}
|
|
|
|
}
|