package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "overleaf-editor",
  3. "version": "1.0.0",
  4. "description": "Overleaf Editor.",
  5. "author": "",
  6. "license": "Proprietary",
  7. "private": true,
  8. "dependencies": {
  9. "@overleaf/logger": "*",
  10. "@overleaf/metrics": "*",
  11. "@overleaf/o-error": "*",
  12. "@overleaf/object-persistor": "*",
  13. "@overleaf/stream-utils": "^0.1.0",
  14. "archiver": "^5.3.0",
  15. "basic-auth": "^2.0.1",
  16. "bluebird": "^3.7.2",
  17. "body-parser": "^1.19.0",
  18. "bunyan": "^1.8.12",
  19. "check-types": "^11.1.2",
  20. "command-line-args": "^3.0.3",
  21. "config": "^1.19.0",
  22. "cookie-parser": "~1.4.5",
  23. "cors": "^2.8.5",
  24. "express": "^4.18.2",
  25. "fs-extra": "^9.0.1",
  26. "generic-pool": "^2.1.1",
  27. "helmet": "^3.22.0",
  28. "http-status": "^1.4.2",
  29. "jsonwebtoken": "^9.0.0",
  30. "knex": "^2.4.0",
  31. "lodash": "^4.17.19",
  32. "mongodb": "^6.2.0",
  33. "overleaf-editor-core": "*",
  34. "pg": "^8.7.1",
  35. "swagger-tools": "^0.10.4",
  36. "temp": "^0.8.3",
  37. "throng": "^4.0.0",
  38. "tsscmp": "^1.0.6",
  39. "utf-8-validate": "^5.0.4"
  40. },
  41. "devDependencies": {
  42. "benny": "^3.7.1",
  43. "chai": "^4.3.6",
  44. "chai-as-promised": "^7.1.1",
  45. "mocha": "^10.2.0",
  46. "node-fetch": "^2.6.7",
  47. "sinon": "^9.0.2",
  48. "swagger-client": "^3.10.0",
  49. "yauzl": "^2.9.1"
  50. },
  51. "scripts": {
  52. "start": "node app.js",
  53. "lint": "eslint --max-warnings 0 --format unix .",
  54. "lint:fix": "eslint --fix .",
  55. "format": "prettier --list-different $PWD/'**/*.js'",
  56. "format:fix": "prettier --write $PWD/'**/*.js'",
  57. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  58. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  59. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  60. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  61. "nodemon": "node --watch app.js",
  62. "migrate": "knex migrate:latest",
  63. "delete_old_chunks": "node storage/tasks/delete_old_chunks.js",
  64. "fix_duplicate_versions": "node storage/tasks/fix_duplicate_versions.js",
  65. "benchmarks": "node benchmarks/index.js"
  66. }
  67. }