package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 -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')",
  8. "start": "node $NODE_APP_OPTIONS app.js",
  9. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  10. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  11. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  12. "test:unit": "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. "lint": "node_modules/.bin/eslint .",
  19. "format": "node_modules/.bin/prettier-eslint '**/*.js' --list-different",
  20. "format:fix": "node_modules/.bin/prettier-eslint '**/*.js' --write"
  21. },
  22. "author": "",
  23. "license": "ISC",
  24. "dependencies": {
  25. "async": "^0.1.22",
  26. "coffee-script": "^1.7.1",
  27. "express": "3.1.0",
  28. "logger-sharelatex": "^1.7.0",
  29. "metrics-sharelatex": "^2.2.0",
  30. "mongojs": "^2.4.0",
  31. "node-statsd": "0.0.3",
  32. "request": "^2.65.0",
  33. "settings-sharelatex": "^1.1.0",
  34. "underscore": "1.4.4"
  35. },
  36. "devDependencies": {
  37. "bunyan": "^1.0.0",
  38. "chai": "^4.2.0",
  39. "mocha": "^4.1.0",
  40. "sandboxed-module": "^2.0.3",
  41. "sinon": "^6.3.5"
  42. }
  43. }