package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. "express": "4.17.1",
  27. "logger-sharelatex": "^2.2.0",
  28. "method-override": "^3.0.0",
  29. "mongodb": "^3.6.0",
  30. "request": "^2.88.2",
  31. "underscore": "1.13.1"
  32. },
  33. "devDependencies": {
  34. "chai": "^4.2.0",
  35. "chai-as-promised": "^7.1.1",
  36. "eslint": "^7.21.0",
  37. "eslint-config-prettier": "^8.1.0",
  38. "eslint-config-standard": "^16.0.2",
  39. "eslint-plugin-chai-expect": "^2.2.0",
  40. "eslint-plugin-chai-friendly": "^0.6.0",
  41. "eslint-plugin-import": "^2.22.1",
  42. "eslint-plugin-mocha": "^8.0.0",
  43. "eslint-plugin-node": "^11.1.0",
  44. "eslint-plugin-prettier": "^3.1.2",
  45. "eslint-plugin-promise": "^4.2.1",
  46. "mocha": "^8.3.2",
  47. "prettier": "^2.2.1",
  48. "sandboxed-module": "^2.0.3",
  49. "sinon": "^9.0.1"
  50. }
  51. }