package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "notifications-sharelatex",
  3. "version": "0.0.1",
  4. "description": "An API to handle user notifications",
  5. "main": "app.js",
  6. "scripts": {
  7. "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')",
  8. "start": "npm run compile:app && node $NODE_APP_OPTIONS app.js",
  9. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 30000 --exit $@ test/acceptance/js",
  10. "test:acceptance": "npm run compile:app && npm run compile:acceptance_tests && npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  11. "test:unit:_run": "mocha --recursive --reporter spec --exit $@ test/unit/js",
  12. "test:unit": "npm run compile:app && npm run compile:unit_tests && npm run test:unit:_run -- --grep=$MOCHA_GREP",
  13. "compile:unit_tests": "[ ! -e test/unit/coffee ] && echo 'No unit tests to compile' || coffee -o test/unit/js -c test/unit/coffee",
  14. "compile:acceptance_tests": "[ ! -e test/acceptance/coffee ] && echo 'No acceptance tests to compile' || coffee -o test/acceptance/js -c test/acceptance/coffee",
  15. "compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests && npm run compile:smoke_tests",
  16. "nodemon": "nodemon --config nodemon.json",
  17. "compile:smoke_tests": "[ ! -e test/smoke/coffee ] && echo 'No smoke tests to compile' || coffee -o test/smoke/js -c test/smoke/coffee"
  18. },
  19. "author": "",
  20. "license": "ISC",
  21. "dependencies": {
  22. "async": "^0.1.22",
  23. "coffee-script": "^1.7.1",
  24. "express": "3.1.0",
  25. "logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.1.0",
  26. "metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.7.1",
  27. "mongojs": "^2.4.0",
  28. "node-statsd": "0.0.3",
  29. "request": "^2.65.0",
  30. "settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
  31. "underscore": "1.4.4"
  32. },
  33. "devDependencies": {
  34. "bunyan": "^1.0.0",
  35. "chai": "",
  36. "grunt": "^0.4.5",
  37. "grunt-bunyan": "^0.5.0",
  38. "grunt-contrib-clean": "^0.6.0",
  39. "grunt-contrib-coffee": "^0.11.0",
  40. "grunt-execute": "^0.2.2",
  41. "grunt-mocha-test": "^0.11.0",
  42. "sandboxed-module": "",
  43. "sinon": ""
  44. }
  45. }