package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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": "eslint --max-warnings 0 --format unix .",
  18. "format": "prettier --list-different $PWD/'**/*.js'",
  19. "format:fix": "prettier --write $PWD/'**/*.js'",
  20. "lint:fix": "eslint --fix ."
  21. },
  22. "dependencies": {
  23. "@overleaf/metrics": "^3.5.1",
  24. "@overleaf/settings": "^2.1.1",
  25. "async": "^2.6.3",
  26. "body-parser": "^1.19.0",
  27. "bunyan": "^1.8.15",
  28. "express": "^4.17.1",
  29. "logger-sharelatex": "^2.2.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. "timekeeper": "2.2.0"
  52. }
  53. }