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