package.json 10 KB

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