package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "filestore-sharelatex",
  3. "version": "0.1.4",
  4. "description": "An API for CRUD operations on binary files stored in S3",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/sharelatex/filestore-sharelatex.git"
  8. },
  9. "scripts": {
  10. "test:acceptance:run": "mocha --recursive --reporter spec --timeout 15000 $@ test/acceptance/js",
  11. "test:acceptance": "npm run compile:app && npm run compile:acceptance_tests && npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  12. "test:unit:run": "mocha --recursive --reporter spec $@ test/unit/js",
  13. "test:unit": "npm run compile:app && npm run compile:unit_tests && 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: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')",
  17. "compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests && npm run compile:smoke_tests",
  18. "start": "npm run compile:app && node $NODE_APP_OPTIONS app.js",
  19. "nodemon": "nodemon --config nodemon.json",
  20. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 30000 --exit $@ test/acceptance/js",
  21. "test:unit:_run": "mocha --recursive --reporter spec --exit $@ test/unit/js",
  22. "compile:smoke_tests": "[ ! -e test/smoke/coffee ] && echo 'No smoke tests to compile' || coffee -o test/smoke/js -c test/smoke/coffee"
  23. },
  24. "dependencies": {
  25. "async": "~0.2.10",
  26. "aws-sdk": "^2.1.39",
  27. "body-parser": "^1.2.0",
  28. "express": "^4.2.0",
  29. "fs-extra": "^1.0.0",
  30. "heapdump": "^0.3.2",
  31. "knox": "~0.9.1",
  32. "logger-sharelatex": "^1.6.0",
  33. "metrics-sharelatex": "^2.1.1",
  34. "mocha": "5.2.0",
  35. "node-transloadit": "0.0.4",
  36. "node-uuid": "~1.4.1",
  37. "pngcrush": "0.0.3",
  38. "range-parser": "^1.0.2",
  39. "recluster": "^0.3.7",
  40. "request": "2.14.0",
  41. "response": "0.14.0",
  42. "rimraf": "2.2.8",
  43. "settings-sharelatex": "^1.1.0",
  44. "stream-browserify": "^2.0.1",
  45. "stream-buffers": "~0.2.5",
  46. "underscore": "~1.5.2"
  47. },
  48. "devDependencies": {
  49. "bunyan": "^1.3.5",
  50. "chai": "4.2.0",
  51. "sandboxed-module": "2.0.3",
  52. "sinon": "7.1.1"
  53. }
  54. }