2023-01-13 12:42:29 +00:00
|
|
|
{
|
|
|
|
"name": "@overleaf/project-history",
|
|
|
|
"description": "An API for saving and compressing individual document updates into a browseable history",
|
|
|
|
"private": true,
|
|
|
|
"main": "app.js",
|
|
|
|
"type": "module",
|
|
|
|
"scripts": {
|
|
|
|
"test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
|
|
|
|
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
|
|
|
"start": "node $NODE_APP_OPTIONS app.js",
|
|
|
|
"nodemon": "nodemon --config nodemon.json",
|
2023-06-01 07:21:10 +00:00
|
|
|
"test:acceptance:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
2023-01-13 12:42:29 +00:00
|
|
|
"test:unit:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec $@ test/unit/js",
|
|
|
|
"lint": "eslint --max-warnings 0 --format unix .",
|
|
|
|
"format": "prettier --list-different $PWD/'**/*.js'",
|
|
|
|
"format:fix": "prettier --write $PWD/'**/*.js'",
|
|
|
|
"lint:fix": "eslint --fix ."
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-07-10 15:11:50 +00:00
|
|
|
"@overleaf/fetch-utils": "*",
|
2023-01-13 12:42:29 +00:00
|
|
|
"@overleaf/logger": "*",
|
|
|
|
"@overleaf/metrics": "*",
|
|
|
|
"@overleaf/o-error": "*",
|
|
|
|
"@overleaf/redis-wrapper": "*",
|
|
|
|
"@overleaf/settings": "*",
|
|
|
|
"async": "^3.2.2",
|
|
|
|
"aws-sdk": "^2.650.0",
|
|
|
|
"bluebird": "^3.7.2",
|
|
|
|
"body-parser": "^1.19.0",
|
|
|
|
"bunyan": "^1.8.15",
|
|
|
|
"byline": "^4.2.1",
|
|
|
|
"celebrate": "^10.1.0",
|
|
|
|
"cli": "^1.0.1",
|
2023-01-31 15:42:43 +00:00
|
|
|
"diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
|
2023-01-13 12:42:29 +00:00
|
|
|
"esmock": "^2.1.0",
|
2023-01-24 14:21:39 +00:00
|
|
|
"express": "^4.18.2",
|
2023-01-13 12:42:29 +00:00
|
|
|
"heap": "^0.2.6",
|
|
|
|
"line-reader": "^0.2.4",
|
|
|
|
"lodash": "^4.17.20",
|
|
|
|
"mongo-uri": "^0.1.2",
|
|
|
|
"mongodb": "^4.11.0",
|
|
|
|
"overleaf-editor-core": "*",
|
|
|
|
"redis": "~0.10.1",
|
|
|
|
"request": "^2.88.2",
|
2023-01-26 12:59:49 +00:00
|
|
|
"requestretry": "^7.1.0"
|
2023-01-13 12:42:29 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"chai": "^4.3.6",
|
|
|
|
"chai-as-promised": "^7.1.1",
|
2023-01-16 15:55:29 +00:00
|
|
|
"mocha": "^10.2.0",
|
2023-01-13 12:42:29 +00:00
|
|
|
"multer": "^1.4.2",
|
|
|
|
"nock": "^12.0.3",
|
|
|
|
"sinon": "~9.0.1",
|
|
|
|
"sinon-chai": "^3.7.0",
|
|
|
|
"timekeeper": "2.2.0"
|
|
|
|
}
|
|
|
|
}
|