package.json 9.1 KB

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