mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
0e2f0e7f7d
GitOrigin-RevId: 353d3a6d7bef5527fe0a068775dd6ac8c3557483
50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"name": "@overleaf/metrics",
|
|
"version": "4.2.0",
|
|
"description": "A drop-in metrics and monitoring module for node.js apps",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/overleaf/metrics-module.git"
|
|
},
|
|
"overrides": {
|
|
"google-gax": {
|
|
"protobufjs": "^7.2.5"
|
|
}
|
|
},
|
|
"main": "index.js",
|
|
"dependencies": {
|
|
"@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",
|
|
"compression": "^1.7.4",
|
|
"prom-client": "^14.1.1",
|
|
"yn": "^3.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"bunyan": "^1.0.0",
|
|
"chai": "^4.3.6",
|
|
"mocha": "^10.2.0",
|
|
"sandboxed-module": "^2.0.4",
|
|
"sinon": "^9.2.4",
|
|
"typescript": "^5.0.4"
|
|
},
|
|
"scripts": {
|
|
"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}",
|
|
"test:acceptance": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/acceptance",
|
|
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
|
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
|
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
|
"test:ci": "npm run test:unit",
|
|
"types:check": "tsc --noEmit"
|
|
},
|
|
"peerDependencies": {
|
|
"@overleaf/logger": "*"
|
|
}
|
|
}
|