overleaf/services/notifications/package.json
Christopher Hoskin e86ef1139e Merge pull request #15350 from overleaf/csh-issue-11625-mongo-ug-5-notifications
Use mongodb-legacy in notifications for callback support

GitOrigin-RevId: 90f05f747e221c1bd61564e2e28e505d0b125467
2023-10-24 08:03:15 +00:00

40 lines
1.3 KiB
JSON

{
"name": "@overleaf/notifications",
"description": "An API to handle user notifications",
"private": true,
"main": "app.js",
"scripts": {
"start": "node $NODE_APP_OPTIONS app.js",
"test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
"test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
"test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
"nodemon": "node --watch $NODE_APP_OPTIONS app.js",
"lint": "eslint --max-warnings 0 --format unix .",
"format": "prettier --list-different $PWD/'**/*.js'",
"format:fix": "prettier --write $PWD/'**/*.js'",
"lint:fix": "eslint --fix ."
},
"author": "",
"license": "ISC",
"dependencies": {
"@overleaf/logger": "*",
"@overleaf/metrics": "*",
"@overleaf/settings": "*",
"async": "^3.2.2",
"body-parser": "^1.19.0",
"bunyan": "^1.8.15",
"express": "^4.18.2",
"method-override": "^3.0.0",
"mongodb": "^6.1.0",
"mongodb-legacy": "^6.0.1",
"request": "^2.88.2"
},
"devDependencies": {
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"mocha": "^10.2.0",
"sandboxed-module": "^2.0.4",
"sinon": "^9.2.4"
}
}