mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
388d9c0f1e
* Add to globals from JSDOM for frontend unit tests * Fix tests GitOrigin-RevId: 3a73477d9e4c3316ab2c9510ce3360740c3feb53
266 lines
9.3 KiB
JSON
266 lines
9.3 KiB
JSON
{
|
|
"name": "web-overleaf",
|
|
"version": "0.1.4",
|
|
"description": "The HTTP front end for ShareLaTeX",
|
|
"license": "AGPL-3.0-only",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/sharelatex/web-sharelatex.git"
|
|
},
|
|
"directories": {
|
|
"public": "./public"
|
|
},
|
|
"scripts": {
|
|
"test:acceptance:run_dir": "mocha --recursive --timeout 25000 --exit --grep=$MOCHA_GREP --require test/acceptance/bootstrap.js",
|
|
"test:acceptance:app": "npm run test:acceptance:run_dir -- test/acceptance/src",
|
|
"test:unit:run_dir": "mocha --recursive --timeout 25000 --exit --grep=$MOCHA_GREP --require test/unit/bootstrap.js",
|
|
"test:unit:all": "npm run test:unit:run_dir -- test/unit/src modules/*/test/unit/src",
|
|
"test:unit:all:silent": "npm run test:unit:all -- --reporter dot",
|
|
"test:unit:app": "npm run test:unit:run_dir -- test/unit/src",
|
|
"test:unit:app:parallel": "parallel --plain --keep-order --halt now,fail=1 npm run test:unit:run_dir -- {} ::: test/unit/src/*",
|
|
"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",
|
|
"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",
|
|
"test:karma": "karma start",
|
|
"test:karma:single": "karma start --no-auto-watch --single-run",
|
|
"start": "node $NODE_APP_OPTIONS app.js",
|
|
"nodemon": "nodemon $NODE_APP_OPTIONS --config nodemon.json",
|
|
"webpack": "webpack-dev-server --config webpack.config.dev.js",
|
|
"webpack:production": "webpack --config webpack.config.prod.js",
|
|
"format": "prettier --list-different $PWD/'**/*.js'",
|
|
"format:fix": "prettier --write $PWD/'**/*.js'",
|
|
"format:styles": "prettier --list-different $PWD/'**/*.less'",
|
|
"format:styles:fix": "prettier --write $PWD/'**/*.less'",
|
|
"lint": "eslint --max-warnings 0 --format unix .",
|
|
"lint:fix": "eslint --fix .",
|
|
"extract-translations": "i18next-scanner",
|
|
"migrations": "east",
|
|
"storybook": "start-storybook -p 6006 -s ./public"
|
|
},
|
|
"browserslist": [
|
|
"last 1 year",
|
|
"ie 11",
|
|
"firefox esr"
|
|
],
|
|
"dependencies": {
|
|
"@babel/cli": "^7.14.5",
|
|
"@babel/core": "^7.14.5",
|
|
"@babel/preset-env": "^7.14.5",
|
|
"@babel/preset-react": "^7.14.5",
|
|
"@overleaf/metrics": "^3.5.1",
|
|
"@overleaf/o-error": "^3.3.1",
|
|
"@overleaf/object-persistor": "^1.0.1",
|
|
"@overleaf/redis-wrapper": "^2.0.0",
|
|
"@overleaf/settings": "^2.1.1",
|
|
"@pollyjs/adapter-node-http": "^4.2.1",
|
|
"@pollyjs/core": "^4.2.1",
|
|
"@pollyjs/persister-fs": "^4.2.1",
|
|
"@reach/tabs": "^0.15.0",
|
|
"@sentry/browser": "^6.3.5",
|
|
"@uppy/core": "^1.15.0",
|
|
"@uppy/dashboard": "^1.11.0",
|
|
"@uppy/react": "^1.11.0",
|
|
"@uppy/xhr-upload": "^1.6.8",
|
|
"abort-controller": "^3.0.0",
|
|
"accepts": "^1.3.7",
|
|
"ace-builds": "https://github.com/overleaf/ace-builds/archive/v1.4.12-69aace50e6796d42116f8f96e19d2468d8a88af9.tar.gz",
|
|
"algoliasearch": "^3.35.1",
|
|
"angular": "~1.8.0",
|
|
"angular-sanitize": "~1.8.0",
|
|
"archiver": "4.0.1",
|
|
"async": "0.6.2",
|
|
"backbone": "^1.3.3",
|
|
"basic-auth-connect": "^1.0.0",
|
|
"bcrypt": "^5.0.0",
|
|
"body-parser": "^1.19.0",
|
|
"bootstrap": "^3.4.1",
|
|
"bowser": "^2.11.0",
|
|
"bufferedstream": "1.6.0",
|
|
"bull": "^3.18.0",
|
|
"bunyan": "^1.8.15",
|
|
"cache-flow": "^1.7.4",
|
|
"celebrate": "^10.0.1",
|
|
"classnames": "^2.2.6",
|
|
"codemirror": "^5.33.0",
|
|
"connect-redis": "^3.1.0",
|
|
"contentful": "^6.1.1",
|
|
"cookie": "^0.2.3",
|
|
"cookie-parser": "1.3.5",
|
|
"core-js": "^3.6.2",
|
|
"crypto-js": "^3.1.9-1",
|
|
"csurf": "^1.11.0",
|
|
"d3": "^3.5.16",
|
|
"dateformat": "1.0.4-1.2.3",
|
|
"daterangepicker": "https://github.com/overleaf/daterangepicker/archive/e496d2d44ca53e208c930e4cb4bcf29bcefa4550.tar.gz",
|
|
"downshift": "^6.1.0",
|
|
"east": "^2.0.2",
|
|
"express": "4.17.1",
|
|
"express-bearer-token": "^2.4.0",
|
|
"express-http-proxy": "^1.6.0",
|
|
"express-session": "^1.17.1",
|
|
"fs-extra": "^4.0.2",
|
|
"fuse.js": "^3.0.0",
|
|
"globby": "^5.0.0",
|
|
"handlebars": "^4.7.6",
|
|
"helmet": "^3.22.0",
|
|
"http-proxy": "^1.18.1",
|
|
"i18next": "^19.6.3",
|
|
"i18next-fs-backend": "^1.0.7",
|
|
"i18next-http-middleware": "^3.0.2",
|
|
"isomorphic-unfetch": "^3.0.0",
|
|
"jquery": "^2.2.4",
|
|
"json2csv": "^4.3.3",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"ldapjs": "^0.7.1",
|
|
"lodash": "^4.17.19",
|
|
"logger-sharelatex": "^2.2.0",
|
|
"lru-cache": "^6.0.0",
|
|
"mailchimp-api-v3": "^1.12.0",
|
|
"marked": "^0.3.5",
|
|
"match-sorter": "^6.2.0",
|
|
"mathjax": "^2.7.9",
|
|
"method-override": "^2.3.3",
|
|
"minimist": "1.2.5",
|
|
"mmmagic": "^0.5.3",
|
|
"moment": "^2.24.0",
|
|
"mongodb": "^3.6.0",
|
|
"mongoose": "^5.10.7",
|
|
"multer": "https://github.com/overleaf/multer/archive/7a2928d7ea2da02dd92888ea1c9ba5704e07aeeb.tar.gz",
|
|
"nocache": "^2.1.0",
|
|
"nodemailer": "2.1.0",
|
|
"nodemailer-mandrill-transport": "^1.2.0",
|
|
"nodemailer-ses-transport": "^1.5.1",
|
|
"nvd3": "^1.8.6",
|
|
"oauth2-server": "^3.0.1",
|
|
"otplib": "^12.0.1",
|
|
"p-limit": "^2.3.0",
|
|
"parse-data-url": "^2.0.0",
|
|
"passport": "^0.4.1",
|
|
"passport-google-oauth20": "^2.0.0",
|
|
"passport-ldapauth": "^2.1.4",
|
|
"passport-local": "^1.0.0",
|
|
"passport-oauth2": "^1.5.0",
|
|
"passport-orcid": "0.0.4",
|
|
"passport-saml": "https://github.com/overleaf/passport-saml/releases/download/v3.0.0-overleaf/passport-saml-3.0.0-overleaf.tar.gz",
|
|
"passport-twitter": "^1.0.4",
|
|
"pdfjs-dist": "^2.2.228",
|
|
"prop-types": "^15.7.2",
|
|
"pug": "^3.0.1",
|
|
"pug-runtime": "^3.0.1",
|
|
"qrcode": "^1.4.4",
|
|
"react": "^17.0.2",
|
|
"react-bootstrap": "^0.33.1",
|
|
"react-dnd": "^11.1.3",
|
|
"react-dnd-html5-backend": "^11.1.3",
|
|
"react-dom": "^17.0.2",
|
|
"react-error-boundary": "^2.3.1",
|
|
"react-i18next": "^11.7.1",
|
|
"react-linkify": "^1.0.0-alpha",
|
|
"react2angular": "^4.0.6",
|
|
"react2angular-shared-context": "^1.1.0",
|
|
"recurly": "^4.0.0",
|
|
"referer-parser": "0.0.3",
|
|
"request": "^2.88.2",
|
|
"request-promise-native": "^1.0.8",
|
|
"requestretry": "^1.13.0",
|
|
"rimraf": "2.2.6",
|
|
"rolling-rate-limiter": "^0.2.10",
|
|
"sanitize-html": "^1.27.1",
|
|
"scroll-into-view-if-needed": "^2.2.25",
|
|
"underscore": "^1.13.1",
|
|
"url-parse": "^1.4.7",
|
|
"utf-8-validate": "^5.0.2",
|
|
"uuid": "^3.0.1",
|
|
"valid-data-url": "^2.0.0",
|
|
"valid-url": "^1.0.9",
|
|
"xml-crypto": "^2.1.2",
|
|
"xml2js": "^0.4.22",
|
|
"xregexp": "^4.3.0",
|
|
"yauzl": "^2.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/register": "^7.14.5",
|
|
"@juggle/resize-observer": "^3.3.1",
|
|
"@storybook/addon-a11y": "^6.2.9",
|
|
"@storybook/addon-essentials": "^6.2.9",
|
|
"@storybook/react": "^6.2.9",
|
|
"@testing-library/dom": "^7.31.2",
|
|
"@testing-library/react": "^11.2.7",
|
|
"@testing-library/react-hooks": "^7.0.0",
|
|
"acorn": "^7.1.1",
|
|
"acorn-walk": "^7.1.1",
|
|
"angular-mocks": "~1.8.0",
|
|
"autoprefixer": "^9.7.6",
|
|
"babel-loader": "^8.2.2",
|
|
"babel-plugin-angularjs-annotate": "^0.10.0",
|
|
"babel-plugin-macros": "^3.1.0",
|
|
"c8": "^7.2.0",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"chai-exclude": "^2.0.3",
|
|
"chaid": "^1.0.2",
|
|
"cheerio": "^1.0.0-rc.3",
|
|
"copy-webpack-plugin": "^5.1.1",
|
|
"css-loader": "^3.5.2",
|
|
"es6-promise": "^4.2.8",
|
|
"eslint": "^7.21.0",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-config-standard": "^16.0.2",
|
|
"eslint-config-standard-jsx": "^10.0.0",
|
|
"eslint-config-standard-react": "^11.0.1",
|
|
"eslint-plugin-chai-expect": "^2.2.0",
|
|
"eslint-plugin-chai-friendly": "^0.6.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
"eslint-plugin-mocha": "^8.0.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-react": "^7.22.0",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"eslint-plugin-standard": "^5.0.0",
|
|
"expose-loader": "^0.7.5",
|
|
"fetch-mock": "^9.10.2",
|
|
"file-loader": "^5.0.2",
|
|
"glob": "^7.1.6",
|
|
"handlebars-loader": "^1.7.1",
|
|
"i18next-scanner": "^3.0.0",
|
|
"jsdom": "^16.6.0",
|
|
"jsdom-global": "^3.0.2",
|
|
"karma": "^5.0.2",
|
|
"karma-chai-sinon": "^0.1.5",
|
|
"karma-chrome-launcher": "^3.1.0",
|
|
"karma-mocha": "^2.0.0",
|
|
"karma-mocha-reporter": "^2.2.5",
|
|
"karma-requirejs": "^1.1.0",
|
|
"karma-webpack": "^4.0.2",
|
|
"less": "^3.11.1",
|
|
"less-loader": "^6.0.0",
|
|
"less-plugin-autoprefix": "^2.0.0",
|
|
"mini-css-extract-plugin": "^0.8.0",
|
|
"mkdirp": "0.5.1",
|
|
"mocha": "^8.3.2",
|
|
"mock-fs": "^4.11.0",
|
|
"node-fetch": "^2.6.1",
|
|
"nodemon": "^2.0.6",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
"pirates": "^4.0.1",
|
|
"postcss-loader": "^3.0.0",
|
|
"prettier": "^2.2.1",
|
|
"requirejs": "^2.3.6",
|
|
"samlp": "^3.4.1",
|
|
"sandboxed-module": "^2.0.4",
|
|
"sinon": "^7.5.0",
|
|
"sinon-chai": "^3.5.0",
|
|
"sinon-mongoose": "^2.3.0",
|
|
"socket.io-mock": "^1.3.1",
|
|
"terser-webpack-plugin": "^2.3.6",
|
|
"timekeeper": "^2.2.0",
|
|
"to-string-loader": "^1.1.6",
|
|
"val-loader": "^1.1.1",
|
|
"webpack": "^4.44.2",
|
|
"webpack-assets-manifest": "^4.0.6",
|
|
"webpack-cli": "^3.3.11",
|
|
"webpack-dev-server": "^3.11.0",
|
|
"webpack-merge": "^4.2.2"
|
|
}
|
|
}
|