package.json 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  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 --require test/unit/bootstrap.js",
  18. "test:unit:all": "npm run test:unit:run_dir -- test/unit/src modules/*/test/unit/src",
  19. "test:unit:all:silent": "npm run test:unit:all -- --reporter dot",
  20. "test:unit:app": "npm run test:unit:run_dir -- test/unit/src",
  21. "test:unit:app:parallel": "parallel --plain --keep-order --halt now,fail=1 npm run test:unit:run_dir -- {} ::: test/unit/src/*",
  22. "test:frontend": "NODE_ENV=test TZ=GMT mocha --recursive --timeout 5000 --exit --grep=$MOCHA_GREP --require test/frontend/bootstrap.js test/frontend modules/*/test/frontend",
  23. "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",
  24. "test:karma": "karma start",
  25. "test:karma:single": "karma start --no-auto-watch --single-run",
  26. "start": "node $NODE_APP_OPTIONS app.js",
  27. "nodemon": "nodemon $NODE_APP_OPTIONS --config nodemon.json",
  28. "webpack": "webpack-dev-server --config webpack.config.dev.js",
  29. "webpack:production": "webpack --config webpack.config.prod.js",
  30. "format": "prettier --list-different $PWD/'**/*.js'",
  31. "format:fix": "prettier --write $PWD/'**/*.js'",
  32. "format:styles": "prettier --list-different $PWD/'**/*.less'",
  33. "format:styles:fix": "prettier --write $PWD/'**/*.less'",
  34. "lint": "eslint --max-warnings 0 --format unix .",
  35. "lint:fix": "eslint --fix .",
  36. "extract-translations": "i18next-scanner",
  37. "migrations": "east",
  38. "storybook": "start-storybook -p 6006 -s ./public"
  39. },
  40. "browserslist": [
  41. "last 1 year",
  42. "ie 11",
  43. "firefox esr"
  44. ],
  45. "dependencies": {
  46. "@babel/cli": "^7.14.5",
  47. "@babel/core": "^7.14.5",
  48. "@babel/preset-env": "^7.14.5",
  49. "@babel/preset-react": "^7.14.5",
  50. "@overleaf/metrics": "^3.5.1",
  51. "@overleaf/o-error": "^3.3.1",
  52. "@overleaf/object-persistor": "^1.0.1",
  53. "@overleaf/redis-wrapper": "^2.0.0",
  54. "@overleaf/settings": "^2.1.1",
  55. "@pollyjs/adapter-node-http": "^4.2.1",
  56. "@pollyjs/core": "^4.2.1",
  57. "@pollyjs/persister-fs": "^4.2.1",
  58. "@reach/tabs": "^0.15.0",
  59. "@sentry/browser": "^6.3.5",
  60. "@uppy/core": "^1.15.0",
  61. "@uppy/dashboard": "^1.11.0",
  62. "@uppy/react": "^1.11.0",
  63. "@uppy/xhr-upload": "^1.6.8",
  64. "abort-controller": "^3.0.0",
  65. "accepts": "^1.3.7",
  66. "ace-builds": "https://github.com/overleaf/ace-builds/archive/v1.4.12-69aace50e6796d42116f8f96e19d2468d8a88af9.tar.gz",
  67. "algoliasearch": "^3.35.1",
  68. "angular": "~1.8.0",
  69. "angular-sanitize": "~1.8.0",
  70. "archiver": "4.0.1",
  71. "async": "0.6.2",
  72. "backbone": "^1.3.3",
  73. "basic-auth-connect": "^1.0.0",
  74. "bcrypt": "^5.0.0",
  75. "body-parser": "^1.19.0",
  76. "bootstrap": "^3.4.1",
  77. "bowser": "^2.11.0",
  78. "bufferedstream": "1.6.0",
  79. "bull": "^3.18.0",
  80. "bunyan": "^1.8.15",
  81. "cache-flow": "^1.7.4",
  82. "celebrate": "^10.0.1",
  83. "classnames": "^2.2.6",
  84. "codemirror": "^5.33.0",
  85. "connect-redis": "^3.1.0",
  86. "contentful": "^6.1.1",
  87. "cookie": "^0.2.3",
  88. "cookie-parser": "1.3.5",
  89. "core-js": "^3.6.2",
  90. "crypto-js": "^3.1.9-1",
  91. "csurf": "^1.11.0",
  92. "d3": "^3.5.16",
  93. "dateformat": "1.0.4-1.2.3",
  94. "daterangepicker": "https://github.com/overleaf/daterangepicker/archive/e496d2d44ca53e208c930e4cb4bcf29bcefa4550.tar.gz",
  95. "downshift": "^6.1.0",
  96. "east": "^2.0.2",
  97. "express": "4.17.1",
  98. "express-bearer-token": "^2.4.0",
  99. "express-http-proxy": "^1.6.0",
  100. "express-session": "^1.17.1",
  101. "fs-extra": "^4.0.2",
  102. "fuse.js": "^3.0.0",
  103. "globby": "^5.0.0",
  104. "handlebars": "^4.7.6",
  105. "helmet": "^3.22.0",
  106. "http-proxy": "^1.18.1",
  107. "i18next": "^19.6.3",
  108. "i18next-fs-backend": "^1.0.7",
  109. "i18next-http-middleware": "^3.0.2",
  110. "isomorphic-unfetch": "^3.0.0",
  111. "jquery": "^2.2.4",
  112. "json2csv": "^4.3.3",
  113. "jsonwebtoken": "^8.5.1",
  114. "ldapjs": "^0.7.1",
  115. "lodash": "^4.17.19",
  116. "logger-sharelatex": "^2.2.0",
  117. "lru-cache": "^6.0.0",
  118. "mailchimp-api-v3": "^1.12.0",
  119. "marked": "^0.3.5",
  120. "match-sorter": "^6.2.0",
  121. "mathjax": "^2.7.9",
  122. "method-override": "^2.3.3",
  123. "minimist": "1.2.5",
  124. "mmmagic": "^0.5.3",
  125. "moment": "^2.24.0",
  126. "mongodb": "^3.6.0",
  127. "mongoose": "^5.10.7",
  128. "multer": "https://github.com/overleaf/multer/archive/7a2928d7ea2da02dd92888ea1c9ba5704e07aeeb.tar.gz",
  129. "nocache": "^2.1.0",
  130. "nodemailer": "2.1.0",
  131. "nodemailer-mandrill-transport": "^1.2.0",
  132. "nodemailer-ses-transport": "^1.5.1",
  133. "nvd3": "^1.8.6",
  134. "oauth2-server": "^3.0.1",
  135. "otplib": "^12.0.1",
  136. "p-limit": "^2.3.0",
  137. "parse-data-url": "^2.0.0",
  138. "passport": "^0.4.1",
  139. "passport-google-oauth20": "^2.0.0",
  140. "passport-ldapauth": "^2.1.4",
  141. "passport-local": "^1.0.0",
  142. "passport-oauth2": "^1.5.0",
  143. "passport-orcid": "0.0.4",
  144. "passport-saml": "https://github.com/overleaf/passport-saml/releases/download/v3.0.0-overleaf/passport-saml-3.0.0-overleaf.tar.gz",
  145. "passport-twitter": "^1.0.4",
  146. "pdfjs-dist": "^2.9.359",
  147. "prop-types": "^15.7.2",
  148. "pug": "^3.0.1",
  149. "pug-runtime": "^3.0.1",
  150. "qrcode": "^1.4.4",
  151. "react": "^17.0.2",
  152. "react-bootstrap": "^0.33.1",
  153. "react-dnd": "^11.1.3",
  154. "react-dnd-html5-backend": "^11.1.3",
  155. "react-dom": "^17.0.2",
  156. "react-error-boundary": "^2.3.1",
  157. "react-i18next": "^11.7.1",
  158. "react-linkify": "^1.0.0-alpha",
  159. "react2angular": "^4.0.6",
  160. "react2angular-shared-context": "^1.1.0",
  161. "recurly": "^4.0.0",
  162. "referer-parser": "0.0.3",
  163. "request": "^2.88.2",
  164. "request-promise-native": "^1.0.8",
  165. "requestretry": "^1.13.0",
  166. "rimraf": "2.2.6",
  167. "rolling-rate-limiter": "^0.2.10",
  168. "sanitize-html": "^1.27.1",
  169. "scroll-into-view-if-needed": "^2.2.25",
  170. "underscore": "^1.13.1",
  171. "url-parse": "^1.4.7",
  172. "utf-8-validate": "^5.0.2",
  173. "uuid": "^3.0.1",
  174. "valid-data-url": "^2.0.0",
  175. "valid-url": "^1.0.9",
  176. "xml-crypto": "^2.1.2",
  177. "xml2js": "^0.4.22",
  178. "xregexp": "^4.3.0",
  179. "yauzl": "^2.10.0"
  180. },
  181. "devDependencies": {
  182. "@babel/register": "^7.14.5",
  183. "@juggle/resize-observer": "^3.3.1",
  184. "@storybook/addon-a11y": "^6.2.9",
  185. "@storybook/addon-essentials": "^6.2.9",
  186. "@storybook/react": "^6.2.9",
  187. "@testing-library/dom": "^7.31.2",
  188. "@testing-library/react": "^11.2.7",
  189. "@testing-library/react-hooks": "^7.0.0",
  190. "acorn": "^7.1.1",
  191. "acorn-walk": "^7.1.1",
  192. "angular-mocks": "~1.8.0",
  193. "autoprefixer": "^9.7.6",
  194. "babel-loader": "^8.2.2",
  195. "babel-plugin-angularjs-annotate": "^0.10.0",
  196. "babel-plugin-macros": "^3.1.0",
  197. "c8": "^7.2.0",
  198. "chai": "^4.2.0",
  199. "chai-as-promised": "^7.1.1",
  200. "chai-exclude": "^2.0.3",
  201. "chaid": "^1.0.2",
  202. "cheerio": "^1.0.0-rc.3",
  203. "copy-webpack-plugin": "^5.1.1",
  204. "css-loader": "^3.5.2",
  205. "es6-promise": "^4.2.8",
  206. "eslint": "^7.21.0",
  207. "eslint-config-prettier": "^8.1.0",
  208. "eslint-config-standard": "^16.0.2",
  209. "eslint-config-standard-jsx": "^10.0.0",
  210. "eslint-config-standard-react": "^11.0.1",
  211. "eslint-plugin-chai-expect": "^2.2.0",
  212. "eslint-plugin-chai-friendly": "^0.6.0",
  213. "eslint-plugin-import": "^2.22.1",
  214. "eslint-plugin-jsx-a11y": "^6.4.1",
  215. "eslint-plugin-mocha": "^8.0.0",
  216. "eslint-plugin-node": "^11.1.0",
  217. "eslint-plugin-promise": "^4.2.1",
  218. "eslint-plugin-react": "^7.22.0",
  219. "eslint-plugin-react-hooks": "^4.2.0",
  220. "eslint-plugin-standard": "^5.0.0",
  221. "expose-loader": "^0.7.5",
  222. "fetch-mock": "^9.10.2",
  223. "file-loader": "^5.0.2",
  224. "glob": "^7.1.6",
  225. "handlebars-loader": "^1.7.1",
  226. "i18next-scanner": "^3.0.0",
  227. "jsdom": "^16.6.0",
  228. "jsdom-global": "^3.0.2",
  229. "karma": "^5.0.2",
  230. "karma-chai-sinon": "^0.1.5",
  231. "karma-chrome-launcher": "^3.1.0",
  232. "karma-mocha": "^2.0.0",
  233. "karma-mocha-reporter": "^2.2.5",
  234. "karma-requirejs": "^1.1.0",
  235. "karma-webpack": "^4.0.2",
  236. "less": "^3.11.1",
  237. "less-loader": "^6.0.0",
  238. "less-plugin-autoprefix": "^2.0.0",
  239. "mini-css-extract-plugin": "^0.8.0",
  240. "mkdirp": "0.5.1",
  241. "mocha": "^8.3.2",
  242. "mock-fs": "^4.11.0",
  243. "node-fetch": "^2.6.1",
  244. "nodemon": "^2.0.6",
  245. "optimize-css-assets-webpack-plugin": "^5.0.3",
  246. "pirates": "^4.0.1",
  247. "postcss-loader": "^3.0.0",
  248. "prettier": "^2.2.1",
  249. "requirejs": "^2.3.6",
  250. "samlp": "^3.4.1",
  251. "sandboxed-module": "^2.0.4",
  252. "sinon": "^7.5.0",
  253. "sinon-chai": "^3.5.0",
  254. "sinon-mongoose": "^2.3.0",
  255. "socket.io-mock": "^1.3.1",
  256. "terser-webpack-plugin": "^2.3.6",
  257. "timekeeper": "^2.2.0",
  258. "to-string-loader": "^1.1.6",
  259. "val-loader": "^1.1.1",
  260. "webpack": "^4.44.2",
  261. "webpack-assets-manifest": "^4.0.6",
  262. "webpack-cli": "^3.3.11",
  263. "webpack-dev-server": "^3.11.0",
  264. "webpack-merge": "^4.2.2",
  265. "worker-loader": "^2.0.0"
  266. }
  267. }