package.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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": "node $NODE_APP_OPTIONS app.js",
  12. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  13. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  14. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  15. "test:unit": "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. "lint": "eslint --max-warnings 0 --format unix .",
  22. "format": "prettier --list-different $PWD/'**/*.js'",
  23. "format:fix": "prettier --write $PWD/'**/*.js'",
  24. "lint:fix": "eslint --fix ."
  25. },
  26. "version": "0.1.4",
  27. "dependencies": {
  28. "@overleaf/metrics": "^3.5.1",
  29. "@overleaf/o-error": "^3.0.0",
  30. "@overleaf/settings": "^2.1.1",
  31. "async": "^2.6.3",
  32. "body-parser": "^1.19.0",
  33. "bunyan": "^1.8.15",
  34. "express": "^4.17.1",
  35. "logger-sharelatex": "^2.2.0",
  36. "lru-cache": "^5.1.1",
  37. "mongodb": "^3.6.0",
  38. "request": "^2.88.2",
  39. "underscore": "1.13.1"
  40. },
  41. "devDependencies": {
  42. "chai": "^4.2.0",
  43. "chai-as-promised": "^7.1.1",
  44. "eslint": "^7.21.0",
  45. "eslint-config-prettier": "^8.1.0",
  46. "eslint-config-standard": "^16.0.2",
  47. "eslint-plugin-chai-expect": "^2.2.0",
  48. "eslint-plugin-chai-friendly": "^0.6.0",
  49. "eslint-plugin-import": "^2.22.1",
  50. "eslint-plugin-mocha": "^8.0.0",
  51. "eslint-plugin-node": "^11.1.0",
  52. "eslint-plugin-prettier": "^3.1.2",
  53. "eslint-plugin-promise": "^4.2.1",
  54. "mocha": "^8.3.2",
  55. "prettier": "^2.2.1",
  56. "sandboxed-module": "2.0.4",
  57. "sinon": "^9.0.1"
  58. }
  59. }