package.json 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. "babel-eslint": "^10.0.3",
  38. "bunyan": "^1.0.0",
  39. "chai": "^4.2.0",
  40. "eslint": "^6.6.0",
  41. "eslint-config-prettier": "^6.9.0",
  42. "eslint-config-standard": "^14.1.0",
  43. "eslint-config-standard-jsx": "^8.1.0",
  44. "eslint-config-standard-react": "^9.2.0",
  45. "eslint-plugin-chai-expect": "^2.1.0",
  46. "eslint-plugin-chai-friendly": "^0.5.0",
  47. "eslint-plugin-import": "^2.20.0",
  48. "eslint-plugin-jsx-a11y": "^6.2.3",
  49. "eslint-plugin-mocha": "^6.2.2",
  50. "eslint-plugin-node": "^11.0.0",
  51. "eslint-plugin-prettier": "^3.1.2",
  52. "eslint-plugin-promise": "^4.2.1",
  53. "eslint-plugin-react": "^7.17.0",
  54. "eslint-plugin-standard": "^4.0.1",
  55. "mocha": "^4.1.0",
  56. "prettier": "^1.19.1",
  57. "prettier-eslint-cli": "^5.0.0",
  58. "sandboxed-module": "^2.0.3",
  59. "sinon": "^6.3.5"
  60. }
  61. }