package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "chat-sharelatex",
  3. "version": "0.1.4",
  4. "description": "The backend API that powers ShareLaTeX chat",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/sharelatex/chat-sharelatex.git"
  8. },
  9. "scripts": {
  10. "compile:app": "([ -e app/coffee ] && coffee -m $COFFEE_OPTIONS -o app/js -c app/coffee || echo 'No CoffeeScript folder to compile') && ( [ -e app.coffee ] && coffee -m $COFFEE_OPTIONS -c app.coffee || echo 'No CoffeeScript app to compile')",
  11. "start": "node $NODE_APP_OPTIONS app.js",
  12. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  13. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  14. "compile:unit_tests": "[ ! -e test/unit/coffee ] && echo 'No unit tests to compile' || coffee -o test/unit/js -c test/unit/coffee",
  15. "compile:acceptance_tests": "[ ! -e test/acceptance/coffee ] && echo 'No acceptance tests to compile' || coffee -o test/acceptance/js -c test/acceptance/coffee",
  16. "compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests && npm run compile:smoke_tests",
  17. "nodemon": "nodemon --config nodemon.json",
  18. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  19. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  20. "compile:smoke_tests": "[ ! -e test/smoke/coffee ] && echo 'No smoke tests to compile' || coffee -o test/smoke/js -c test/smoke/coffee",
  21. "lint": "node_modules/.bin/eslint ."
  22. },
  23. "dependencies": {
  24. "async": "0.2.9",
  25. "coffee-script": "~1.7.1",
  26. "express": "3.3.1",
  27. "logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#master",
  28. "metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.7.1",
  29. "mongojs": "2.4.0",
  30. "redis": "~0.10.1",
  31. "request": "^2.79.0",
  32. "settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
  33. "v8-profiler": "^5.6.5"
  34. },
  35. "devDependencies": {
  36. "bunyan": "^1.0.0",
  37. "chai": "",
  38. "grunt": "~0.4.1",
  39. "grunt-bunyan": "^0.5.0",
  40. "grunt-concurrent": "~0.4.2",
  41. "grunt-contrib-clean": "~0.5.0",
  42. "grunt-contrib-coffee": "~0.7.0",
  43. "grunt-contrib-watch": "~0.5.3",
  44. "grunt-execute": "^0.2.2",
  45. "grunt-forever": "^0.4.7",
  46. "grunt-mocha-test": "~0.8.0",
  47. "grunt-nodemon": "~0.1.2",
  48. "grunt-notify": "~0.2.16",
  49. "grunt-plato": "~0.2.1",
  50. "mocha": "^4.1.0",
  51. "nodemon": "^1.14.11",
  52. "sandboxed-module": "",
  53. "sinon": "",
  54. "timekeeper": ""
  55. }
  56. }