@exa-labs/prom-client
Version:
Client for prometheus
84 lines (83 loc) • 1.89 kB
JSON
{
"name": "@exa-labs/prom-client",
"version": "15.1.3",
"description": "Client for prometheus",
"main": "index.js",
"files": [
"lib/",
"index.js",
"index.d.ts"
],
"engines": {
"node": "^20 || ^22 || >=24"
},
"scripts": {
"benchmarks": "node --max-heap-size=5000 ./benchmarks/index.js",
"test": "npm run lint && npm run check-prettier && npm run compile-typescript && npm run test-unit -- --coverage",
"lint": "eslint .",
"test-unit": "jest",
"run-prettier": "prettier .",
"check-prettier": "npm run run-prettier -- --check",
"compile-typescript": "tsc --project .",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git@github.com:siimon/prom-client.git"
},
"keywords": [
"Prometheus",
"Metrics",
"Client"
],
"author": "Simon Nyberg",
"license": "Apache-2.0",
"homepage": "https://github.com/siimon/prom-client",
"devDependencies": {
"@clevernature/benchmark-regression": "^1.0.0",
"@eslint/js": "^9.29.0",
"benchmark": "^2.1",
"debug": "^4.4.1",
"eslint": "^9.29.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-jsdoc": "^51.2.3",
"eslint-plugin-n": "^17.20.0",
"eslint-plugin-prettier": "^5.0.1",
"express": "^5.1.0",
"globals": "^16.2.0",
"husky": "^9.0.0",
"jest": "^30.0.2",
"lint-staged": "^15.5.2",
"nock": "^13.0.5",
"prettier": "3.6.2",
"typescript": "^5.0.4",
"typescript-eslint": "^8.35.0"
},
"dependencies": {
"@opentelemetry/api": "^1.4.0",
"tdigest": "^0.1.1"
},
"types": "./index.d.ts",
"jest": {
"testRegex": ".*Test\\.js$"
},
"lint-staged": {
"*.{js,ts}": "eslint --fix",
"*.{md,json,yml}": "prettier --write"
},
"prettier": {
"singleQuote": true,
"useTabs": true,
"arrowParens": "avoid",
"trailingComma": "all",
"endOfLine": "auto",
"overrides": [
{
"files": "*.md",
"options": {
"useTabs": false
}
}
]
}
}