package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "docstore-sharelatex",
  3. "version": "0.1.2",
  4. "description": "A CRUD API for handling text documents in projects",
  5. "author": "ShareLaTeX <team@sharelatex>",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/sharelatex/docstore-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/o-error": "^3.0.0",
  26. "@overleaf/object-persistor": "^1.0.1",
  27. "@overleaf/settings": "^2.1.1",
  28. "async": "^2.6.3",
  29. "body-parser": "^1.19.0",
  30. "bunyan": "^1.8.15",
  31. "celebrate": "^13.0.4",
  32. "express": "^4.17.1",
  33. "mongodb": "^3.6.0",
  34. "p-map": "^4.0.0",
  35. "request": "^2.88.2",
  36. "streamifier": "^0.1.1",
  37. "underscore": "~1.12.1"
  38. },
  39. "devDependencies": {
  40. "@google-cloud/storage": "^5.1.2",
  41. "chai": "^4.2.0",
  42. "chai-as-promised": "^7.1.1",
  43. "mocha": "^8.3.2",
  44. "sandboxed-module": "~2.0.4",
  45. "sinon": "~9.0.2",
  46. "sinon-chai": "^3.5.0"
  47. },
  48. "engines": {
  49. "node": "~6.14.1"
  50. }
  51. }