102 lines
3.4 KiB
JSON
102 lines
3.4 KiB
JSON
|
{
|
||
|
"name": "@standardnotes/auth-server",
|
||
|
"version": "1.176.5",
|
||
|
"engines": {
|
||
|
"node": ">=18.0.0 <21.0.0"
|
||
|
},
|
||
|
"description": "Auth Server",
|
||
|
"main": "dist/src/index.js",
|
||
|
"typings": "dist/src/index.d.ts",
|
||
|
"author": "Karol Sójko <karol@standardnotes.com>",
|
||
|
"license": "AGPL-3.0-or-later",
|
||
|
"publishConfig": {
|
||
|
"access": "public",
|
||
|
"provenance": true
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git@github.com:standardnotes/server.git",
|
||
|
"directory": "packages/auth"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"clean": "rm -fr dist",
|
||
|
"setup:env": "cp .env.sample .env",
|
||
|
"build": "tsc --build",
|
||
|
"lint": "eslint . --ext .ts",
|
||
|
"lint:fix": "eslint . --fix --ext .ts",
|
||
|
"pretest": "yarn lint && yarn build",
|
||
|
"test": "jest --coverage --no-cache --config=./jest.config.js --maxWorkers=50%",
|
||
|
"start": "yarn node dist/bin/server.js",
|
||
|
"worker": "yarn node dist/bin/worker.js",
|
||
|
"cleanup": "yarn node dist/bin/cleanup.js",
|
||
|
"stats": "yarn node dist/bin/stats.js",
|
||
|
"daily-backup:email": "yarn node dist/bin/backup.js daily",
|
||
|
"user-email-backup": "yarn node dist/bin/user_email_backup.js",
|
||
|
"weekly-backup:email": "yarn node dist/bin/backup.js weekly",
|
||
|
"content-recalculation": "yarn node dist/bin/content.js",
|
||
|
"typeorm": "typeorm-ts-node-commonjs",
|
||
|
"migrate": "yarn build && yarn typeorm migration:run -d dist/src/Bootstrap/DataSource.js"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@aws-sdk/client-s3": "^3.462.0",
|
||
|
"@aws-sdk/client-sns": "^3.462.0",
|
||
|
"@aws-sdk/client-sqs": "^3.462.0",
|
||
|
"@cbor-extract/cbor-extract-linux-arm64": "^2.1.1",
|
||
|
"@cbor-extract/cbor-extract-linux-x64": "^2.1.1",
|
||
|
"@grpc/grpc-js": "^1.9.12",
|
||
|
"@simplewebauthn/server": "^8.1.1",
|
||
|
"@simplewebauthn/typescript-types": "^8.0.0",
|
||
|
"@standardnotes/api": "^1.26.26",
|
||
|
"@standardnotes/common": "workspace:*",
|
||
|
"@standardnotes/domain-core": "workspace:^",
|
||
|
"@standardnotes/domain-events": "workspace:*",
|
||
|
"@standardnotes/domain-events-infra": "workspace:*",
|
||
|
"@standardnotes/features": "^1.59.7",
|
||
|
"@standardnotes/grpc": "workspace:^",
|
||
|
"@standardnotes/predicates": "workspace:*",
|
||
|
"@standardnotes/responses": "^1.13.27",
|
||
|
"@standardnotes/security": "workspace:*",
|
||
|
"@standardnotes/settings": "workspace:*",
|
||
|
"@standardnotes/sncrypto-common": "^1.13.4",
|
||
|
"@standardnotes/sncrypto-node": "workspace:*",
|
||
|
"@standardnotes/time": "workspace:*",
|
||
|
"bcryptjs": "2.4.3",
|
||
|
"cors": "2.8.5",
|
||
|
"dayjs": "^1.11.6",
|
||
|
"dotenv": "^16.0.1",
|
||
|
"express": "^4.18.2",
|
||
|
"inversify": "^6.0.1",
|
||
|
"inversify-express-utils": "^6.4.3",
|
||
|
"ioredis": "^5.2.4",
|
||
|
"mysql2": "^3.0.1",
|
||
|
"otplib": "12.0.1",
|
||
|
"prettyjson": "^1.2.5",
|
||
|
"reflect-metadata": "0.1.13",
|
||
|
"sqlite3": "^5.1.6",
|
||
|
"typeorm": "^0.3.17",
|
||
|
"ua-parser-js": "^1.0.35",
|
||
|
"uuid": "^9.0.0",
|
||
|
"winston": "^3.8.1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/bcryptjs": "^2.4.2",
|
||
|
"@types/cors": "^2.8.9",
|
||
|
"@types/express": "^4.17.14",
|
||
|
"@types/ioredis": "^5.0.0",
|
||
|
"@types/jest": "^29.5.1",
|
||
|
"@types/node": "^20.5.7",
|
||
|
"@types/otplib": "^10.0.0",
|
||
|
"@types/prettyjson": "^0.0.30",
|
||
|
"@types/ua-parser-js": "^0.7.36",
|
||
|
"@types/uuid": "^9.0.3",
|
||
|
"@typescript-eslint/eslint-plugin": "^6.5.0",
|
||
|
"@typescript-eslint/parser": "^6.5.0",
|
||
|
"eslint": "^8.39.0",
|
||
|
"eslint-plugin-prettier": "^5.0.0",
|
||
|
"jest": "^29.5.0",
|
||
|
"prettier": "^3.0.3",
|
||
|
"ts-jest": "^29.1.0",
|
||
|
"typescript": "^5.0.4"
|
||
|
}
|
||
|
}
|