2014-05-06 15:52:03 +00:00
|
|
|
{
|
2020-08-05 10:25:21 +00:00
|
|
|
"name": "@overleaf/metrics",
|
2024-01-17 09:22:46 +00:00
|
|
|
"version": "4.2.0",
|
2014-05-06 15:52:03 +00:00
|
|
|
"description": "A drop-in metrics and monitoring module for node.js apps",
|
2014-08-19 12:32:41 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-08-05 10:25:21 +00:00
|
|
|
"url": "https://github.com/overleaf/metrics-module.git"
|
2014-08-19 12:32:41 +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",
|
2014-05-06 15:52:03 +00:00
|
|
|
"dependencies": {
|
2023-09-20 11:43:53 +00:00
|
|
|
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.1.0",
|
|
|
|
"@google-cloud/profiler": "^6.0.0",
|
|
|
|
"@opentelemetry/api": "^1.4.1",
|
|
|
|
"@opentelemetry/auto-instrumentations-node": "^0.39.1",
|
|
|
|
"@opentelemetry/exporter-trace-otlp-http": "^0.41.2",
|
|
|
|
"@opentelemetry/resources": "^1.15.2",
|
|
|
|
"@opentelemetry/sdk-node": "^0.41.2",
|
|
|
|
"@opentelemetry/semantic-conventions": "^1.15.2",
|
2020-04-01 14:10:40 +00:00
|
|
|
"compression": "^1.7.4",
|
2023-02-09 12:24:35 +00:00
|
|
|
"prom-client": "^14.1.1",
|
2019-10-25 02:02:55 +00:00
|
|
|
"yn": "^3.1.1"
|
2017-03-16 09:49:45 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"bunyan": "^1.0.0",
|
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-17 15:17:18 +00:00
|
|
|
"sandboxed-module": "^2.0.4",
|
2024-01-11 13:26:29 +00:00
|
|
|
"sinon": "^9.2.4",
|
|
|
|
"typescript": "^5.0.4"
|
2020-07-17 15:17:18 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2024-01-11 13:26:29 +00:00
|
|
|
"lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
|
|
|
|
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
|
|
|
|
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
2020-09-16 20:45:56 +00:00
|
|
|
"test:acceptance": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/acceptance",
|
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}'",
|
|
|
|
"test:ci": "npm run test:unit",
|
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"
|
2021-10-27 12:06:50 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2022-05-16 14:25:37 +00:00
|
|
|
"@overleaf/logger": "*"
|
2014-05-06 15:52:03 +00:00
|
|
|
}
|
|
|
|
}
|