package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "name": "document-updater-sharelatex",
  3. "version": "0.1.4",
  4. "description": "An API for applying incoming updates to documents in real-time",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/sharelatex/document-updater-sharelatex.git"
  8. },
  9. "scripts": {
  10. "compile:app": "([ -e app/coffee ] && coffee $COFFEE_OPTIONS -o app/js -c app/coffee || echo 'No CoffeeScript folder to compile') && ( [ -e app.coffee ] && coffee $COFFEE_OPTIONS -c app.coffee || echo 'No CoffeeScript app to compile')",
  11. "start": "npm run compile:app && 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 compile:app && npm run compile:acceptance_tests && npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  14. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  15. "test:unit": "npm run compile:app && npm run compile:unit_tests && npm run test:unit:_run -- --grep=$MOCHA_GREP",
  16. "compile:unit_tests": "[ ! -e test/unit/coffee ] && echo 'No unit tests to compile' || coffee -o test/unit/js -c test/unit/coffee",
  17. "compile:acceptance_tests": "[ ! -e test/acceptance/coffee ] && echo 'No acceptance tests to compile' || coffee -o test/acceptance/js -c test/acceptance/coffee",
  18. "compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests",
  19. "nodemon": "nodemon --config nodemon.json"
  20. },
  21. "dependencies": {
  22. "async": "^2.5.0",
  23. "coffee-script": "~1.7.0",
  24. "express": "3.3.4",
  25. "logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.5.6",
  26. "lynx": "0.0.11",
  27. "metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.5.0",
  28. "redis-sharelatex": "git+https://github.com/sharelatex/redis-sharelatex.git#v1.0.4",
  29. "request": "2.25.0",
  30. "requestretry": "^1.12.0",
  31. "sandboxed-module": "~0.2.0",
  32. "settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
  33. "sinon": "~1.5.2",
  34. "underscore": "1.2.2"
  35. },
  36. "devDependencies": {
  37. "bunyan": "~0.22.1",
  38. "chai": "^3.5.0",
  39. "chai-spies": "^0.7.1",
  40. "cluster-key-slot": "^1.0.5",
  41. "mocha": "^5.0.1",
  42. "timekeeper": "^2.0.0"
  43. }
  44. }