@itwin/presentation-opentelemetry
Version:
Utilities to enable OpenTelemetry tracing of Presentation requests
75 lines • 2.85 kB
JSON
{
"name": "@itwin/presentation-opentelemetry",
"version": "4.2.5",
"description": "Utilities to enable OpenTelemetry tracing of Presentation requests",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/iTwin/presentation.git",
"directory": "packages/opentelemetry"
},
"keywords": [
"Bentley",
"Presentation",
"iTwin",
"iTwin.js",
"OpenTelemetry",
"Diagnostics"
],
"author": {
"name": "Bentley Systems, Inc.",
"url": "http://www.bentley.com"
},
"type": "module",
"main": "lib/cjs/presentation-opentelemetry.js",
"types": "lib/cjs/presentation-opentelemetry",
"module": "lib/esm/presentation-opentelemetry.js",
"exports": {
".": {
"import": "./lib/esm/presentation-opentelemetry.js",
"require": "./lib/cjs/presentation-opentelemetry.js"
},
"./package.json": "./package.json"
},
"peerDependencies": {
"@itwin/presentation-common": "^3.6.3 || ^4.0.0 || ^5.0.0",
"@opentelemetry/api": "^1.0.4"
},
"devDependencies": {
"@itwin/build-tools": "^5.5.1",
"@itwin/eslint-plugin": "5.1.0",
"@itwin/presentation-common": "^5.6.0-dev.8",
"@opentelemetry/api": "^1.9.0",
"@types/chai": "^5.2.3",
"@types/mocha": "^10.0.10",
"@types/node": "^22.19.7",
"@types/sinon": "^17.0.4",
"@types/sinon-chai": "^4.0.0",
"c8": "^10.1.3",
"chai": "^5.3.3",
"cpx2": "^7.0.2",
"cross-env": "^7.0.3",
"eslint": "^9.39.2",
"mocha": "^11.7.5",
"rimraf": "^6.1.2",
"sinon": "^19.0.5",
"sinon-chai": "^4.0.1",
"typescript": "~5.7.3"
},
"scripts": {
"build": "npm run -s build:cjs && npm run -s build:esm",
"build:cjs": "node ../../scripts/package-cjs.mjs ./lib/cjs && tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"clean": "rimraf lib build",
"cover": "c8 npm -s test",
"docs": "npm run -s docs:reference && npm run -s docs:extract && npm run -s docs:changelog",
"docs:changelog": "cpx ./CHANGELOG.md ./build/docs/reference/presentation-opentelemetry",
"docs:reference": "cross-env NODE_PROJECT_ROOT_DIRECTORY=../../ betools docs --json=./build/docs/reference/presentation-opentelemetry/file.json --tsIndexFile=presentation-opentelemetry.ts --onlyJson",
"docs:extract": "betools extract --fileExt=ts --extractFrom=./src/test --recursive --out=./build/docs/extract",
"lint": "eslint \"./src/**/*.ts\"",
"test:dev": "mocha --enable-source-maps --config ./.mocharc.json",
"test": "npm run test:dev",
"extract-api": "betools extract-api --entry=presentation-opentelemetry --apiReportFolder=./api --apiReportTempFolder=./api/temp --apiSummaryFolder=./api --includeUnexportedApis",
"check-internal": "node ../../scripts/checkInternal.js --apiSummary ./api/presentation-opentelemetry.api.md"
}
}