package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "spelling-sharelatex",
  3. "author": "ShareLaTeX <team@sharelatex.com>",
  4. "description": "A JSON API wrapper around aspell",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/sharelatex/spelling-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": "npm run compile:app && node $NODE_APP_OPTIONS app.js",
  12. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 30000 --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 --exit $@ 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 && npm run compile:smoke_tests",
  19. "nodemon": "nodemon --config nodemon.json",
  20. "compile:smoke_tests": "[ ! -e test/smoke/coffee ] && echo 'No smoke tests to compile' || coffee -o test/smoke/js -c test/smoke/coffee"
  21. },
  22. "version": "0.1.4",
  23. "dependencies": {
  24. "async": "0.1.22",
  25. "body-parser": "^1.12.0",
  26. "coffee-script": "^1.9.1",
  27. "express": "^4.12.1",
  28. "logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.5.9",
  29. "lru-cache": "^4.0.0",
  30. "metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v2.0.12",
  31. "mongojs": "2.4.0",
  32. "node-statsd": "0.0.3",
  33. "redis": "~0.8.4",
  34. "request": "^2.53.0",
  35. "settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
  36. "underscore": "1.4.4",
  37. "v8-profiler": "^5.2.4"
  38. },
  39. "devDependencies": {
  40. "bunyan": "^1.0.0",
  41. "mocha": "^4.1.0",
  42. "chai": "",
  43. "grunt": "^0.4.5",
  44. "grunt-bunyan": "^0.5.0",
  45. "grunt-contrib-clean": "^0.6.0",
  46. "grunt-contrib-coffee": "^0.11.0",
  47. "grunt-execute": "^0.2.2",
  48. "sandboxed-module": "",
  49. "sinon": "^1.17.0"
  50. }
  51. }