8f6038951f
Add a /metrics endpoint that exposes metrics about the backend. It provides general runtime metrics (memory, gc, utilization) as well as request metrics.
78 lines
2.0 KiB
JSON
78 lines
2.0 KiB
JSON
{
|
|
"name": "@backstage/backend-common",
|
|
"description": "Common functionality library for Backstage backends",
|
|
"version": "0.1.1-alpha.20",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"private": false,
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"main": "dist/index.cjs.js",
|
|
"types": "dist/index.d.ts"
|
|
},
|
|
"homepage": "https://backstage.io",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/spotify/backstage",
|
|
"directory": "packages/backend-common"
|
|
},
|
|
"keywords": [
|
|
"backstage"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"build": "backstage-cli build --outputs cjs,types",
|
|
"lint": "backstage-cli lint",
|
|
"test": "backstage-cli test",
|
|
"prepack": "backstage-cli prepack",
|
|
"postpack": "backstage-cli postpack",
|
|
"clean": "backstage-cli clean"
|
|
},
|
|
"dependencies": {
|
|
"@backstage/cli-common": "^0.1.1-alpha.20",
|
|
"@backstage/config": "^0.1.1-alpha.20",
|
|
"@backstage/config-loader": "^0.1.1-alpha.20",
|
|
"@types/cors": "^2.8.6",
|
|
"@types/express": "^4.17.6",
|
|
"compression": "^1.7.4",
|
|
"cors": "^2.8.5",
|
|
"express": "^4.17.1",
|
|
"express-prom-bundle": "^6.1.0",
|
|
"express-promise-router": "^3.0.3",
|
|
"helmet": "^4.0.0",
|
|
"knex": "^0.21.1",
|
|
"lodash": "^4.17.15",
|
|
"morgan": "^1.10.0",
|
|
"prom-client": "^12.0.0",
|
|
"selfsigned": "^1.10.7",
|
|
"stoppable": "^1.1.0",
|
|
"winston": "^3.2.1"
|
|
},
|
|
"peerDependencies": {
|
|
"pg-connection-string": "^2.3.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"pg-connection-string": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@backstage/cli": "^0.1.1-alpha.20",
|
|
"@types/compression": "^1.7.0",
|
|
"@types/http-errors": "^1.6.3",
|
|
"@types/morgan": "^1.9.0",
|
|
"@types/stoppable": "^1.1.0",
|
|
"@types/supertest": "^2.0.8",
|
|
"@types/webpack-env": "^1.15.2",
|
|
"@types/yaml": "^1.9.7",
|
|
"get-port": "^5.1.1",
|
|
"http-errors": "^1.7.3",
|
|
"jest": "^26.0.1",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"supertest": "^4.0.2"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
]
|
|
}
|