package.json 8.5 KB

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