2014-02-17 14:54:20 +00:00
|
|
|
{
|
2021-09-24 08:10:05 +00:00
|
|
|
"name": "@overleaf/logger",
|
|
|
|
"homepage": "www.overleaf.com",
|
|
|
|
"description": "A centralised logging system for Overleaf",
|
2014-08-19 12:27:58 +00:00
|
|
|
"repository": {
|
2015-06-16 15:50:18 +00:00
|
|
|
"type": "git",
|
2021-09-24 08:10:05 +00:00
|
|
|
"url": "https://github.com/overleaf/overleaf"
|
2014-08-19 12:27:58 +00:00
|
|
|
},
|
2024-01-11 13:26:29 +00:00
|
|
|
"main": "index.js",
|
2024-01-16 19:24:03 +00:00
|
|
|
"types": "types/index.d.ts",
|
2019-07-11 12:07:47 +00:00
|
|
|
"license": "AGPL-3.0-only",
|
2022-02-16 13:03:21 +00:00
|
|
|
"version": "3.1.1",
|
2019-01-22 13:31:05 +00:00
|
|
|
"scripts": {
|
2024-01-16 19:24:03 +00:00
|
|
|
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
2024-01-11 13:26:29 +00:00
|
|
|
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
|
|
|
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
|
|
|
"lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
|
|
|
|
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
|
|
|
|
"test:ci": "npm run test:unit",
|
|
|
|
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
2024-01-23 19:53:37 +00:00
|
|
|
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
2024-01-16 19:24:03 +00:00
|
|
|
"types:check": "tsc --noEmit",
|
|
|
|
"types:rebuild": "rm -rf types && npm run types:build"
|
2019-01-22 13:31:05 +00:00
|
|
|
},
|
2014-02-17 14:54:20 +00:00
|
|
|
"dependencies": {
|
2023-08-31 10:34:23 +00:00
|
|
|
"@google-cloud/logging-bunyan": "^5.0.0",
|
2023-09-07 11:57:11 +00:00
|
|
|
"@overleaf/fetch-utils": "*",
|
2022-10-27 15:35:43 +00:00
|
|
|
"@overleaf/o-error": "*",
|
2021-09-22 10:25:28 +00:00
|
|
|
"@sentry/node": "^6.13.2",
|
2023-09-07 11:57:11 +00:00
|
|
|
"bunyan": "^1.8.14"
|
2019-01-22 13:31:05 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-02-07 11:46:51 +00:00
|
|
|
"chai": "^4.3.6",
|
2023-01-16 15:55:29 +00:00
|
|
|
"mocha": "^10.2.0",
|
2020-07-02 10:04:21 +00:00
|
|
|
"sandboxed-module": "^2.0.4",
|
2022-02-07 11:46:51 +00:00
|
|
|
"sinon": "^9.2.4",
|
2024-01-11 13:26:29 +00:00
|
|
|
"sinon-chai": "^3.7.0",
|
|
|
|
"typescript": "^5.0.4"
|
2021-10-27 12:06:50 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2022-10-27 15:35:43 +00:00
|
|
|
"@overleaf/metrics": "*"
|
2014-02-17 14:54:20 +00:00
|
|
|
}
|
|
|
|
}
|