1 | {
|
2 | "name": "@opentelemetry/core",
|
3 | "version": "1.26.0",
|
4 | "description": "OpenTelemetry Core provides constants and utilities shared by all OpenTelemetry SDK packages.",
|
5 | "main": "build/src/index.js",
|
6 | "module": "build/esm/index.js",
|
7 | "esnext": "build/esnext/index.js",
|
8 | "browser": {
|
9 | "./src/platform/index.ts": "./src/platform/browser/index.ts",
|
10 | "./build/esm/platform/index.js": "./build/esm/platform/browser/index.js",
|
11 | "./build/esnext/platform/index.js": "./build/esnext/platform/browser/index.js",
|
12 | "./build/src/platform/index.js": "./build/src/platform/browser/index.js"
|
13 | },
|
14 | "types": "build/src/index.d.ts",
|
15 | "repository": "open-telemetry/opentelemetry-js",
|
16 | "scripts": {
|
17 | "prepublishOnly": "npm run compile",
|
18 | "compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
|
19 | "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
|
20 | "test": "nyc mocha test/**/*.test.ts --exclude 'test/platform/browser/**/*.ts'",
|
21 | "test:browser": "karma start --single-run",
|
22 | "tdd": "npm run tdd:node",
|
23 | "tdd:node": "npm run test -- --watch-extensions ts --watch",
|
24 | "tdd:browser": "karma start",
|
25 | "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
|
26 | "codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
|
27 | "lint": "eslint . --ext .ts",
|
28 | "lint:fix": "eslint . --ext .ts --fix",
|
29 | "version": "node ../../scripts/version-update.js",
|
30 | "watch": "tsc --build --watch tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
|
31 | "precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies",
|
32 | "prewatch": "npm run precompile",
|
33 | "peer-api-check": "node ../../scripts/peer-api-check.js",
|
34 | "align-api-deps": "node ../../scripts/align-api-deps.js"
|
35 | },
|
36 | "keywords": [
|
37 | "opentelemetry",
|
38 | "nodejs",
|
39 | "browser",
|
40 | "tracing",
|
41 | "profiling",
|
42 | "metrics",
|
43 | "stats"
|
44 | ],
|
45 | "author": "OpenTelemetry Authors",
|
46 | "license": "Apache-2.0",
|
47 | "engines": {
|
48 | "node": ">=14"
|
49 | },
|
50 | "files": [
|
51 | "build/esm/**/*.js",
|
52 | "build/esm/**/*.js.map",
|
53 | "build/esm/**/*.d.ts",
|
54 | "build/esnext/**/*.js",
|
55 | "build/esnext/**/*.js.map",
|
56 | "build/esnext/**/*.d.ts",
|
57 | "build/src/**/*.js",
|
58 | "build/src/**/*.js.map",
|
59 | "build/src/**/*.d.ts",
|
60 | "doc",
|
61 | "LICENSE",
|
62 | "README.md"
|
63 | ],
|
64 | "publishConfig": {
|
65 | "access": "public"
|
66 | },
|
67 | "devDependencies": {
|
68 | "@opentelemetry/api": ">=1.0.0 <1.10.0",
|
69 | "@types/mocha": "10.0.7",
|
70 | "@types/node": "18.6.5",
|
71 | "@types/sinon": "17.0.3",
|
72 | "@types/webpack-env": "1.16.3",
|
73 | "babel-plugin-istanbul": "7.0.0",
|
74 | "codecov": "3.8.3",
|
75 | "cross-var": "1.1.0",
|
76 | "karma": "6.4.4",
|
77 | "karma-chrome-launcher": "3.1.0",
|
78 | "karma-coverage": "2.2.1",
|
79 | "karma-mocha": "2.0.1",
|
80 | "karma-spec-reporter": "0.0.36",
|
81 | "karma-webpack": "5.0.1",
|
82 | "lerna": "6.6.2",
|
83 | "mocha": "10.7.3",
|
84 | "nyc": "15.1.0",
|
85 | "sinon": "15.1.2",
|
86 | "ts-loader": "9.5.1",
|
87 | "typescript": "4.4.4",
|
88 | "webpack": "5.89.0"
|
89 | },
|
90 | "peerDependencies": {
|
91 | "@opentelemetry/api": ">=1.0.0 <1.10.0"
|
92 | },
|
93 | "dependencies": {
|
94 | "@opentelemetry/semantic-conventions": "1.27.0"
|
95 | },
|
96 | "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-core",
|
97 | "sideEffects": false,
|
98 | "gitHead": "720bc8c70d47029cb6b41a34ffdc3d25cbaa2f80"
|
99 | }
|