package.json 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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": "node_modules/.bin/eslint --max-warnings 0 .",
  22. "format": "node_modules/.bin/prettier-eslint $PWD'/**/*.js' --list-different",
  23. "format:fix": "node_modules/.bin/prettier-eslint $PWD'/**/*.js' --write"
  24. },
  25. "version": "0.1.4",
  26. "dependencies": {
  27. "@overleaf/metrics": "^3.4.1",
  28. "@overleaf/o-error": "^3.0.0",
  29. "async": "^2.6.3",
  30. "body-parser": "^1.19.0",
  31. "coffee-script": "^1.12.7",
  32. "express": "^4.17.1",
  33. "logger-sharelatex": "^2.2.0",
  34. "lru-cache": "^5.1.1",
  35. "mongodb": "^3.6.0",
  36. "node-statsd": "0.1.1",
  37. "request": "^2.88.2",
  38. "settings-sharelatex": "^1.1.0",
  39. "underscore": "1.9.2"
  40. },
  41. "devDependencies": {
  42. "bunyan": "^1.8.12",
  43. "chai": "4.2.0",
  44. "eslint": "^6.8.0",
  45. "eslint-config-prettier": "^6.10.0",
  46. "eslint-config-standard": "^14.1.0",
  47. "eslint-plugin-chai-expect": "^2.1.0",
  48. "eslint-plugin-chai-friendly": "^0.5.0",
  49. "eslint-plugin-import": "^2.20.1",
  50. "eslint-plugin-mocha": "^6.3.0",
  51. "eslint-plugin-node": "^11.0.0",
  52. "eslint-plugin-prettier": "^3.1.2",
  53. "eslint-plugin-promise": "^4.2.1",
  54. "eslint-plugin-standard": "^4.0.1",
  55. "mocha": "^7.1.1",
  56. "prettier": "^2.0.0",
  57. "prettier-eslint-cli": "^5.0.0",
  58. "sandboxed-module": "2.0.4",
  59. "sinon": "^9.0.1"
  60. }
  61. }