package.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  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. "@codemirror/autocomplete": "^0.19.9",
  51. "@codemirror/closebrackets": "^0.19.0",
  52. "@codemirror/commands": "^0.19.5",
  53. "@codemirror/comment": "^0.19.0",
  54. "@codemirror/fold": "^0.19.2",
  55. "@codemirror/gutter": "^0.19.9",
  56. "@codemirror/highlight": "^0.19.6",
  57. "@codemirror/history": "^0.19.0",
  58. "@codemirror/lang-markdown": "^0.19.2",
  59. "@codemirror/language": "^0.19.7",
  60. "@codemirror/legacy-modes": "^0.19.0",
  61. "@codemirror/lint": "^0.19.3",
  62. "@codemirror/matchbrackets": "^0.19.3",
  63. "@codemirror/rangeset": "^0.19.2",
  64. "@codemirror/rectangular-selection": "^0.19.1",
  65. "@codemirror/search": "^0.19.4",
  66. "@codemirror/state": "^0.19.6",
  67. "@codemirror/stream-parser": "^0.19.2",
  68. "@codemirror/tooltip": "^0.19.10",
  69. "@codemirror/view": "^0.19.27",
  70. "@overleaf/logger": "^3.1.0",
  71. "@overleaf/metrics": "^4.0.0",
  72. "@overleaf/o-error": "^3.3.1",
  73. "@overleaf/object-persistor": "^1.0.1",
  74. "@overleaf/redis-wrapper": "^2.0.0",
  75. "@overleaf/settings": "^2.1.1",
  76. "@pollyjs/adapter-node-http": "^4.2.1",
  77. "@pollyjs/core": "^4.2.1",
  78. "@pollyjs/persister-fs": "^4.2.1",
  79. "@reach/tabs": "^0.15.0",
  80. "@sentry/browser": "^6.3.5",
  81. "@uppy/core": "^1.15.0",
  82. "@uppy/dashboard": "^1.11.0",
  83. "@uppy/react": "^1.11.0",
  84. "@uppy/xhr-upload": "^1.6.8",
  85. "abort-controller": "^3.0.0",
  86. "accepts": "^1.3.7",
  87. "ace-builds": "https://github.com/overleaf/ace-builds/archive/v1.4.12-69aace50e6796d42116f8f96e19d2468d8a88af9.tar.gz",
  88. "algoliasearch": "^3.35.1",
  89. "angular": "~1.8.0",
  90. "angular-sanitize": "~1.8.0",
  91. "archiver": "4.0.1",
  92. "async": "0.6.2",
  93. "backbone": "^1.3.3",
  94. "basic-auth-connect": "^1.0.0",
  95. "bcrypt": "^5.0.0",
  96. "body-parser": "^1.19.0",
  97. "bootstrap": "^3.4.1",
  98. "bowser": "^2.11.0",
  99. "bufferedstream": "1.6.0",
  100. "bull": "^3.18.0",
  101. "bunyan": "^1.8.15",
  102. "cache-flow": "^1.7.4",
  103. "celebrate": "^10.0.1",
  104. "classnames": "^2.2.6",
  105. "codemirror": "^5.33.0",
  106. "connect-redis": "^3.1.0",
  107. "contentful": "^6.1.1",
  108. "cookie": "^0.2.3",
  109. "cookie-parser": "1.3.5",
  110. "core-js": "^3.6.2",
  111. "crypto-js": "^3.1.9-1",
  112. "csurf": "^1.11.0",
  113. "d3": "^3.5.16",
  114. "dateformat": "1.0.4-1.2.3",
  115. "daterangepicker": "https://github.com/overleaf/daterangepicker/archive/e496d2d44ca53e208c930e4cb4bcf29bcefa4550.tar.gz",
  116. "downshift": "^6.1.0",
  117. "east": "^2.0.2",
  118. "express": "4.17.1",
  119. "express-bearer-token": "^2.4.0",
  120. "express-http-proxy": "^1.6.0",
  121. "express-session": "^1.17.1",
  122. "fs-extra": "^4.0.2",
  123. "fuse.js": "^3.0.0",
  124. "globby": "^5.0.0",
  125. "handlebars": "^4.7.7",
  126. "helmet": "^3.22.0",
  127. "http-proxy": "^1.18.1",
  128. "i18next": "^19.6.3",
  129. "i18next-fs-backend": "^1.0.7",
  130. "i18next-http-middleware": "^3.0.2",
  131. "isomorphic-unfetch": "^3.0.0",
  132. "jquery": "^2.2.4",
  133. "json2csv": "^4.3.3",
  134. "jsonwebtoken": "^8.5.1",
  135. "ldapjs": "^0.7.1",
  136. "lodash": "^4.17.19",
  137. "lru-cache": "^6.0.0",
  138. "mailchimp-api-v3": "^1.12.0",
  139. "marked": "^0.3.5",
  140. "match-sorter": "^6.2.0",
  141. "mathjax": "^2.7.9",
  142. "method-override": "^2.3.3",
  143. "minimist": "1.2.5",
  144. "mmmagic": "^0.5.3",
  145. "moment": "^2.24.0",
  146. "mongodb": "^3.6.0",
  147. "mongoose": "^5.13.11",
  148. "multer": "https://github.com/overleaf/multer/archive/7a2928d7ea2da02dd92888ea1c9ba5704e07aeeb.tar.gz",
  149. "nocache": "^2.1.0",
  150. "nock": "^13.1.3",
  151. "nodemailer": "^6.7.0",
  152. "nodemailer-mandrill-transport": "^1.2.0",
  153. "nodemailer-ses-transport": "^1.5.1",
  154. "nvd3": "^1.8.6",
  155. "oauth2-server": "^3.0.1",
  156. "otplib": "^12.0.1",
  157. "p-limit": "^2.3.0",
  158. "parse-data-url": "^2.0.0",
  159. "passport": "^0.4.1",
  160. "passport-google-oauth20": "^2.0.0",
  161. "passport-ldapauth": "^2.1.4",
  162. "passport-local": "^1.0.0",
  163. "passport-oauth2": "^1.5.0",
  164. "passport-orcid": "0.0.4",
  165. "passport-saml": "https://github.com/overleaf/passport-saml/releases/download/v3.0.0-overleaf/passport-saml-3.0.0-overleaf.tar.gz",
  166. "passport-twitter": "^1.0.4",
  167. "pdfjs-dist": "^2.10.377",
  168. "prop-types": "^15.7.2",
  169. "pug": "^3.0.1",
  170. "pug-runtime": "^3.0.1",
  171. "qrcode": "^1.4.4",
  172. "react": "^17.0.2",
  173. "react-bootstrap": "^0.33.1",
  174. "react-dnd": "^11.1.3",
  175. "react-dnd-html5-backend": "^11.1.3",
  176. "react-dom": "^17.0.2",
  177. "react-error-boundary": "^2.3.1",
  178. "react-i18next": "^11.7.1",
  179. "react-linkify": "^1.0.0-alpha",
  180. "react2angular": "^4.0.6",
  181. "react2angular-shared-context": "^1.1.0",
  182. "recurly": "^4.0.0",
  183. "referer-parser": "0.0.3",
  184. "request": "^2.88.2",
  185. "request-promise-native": "^1.0.8",
  186. "requestretry": "^6.0.0",
  187. "rimraf": "2.2.6",
  188. "rolling-rate-limiter": "^0.2.10",
  189. "sanitize-html": "^1.27.1",
  190. "scroll-into-view-if-needed": "^2.2.25",
  191. "sysend": "^1.7.1",
  192. "underscore": "^1.13.1",
  193. "unzipper": "^0.10.11",
  194. "url-parse": "^1.4.7",
  195. "utf-8-validate": "^5.0.2",
  196. "uuid": "^3.0.1",
  197. "valid-data-url": "^2.0.0",
  198. "valid-url": "^1.0.9",
  199. "xml-crypto": "^2.1.2",
  200. "xml2js": "^0.4.22",
  201. "xregexp": "^4.3.0",
  202. "yauzl": "^2.10.0"
  203. },
  204. "devDependencies": {
  205. "@babel/register": "^7.14.5",
  206. "@juggle/resize-observer": "^3.3.1",
  207. "@storybook/addon-a11y": "^6.2.9",
  208. "@storybook/addon-essentials": "^6.2.9",
  209. "@storybook/react": "^6.2.9",
  210. "@testing-library/dom": "^7.31.2",
  211. "@testing-library/react": "^11.2.7",
  212. "@testing-library/react-hooks": "^7.0.0",
  213. "acorn": "^7.1.1",
  214. "acorn-walk": "^7.1.1",
  215. "angular-mocks": "~1.8.0",
  216. "autoprefixer": "^9.7.6",
  217. "babel-loader": "^8.2.2",
  218. "babel-plugin-angularjs-annotate": "^0.10.0",
  219. "babel-plugin-macros": "^3.1.0",
  220. "c8": "^7.2.0",
  221. "chai": "^4.2.0",
  222. "chai-as-promised": "^7.1.1",
  223. "chai-exclude": "^2.0.3",
  224. "chaid": "^1.0.2",
  225. "cheerio": "^1.0.0-rc.3",
  226. "copy-webpack-plugin": "^5.1.1",
  227. "css-loader": "^3.5.2",
  228. "es6-promise": "^4.2.8",
  229. "eslint": "^8.2.0",
  230. "eslint-config-prettier": "^8.3.0",
  231. "eslint-config-standard": "^16.0.3",
  232. "eslint-config-standard-jsx": "^10.0.0",
  233. "eslint-config-standard-react": "^11.0.1",
  234. "eslint-plugin-chai-expect": "^2.2.0",
  235. "eslint-plugin-chai-friendly": "^0.7.2",
  236. "eslint-plugin-import": "^2.25.3",
  237. "eslint-plugin-jsx-a11y": "^6.5.1",
  238. "eslint-plugin-mocha": "^9.0.0",
  239. "eslint-plugin-node": "^11.1.0",
  240. "eslint-plugin-promise": "^5.1.1",
  241. "eslint-plugin-react": "^7.27.0",
  242. "eslint-plugin-react-hooks": "^4.3.0",
  243. "eslint-plugin-standard": "^5.0.0",
  244. "expose-loader": "^0.7.5",
  245. "fetch-mock": "^9.10.2",
  246. "file-loader": "^5.0.2",
  247. "glob": "^7.1.6",
  248. "handlebars-loader": "^1.7.1",
  249. "i18next-scanner": "^3.0.0",
  250. "jsdom": "^16.7.0",
  251. "jsdom-global": "^3.0.2",
  252. "karma": "^5.0.2",
  253. "karma-chai-sinon": "^0.1.5",
  254. "karma-chrome-launcher": "^3.1.0",
  255. "karma-mocha": "^2.0.0",
  256. "karma-mocha-reporter": "^2.2.5",
  257. "karma-requirejs": "^1.1.0",
  258. "karma-webpack": "^4.0.2",
  259. "less": "^3.11.1",
  260. "less-loader": "^6.0.0",
  261. "less-plugin-autoprefix": "^2.0.0",
  262. "mini-css-extract-plugin": "^0.8.0",
  263. "mkdirp": "0.5.1",
  264. "mocha": "^8.3.2",
  265. "mock-fs": "^4.11.0",
  266. "nock": "^13.1.1",
  267. "node-fetch": "^2.6.1",
  268. "nodemon": "^2.0.6",
  269. "optimize-css-assets-webpack-plugin": "^5.0.3",
  270. "pirates": "^4.0.1",
  271. "postcss-loader": "^3.0.0",
  272. "prettier": "^2.2.1",
  273. "requirejs": "^2.3.6",
  274. "samlp": "^3.4.1",
  275. "sandboxed-module": "^2.0.4",
  276. "sinon": "^7.5.0",
  277. "sinon-chai": "^3.5.0",
  278. "sinon-mongoose": "^2.3.0",
  279. "socket.io-mock": "^1.3.1",
  280. "terser-webpack-plugin": "^2.3.6",
  281. "timekeeper": "^2.2.0",
  282. "to-string-loader": "^1.1.6",
  283. "val-loader": "^1.1.1",
  284. "webpack": "^4.44.2",
  285. "webpack-assets-manifest": "^4.0.6",
  286. "webpack-cli": "^3.3.11",
  287. "webpack-dev-server": "^3.11.0",
  288. "webpack-merge": "^4.2.2",
  289. "worker-loader": "^2.0.0"
  290. }
  291. }