package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 --exit $@ 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 .",
  22. "format": "node_modules/.bin/prettier-eslint '**/*.js' --list-different",
  23. "format:fix": "node_modules/.bin/prettier-eslint '**/*.js' --write"
  24. },
  25. "version": "0.1.4",
  26. "dependencies": {
  27. "async": "0.1.22",
  28. "body-parser": "^1.12.0",
  29. "coffee-script": "^1.9.1",
  30. "express": "^4.12.1",
  31. "logger-sharelatex": "^1.7.0",
  32. "lru-cache": "^4.0.0",
  33. "metrics-sharelatex": "^2.2.0",
  34. "mongojs": "2.4.0",
  35. "node-statsd": "0.0.3",
  36. "redis": "~0.8.4",
  37. "request": "^2.53.0",
  38. "settings-sharelatex": "^1.1.0",
  39. "underscore": "1.4.4"
  40. },
  41. "devDependencies": {
  42. "bunyan": "^1.0.0",
  43. "chai": "",
  44. "eslint": "^6.0.1",
  45. "eslint-config-prettier": "^6.0.0",
  46. "eslint-config-standard": "^12.0.0",
  47. "eslint-plugin-chai-expect": "^2.0.1",
  48. "eslint-plugin-chai-friendly": "^0.4.1",
  49. "eslint-plugin-import": "^2.18.0",
  50. "eslint-plugin-mocha": "^5.3.0",
  51. "eslint-plugin-node": "^9.1.0",
  52. "eslint-plugin-prettier": "^3.1.0",
  53. "eslint-plugin-promise": "^4.2.1",
  54. "eslint-plugin-standard": "^4.0.0",
  55. "mocha": "^4.1.0",
  56. "prettier-eslint-cli": "^5.0.0",
  57. "sandboxed-module": "",
  58. "sinon": "^1.17.0"
  59. }
  60. }