UNPKG

@sumologic/opentelemetry-rum

Version:

Adds OpenTelemetry tracing auto-instrumentation in the browser. Collects spans on network events and sends them to Sumo Logic.

82 lines (81 loc) 2.42 kB
{ "name": "@sumologic/opentelemetry-rum", "version": "4.6.4", "description": "Adds OpenTelemetry tracing auto-instrumentation in the browser. Collects spans on network events and sends them to Sumo Logic.", "main": "./dist/index.js", "types": "./dist/src/index.d.ts", "files": [ "dist" ], "scripts": { "prepublishOnly": "npm run build", "build": "node ./scripts/bundle.js && rollup -c", "eslint-fix": "eslint --fix", "lint-staged": "lint-staged", "prettier-check-all": "prettier --check .", "prettier-format-all": "prettier --write .", "types": "npx tsc --noEmit", "test": "npx jest && npx playwright test --retries=3 e2e_test/ && npm run prettier-check-all", "test:ut": "npx jest", "test:e2e": "npx playwright test --retries=3 e2e_test", "prepare": "husky install" }, "repository": "SumoLogic/sumologic-opentelemetry-js", "author": "Sumo Logic Authors", "license": "Apache-2.0", "keywords": [ "opentelemetry", "tracing", "sumologic", "sumo", "rum", "ot" ], "devDependencies": { "@playwright/test": "^1.15.0", "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.0.5", "@types/express": "^4.17.13", "@types/jest": "^27.0.2", "@types/json-diff": "^0.7.0", "@types/node": "^16.18.126", "@types/shimmer": "^1.0.2", "@typescript-eslint/eslint-plugin": "^5.59.0", "@typescript-eslint/parser": "^5.59.0", "axios": "^0.21.4", "eslint": "^8.39.0", "eslint-config-prettier": "^8.8.0", "express": "^4.17.1", "husky": "^8.0.0", "jest": "^27.2.4", "json-diff": "^0.7.4", "lint-staged": "^13.2.1", "lodash.merge": "^4.6.2", "playwright": "^1.15.0", "prettier": "^2.4.1", "require-in-the-middle": "^6.0.0", "rollup": "^2.80.0", "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.30.0", "shimmer": "^1.2.1", "ts-jest": "^27.0.5", "typescript": "^4.4.3", "web-vitals": "^2.1.4", "zone.js": "^0.11.4" }, "peerDependencies": { "@opentelemetry/api": "1.8.0", "@opentelemetry/sdk-trace-base": "1.22.0" }, "lint-staged": { "*.{md}": [ "npm run prettier-format-all" ], "*.{ts,tsx,js,jsx,json}": [ "npm run eslint-fix", "npm run prettier-format-all" ] } }