package.json 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. {
  2. "name": "web-overleaf",
  3. "version": "0.1.4",
  4. "description": "The HTTP front end for ShareLaTeX",
  5. "license": "AGPL-3.0-only",
  6. "private": true,
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/sharelatex/web-sharelatex.git"
  10. },
  11. "directories": {
  12. "public": "./public"
  13. },
  14. "scripts": {
  15. "test:acceptance:run_dir": "mocha --recursive --timeout 25000 --exit --grep=$MOCHA_GREP --require test/acceptance/bootstrap.js",
  16. "test:acceptance:app": "npm run test:acceptance:run_dir -- test/acceptance/src",
  17. "test:unit:run_dir": "mocha --recursive --timeout 25000 --exit --grep=$MOCHA_GREP --file test/unit/bootstrap.js",
  18. "test:unit:app": "npm run test:unit:run_dir -- test/unit/src",
  19. "test:unit:app:parallel": "parallel --plain --keep-order --halt now,fail=1 npm run test:unit:run_dir -- {} ::: test/unit/src/*",
  20. "test:frontend": "NODE_ENV=test mocha --recursive --exit --grep=$MOCHA_GREP --require test/frontend/bootstrap.js test/frontend modules/*/test/frontend",
  21. "test:frontend:coverage": "c8 --all --include 'frontend/js' --include 'modules/*/frontend/js' --exclude 'frontend/js/vendor' --reporter=lcov --reporter=text-summary npm run test:frontend",
  22. "test:karma": "karma start",
  23. "test:karma:single": "karma start --single-run",
  24. "start": "node $NODE_APP_OPTIONS app.js",
  25. "nodemon": "nodemon --config nodemon.json",
  26. "webpack": "webpack-dev-server --config webpack.config.dev.js",
  27. "webpack:production": "webpack --config webpack.config.prod.js",
  28. "lint": "eslint --max-warnings 0 -f unix .",
  29. "format": "prettier-eslint '**/*.{js,less}' --list-different",
  30. "format:fix": "prettier-eslint '**/*.{js,less}' --write",
  31. "migrations": "east"
  32. },
  33. "browserslist": [
  34. "last 1 year",
  35. "ie 11",
  36. "firefox esr"
  37. ],
  38. "dependencies": {
  39. "@babel/cli": "^7.8.4",
  40. "@babel/core": "^7.9.0",
  41. "@babel/preset-env": "^7.9.5",
  42. "@babel/preset-react": "^7.9.4",
  43. "@overleaf/o-error": "^3.0.0",
  44. "@pollyjs/adapter-node-http": "^4.2.1",
  45. "@pollyjs/core": "^4.2.1",
  46. "@pollyjs/persister-fs": "^4.2.1",
  47. "@sentry/browser": "^5.12.0",
  48. "algoliasearch": "^3.35.1",
  49. "angular": "~1.8.0",
  50. "angular-sanitize": "~1.8.0",
  51. "archiver": "4.0.1",
  52. "async": "0.6.2",
  53. "backbone": "^1.3.3",
  54. "basic-auth-connect": "^1.0.0",
  55. "bcrypt": "^3.0.4",
  56. "body-parser": "^1.19.0",
  57. "bufferedstream": "1.6.0",
  58. "celebrate": "^10.0.1",
  59. "classnames": "^2.2.6",
  60. "codemirror": "^5.33.0",
  61. "connect-redis": "^3.1.0",
  62. "contentful": "^6.1.1",
  63. "cookie": "^0.2.3",
  64. "cookie-parser": "1.3.5",
  65. "core-js": "^3.6.2",
  66. "crypto-js": "^3.1.9-1",
  67. "csurf": "^1.11.0",
  68. "d3": "^3.5.16",
  69. "dateformat": "1.0.4-1.2.3",
  70. "daterangepicker": "git+https://github.com/40thieves/daterangepicker.git#master",
  71. "east": "^1.1.0",
  72. "express": "4.17.1",
  73. "express-bearer-token": "^2.4.0",
  74. "express-http-proxy": "^1.6.0",
  75. "express-session": "^1.17.1",
  76. "fs-extra": "^4.0.2",
  77. "fuse.js": "^3.0.0",
  78. "handlebars": "^4.7.6",
  79. "helmet": "^3.22.0",
  80. "http-proxy": "^1.18.0",
  81. "i18next": "^19.6.3",
  82. "i18next-fs-backend": "^1.0.7",
  83. "i18next-http-middleware": "^3.0.2",
  84. "isomorphic-unfetch": "^3.0.0",
  85. "jquery": "^2.2.4",
  86. "json2csv": "^4.3.3",
  87. "jsonwebtoken": "^8.5.1",
  88. "lodash": "^4.17.15",
  89. "logger-sharelatex": "^2.2.0",
  90. "mailchimp-api-v3": "^1.12.0",
  91. "marked": "^0.3.5",
  92. "method-override": "^2.3.3",
  93. "metrics-sharelatex": "^2.6.2",
  94. "minimist": "1.2.5",
  95. "mmmagic": "^0.5.2",
  96. "mocha": "^6.2.2",
  97. "moment": "^2.24.0",
  98. "mongojs": "2.4.0",
  99. "mongoose": "^4.13.19",
  100. "multer": "git+https://github.com/overleaf/multer.git",
  101. "nocache": "^2.1.0",
  102. "node-html-encoder": "0.0.2",
  103. "nodemailer": "2.1.0",
  104. "nodemailer-mandrill-transport": "^1.2.0",
  105. "nodemailer-ses-transport": "^1.5.1",
  106. "nvd3": "^1.8.6",
  107. "oauth2-server": "^3.0.1",
  108. "otplib": "^12.0.1",
  109. "p-limit": "^2.3.0",
  110. "parse-data-url": "^2.0.0",
  111. "passport": "^0.4.1",
  112. "passport-google-oauth20": "^2.0.0",
  113. "passport-local": "^1.0.0",
  114. "passport-oauth2": "^1.5.0",
  115. "passport-orcid": "0.0.4",
  116. "passport-saml": "^1.3.3",
  117. "passport-twitter": "^1.0.4",
  118. "pdfjs-dist": "^2.2.228",
  119. "prop-types": "^15.7.2",
  120. "pug": "^2.0.4",
  121. "qrcode": "^1.4.4",
  122. "react": "^16.13.1",
  123. "react-bootstrap": "^0.33.1",
  124. "react-dom": "^16.13.1",
  125. "react-i18next": "^11.7.1",
  126. "react2angular": "^4.0.6",
  127. "redis-sharelatex": "^1.0.13",
  128. "request": "^2.88.2",
  129. "request-promise-native": "^1.0.8",
  130. "requestretry": "^1.13.0",
  131. "rimraf": "2.2.6",
  132. "rolling-rate-limiter": "git+https://github.com/ShaneKilkelly/rolling-rate-limiter.git#master",
  133. "sanitize-html": "^1.27.1",
  134. "sanitizer": "0.1.1",
  135. "scroll-into-view-if-needed": "^2.2.25",
  136. "settings-sharelatex": "^1.1.0",
  137. "temp": "^0.8.3",
  138. "underscore": "1.6.0",
  139. "url-parse": "^1.4.7",
  140. "utf-8-validate": "^5.0.2",
  141. "uuid": "^3.0.1",
  142. "valid-data-url": "^2.0.0",
  143. "valid-url": "^1.0.9",
  144. "xml2js": "^0.4.22",
  145. "xregexp": "^4.3.0",
  146. "yauzl": "^2.10.0"
  147. },
  148. "devDependencies": {
  149. "@babel/register": "^7.10.1",
  150. "@testing-library/dom": "^7.7.3",
  151. "@testing-library/react": "^10.0.4",
  152. "acorn": "^7.1.1",
  153. "acorn-walk": "^7.1.1",
  154. "angular-mocks": "~1.6.10",
  155. "autoprefixer": "^9.7.6",
  156. "babel-eslint": "^10.1.0",
  157. "babel-loader": "^8.1.0",
  158. "babel-plugin-angularjs-annotate": "^0.10.0",
  159. "c8": "^7.2.0",
  160. "chai": "^4.2.0",
  161. "chai-as-promised": "^7.1.1",
  162. "chaid": "^1.0.2",
  163. "cheerio": "^1.0.0-rc.3",
  164. "copy-webpack-plugin": "^5.1.1",
  165. "css-loader": "^3.5.2",
  166. "es6-promise": "^4.2.8",
  167. "eslint": "^4.18.1",
  168. "eslint-config-prettier": "^3.1.0",
  169. "eslint-config-standard": "^11.0.0",
  170. "eslint-config-standard-jsx": "^5.0.0",
  171. "eslint-config-standard-react": "^6.0.0",
  172. "eslint-plugin-chai-expect": "^1.1.1",
  173. "eslint-plugin-chai-friendly": "^0.4.1",
  174. "eslint-plugin-import": "^2.20.2",
  175. "eslint-plugin-jsx-a11y": "^6.2.3",
  176. "eslint-plugin-mocha": "^5.2.0",
  177. "eslint-plugin-node": "^6.0.0",
  178. "eslint-plugin-promise": "^3.6.0",
  179. "eslint-plugin-react": "^7.19.0",
  180. "eslint-plugin-react-hooks": "^4.0.8",
  181. "eslint-plugin-standard": "^3.0.1",
  182. "expose-loader": "^0.7.5",
  183. "fetch-mock": "^9.10.2",
  184. "file-loader": "^5.0.2",
  185. "glob": "^7.1.6",
  186. "handlebars-loader": "^1.7.1",
  187. "jsdom": "^16.2.2",
  188. "jsdom-global": "^3.0.2",
  189. "karma": "^5.0.2",
  190. "karma-chai-sinon": "^0.1.5",
  191. "karma-chrome-launcher": "^3.1.0",
  192. "karma-mocha": "^2.0.0",
  193. "karma-mocha-reporter": "^2.2.5",
  194. "karma-requirejs": "^1.1.0",
  195. "karma-webpack": "^4.0.2",
  196. "less": "^3.11.1",
  197. "less-loader": "^6.0.0",
  198. "less-plugin-autoprefix": "^2.0.0",
  199. "mini-css-extract-plugin": "^0.8.0",
  200. "mkdirp": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
  201. "mock-fs": "^4.11.0",
  202. "nodemon": "^1.14.3",
  203. "optimize-css-assets-webpack-plugin": "^5.0.3",
  204. "postcss-loader": "^3.0.0",
  205. "prettier-eslint-cli": "^4.7.1",
  206. "requirejs": "^2.3.6",
  207. "samlp": "^3.4.1",
  208. "sandboxed-module": "0.2.0",
  209. "sinon": "^7.5.0",
  210. "sinon-chai": "^3.5.0",
  211. "sinon-mongoose": "^2.3.0",
  212. "terser-webpack-plugin": "^2.3.6",
  213. "timekeeper": "^2.2.0",
  214. "val-loader": "^1.1.1",
  215. "webpack": "^4.43.0",
  216. "webpack-cli": "^3.3.11",
  217. "webpack-dev-server": "^3.11.0",
  218. "webpack-manifest-plugin": "^2.2.0",
  219. "webpack-merge": "^4.2.2"
  220. }
  221. }