package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "notifications-sharelatex",
  3. "version": "0.0.1",
  4. "description": "An API to handle user notifications",
  5. "main": "app.js",
  6. "scripts": {
  7. "start": "node $NODE_APP_OPTIONS app.js",
  8. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  9. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  10. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  11. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  12. "nodemon": "nodemon --config nodemon.json",
  13. "lint": "eslint --max-warnings 0 --format unix .",
  14. "format": "prettier --list-different $PWD/'**/*.js'",
  15. "format:fix": "prettier --write $PWD/'**/*.js'",
  16. "lint:fix": "eslint --fix ."
  17. },
  18. "author": "",
  19. "license": "ISC",
  20. "dependencies": {
  21. "@overleaf/metrics": "^3.5.1",
  22. "@overleaf/settings": "^2.1.1",
  23. "async": "^2.6.3",
  24. "body-parser": "^1.19.0",
  25. "bunyan": "^1.8.15",
  26. "errorhandler": "^1.5.1",
  27. "express": "4.17.1",
  28. "logger-sharelatex": "^2.2.0",
  29. "method-override": "^3.0.0",
  30. "mongodb": "^3.6.0",
  31. "request": "^2.88.2",
  32. "underscore": "1.13.1"
  33. },
  34. "devDependencies": {
  35. "chai": "^4.2.0",
  36. "chai-as-promised": "^7.1.1",
  37. "eslint": "^7.21.0",
  38. "eslint-config-prettier": "^8.1.0",
  39. "eslint-config-standard": "^16.0.2",
  40. "eslint-plugin-chai-expect": "^2.2.0",
  41. "eslint-plugin-chai-friendly": "^0.6.0",
  42. "eslint-plugin-import": "^2.22.1",
  43. "eslint-plugin-mocha": "^8.0.0",
  44. "eslint-plugin-node": "^11.1.0",
  45. "eslint-plugin-prettier": "^3.1.2",
  46. "eslint-plugin-promise": "^4.2.1",
  47. "mocha": "^8.3.2",
  48. "prettier": "^2.2.1",
  49. "sandboxed-module": "^2.0.3",
  50. "sinon": "^9.0.1"
  51. }
  52. }