2014-05-06 11:52:03 -04:00
|
|
|
{
|
2020-08-05 06:25:21 -04:00
|
|
|
"name": "@overleaf/metrics",
|
2024-01-17 04:22:46 -05:00
|
|
|
"version": "4.2.0",
|
2014-05-06 11:52:03 -04:00
|
|
|
"description": "A drop-in metrics and monitoring module for node.js apps",
|
2014-08-19 08:32:41 -04:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-08-05 06:25:21 -04:00
|
|
|
"url": "https://github.com/overleaf/metrics-module.git"
|
2014-08-19 08:32:41 -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",
|
2014-05-06 11:52:03 -04:00
|
|
|
"dependencies": {
|
2023-09-20 07:43:53 -04: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 10:10:40 -04:00
|
|
|
"compression": "^1.7.4",
|
2023-02-09 07:24:35 -05:00
|
|
|
"prom-client": "^14.1.1",
|
2019-10-24 22:02:55 -04:00
|
|
|
"yn": "^3.1.1"
|
2017-03-16 05:49:45 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"bunyan": "^1.0.0",
|
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-17 11:17:18 -04:00
|
|
|
"sandboxed-module": "^2.0.4",
|
2024-01-11 08:26:29 -05:00
|
|
|
"sinon": "^9.2.4",
|
|
|
|
"typescript": "^5.0.4"
|
2020-07-17 11:17:18 -04:00
|
|
|
},
|
|
|
|
"scripts": {
|
2024-01-11 08:26:29 -05: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 16:45:56 -04:00
|
|
|
"test:acceptance": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/acceptance",
|
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}'",
|
|
|
|
"test:ci": "npm run test:unit",
|
2024-01-23 14:53:37 -05:00
|
|
|
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
2024-01-16 14:24:03 -05:00
|
|
|
"types:check": "tsc --noEmit",
|
|
|
|
"types:rebuild": "rm -rf types && npm run types:build"
|
2021-10-27 08:06:50 -04:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2022-05-16 10:25:37 -04:00
|
|
|
"@overleaf/logger": "*"
|
2014-05-06 11:52:03 -04:00
|
|
|
}
|
|
|
|
}
|