2023-01-13 07:42:29 -05: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",
|
2023-12-07 05:05:50 -05:00
|
|
|
"start": "node app.js",
|
|
|
|
"nodemon": "node --watch app.js",
|
2023-06-01 03:21:10 -04:00
|
|
|
"test:acceptance:_run": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
2023-01-13 07:42:29 -05: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'",
|
2024-01-16 14:24:03 -05:00
|
|
|
"lint:fix": "eslint --fix .",
|
|
|
|
"types:check": "tsc --noEmit"
|
2023-01-13 07:42:29 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-07-10 11:11:50 -04:00
|
|
|
"@overleaf/fetch-utils": "*",
|
2023-01-13 07:42:29 -05:00
|
|
|
"@overleaf/logger": "*",
|
|
|
|
"@overleaf/metrics": "*",
|
|
|
|
"@overleaf/o-error": "*",
|
2024-04-11 08:32:51 -04:00
|
|
|
"@overleaf/promise-utils": "*",
|
2023-01-13 07:42:29 -05:00
|
|
|
"@overleaf/redis-wrapper": "*",
|
|
|
|
"@overleaf/settings": "*",
|
2024-05-31 05:51:51 -04:00
|
|
|
"async": "^3.2.5",
|
2023-01-13 07:42:29 -05:00
|
|
|
"aws-sdk": "^2.650.0",
|
|
|
|
"body-parser": "^1.19.0",
|
|
|
|
"bunyan": "^1.8.15",
|
2024-02-02 06:49:05 -05:00
|
|
|
"celebrate": "^15.0.3",
|
2023-01-13 07:42:29 -05:00
|
|
|
"cli": "^1.0.1",
|
2023-01-31 10:42:43 -05:00
|
|
|
"diff-match-patch": "overleaf/diff-match-patch#89805f9c671a77a263fc53461acd62aa7498f688",
|
2024-02-16 10:57:12 -05:00
|
|
|
"esmock": "^2.6.3",
|
2024-04-22 08:12:16 -04:00
|
|
|
"express": "^4.19.2",
|
2023-01-13 07:42:29 -05:00
|
|
|
"lodash": "^4.17.20",
|
2023-12-15 05:51:11 -05:00
|
|
|
"mongodb-legacy": "^6.0.1",
|
2023-01-13 07:42:29 -05:00
|
|
|
"overleaf-editor-core": "*",
|
2024-04-11 08:35:16 -04:00
|
|
|
"request": "^2.88.2"
|
2023-01-13 07:42:29 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"chai": "^4.3.6",
|
|
|
|
"chai-as-promised": "^7.1.1",
|
2023-01-16 10:55:29 -05:00
|
|
|
"mocha": "^10.2.0",
|
2024-02-28 06:17:03 -05:00
|
|
|
"nock": "^13.5.3",
|
2023-01-13 07:42:29 -05:00
|
|
|
"sinon": "~9.0.1",
|
|
|
|
"sinon-chai": "^3.7.0",
|
2024-01-11 08:25:25 -05:00
|
|
|
"timekeeper": "2.2.0",
|
|
|
|
"typescript": "^5.0.4"
|
2023-01-13 07:42:29 -05:00
|
|
|
}
|
|
|
|
}
|