package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "name": "contacts-sharelatex",
  3. "version": "0.1.0",
  4. "description": "An API for tracking contacts of a user",
  5. "author": "ShareLaTeX <team@sharelatex.com>",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/sharelatex/contacts-sharelatex.git"
  9. },
  10. "scripts": {
  11. "start": "node $NODE_APP_OPTIONS app.js",
  12. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  13. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  14. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  15. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  16. "nodemon": "nodemon --config nodemon.json",
  17. "lint": "../../node_modules/.bin/eslint --max-warnings 0 --format unix .",
  18. "format": "../../node_modules/.bin/prettier --list-different $PWD/'**/*.js'",
  19. "format:fix": "../../node_modules/.bin/prettier --write $PWD/'**/*.js'",
  20. "lint:fix": "../../node_modules/.bin/eslint --fix ."
  21. },
  22. "dependencies": {
  23. "@overleaf/logger": "^3.1.0",
  24. "@overleaf/metrics": "^4.0.0",
  25. "@overleaf/settings": "^2.1.1",
  26. "async": "^2.6.3",
  27. "body-parser": "^1.19.0",
  28. "bunyan": "^1.8.15",
  29. "express": "^4.17.1",
  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. "mocha": "^8.3.2",
  38. "sandboxed-module": "~2.0.3",
  39. "sinon": "~9.0.1",
  40. "timekeeper": "2.2.0"
  41. }
  42. }