1 | {
|
2 | "name": "@opentelemetry/api",
|
3 | "version": "1.8.0",
|
4 | "description": "Public API for OpenTelemetry",
|
5 | "main": "build/src/index.js",
|
6 | "module": "build/esm/index.js",
|
7 | "esnext": "build/esnext/index.js",
|
8 | "types": "build/src/index.d.ts",
|
9 | "browser": {
|
10 | "./src/platform/index.ts": "./src/platform/browser/index.ts",
|
11 | "./build/esm/platform/index.js": "./build/esm/platform/browser/index.js",
|
12 | "./build/esnext/platform/index.js": "./build/esnext/platform/browser/index.js",
|
13 | "./build/src/platform/index.js": "./build/src/platform/browser/index.js"
|
14 | },
|
15 | "exports": {
|
16 | ".": {
|
17 | "module": "./build/esm/index.js",
|
18 | "esnext": "./build/esnext/index.js",
|
19 | "types": "./build/src/index.d.ts",
|
20 | "default": "./build/src/index.js"
|
21 | },
|
22 | "./experimental": {
|
23 | "module": "./build/esm/experimental/index.js",
|
24 | "esnext": "./build/esnext/experimental/index.js",
|
25 | "types": "./build/src/experimental/index.d.ts",
|
26 | "default": "./build/src/experimental/index.js"
|
27 | }
|
28 | },
|
29 | "repository": "open-telemetry/opentelemetry-js",
|
30 | "scripts": {
|
31 | "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
|
32 | "codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p ../",
|
33 | "codecov:webworker": "nyc report --reporter=json && codecov -f coverage/*.json -p ../",
|
34 | "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../",
|
35 | "precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies",
|
36 | "compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
|
37 | "docs": "typedoc",
|
38 | "docs:deploy": "gh-pages --dist docs/out",
|
39 | "docs:test": "linkinator docs/out --silent && linkinator docs/*.md *.md --markdown --silent",
|
40 | "lint:fix": "eslint . --ext .ts --fix",
|
41 | "lint": "eslint . --ext .ts",
|
42 | "test:browser": "karma start --single-run",
|
43 | "test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
|
44 | "test:eol": "ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
|
45 | "test:webworker": "karma start karma.worker.js --single-run",
|
46 | "cycle-check": "dpdm --exit-code circular:1 src/index.ts",
|
47 | "version": "node ../scripts/version-update.js",
|
48 | "prewatch": "npm run precompile",
|
49 | "watch": "tsc --build --watch tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
|
50 | "peer-api-check": "node ../scripts/peer-api-check.js"
|
51 | },
|
52 | "keywords": [
|
53 | "opentelemetry",
|
54 | "nodejs",
|
55 | "browser",
|
56 | "tracing",
|
57 | "profiling",
|
58 | "stats",
|
59 | "monitoring"
|
60 | ],
|
61 | "author": "OpenTelemetry Authors",
|
62 | "license": "Apache-2.0",
|
63 | "engines": {
|
64 | "node": ">=8.0.0"
|
65 | },
|
66 | "files": [
|
67 | "build/esm/**/*.js",
|
68 | "build/esm/**/*.js.map",
|
69 | "build/esm/**/*.d.ts",
|
70 | "build/esnext/**/*.js",
|
71 | "build/esnext/**/*.js.map",
|
72 | "build/esnext/**/*.d.ts",
|
73 | "build/src/**/*.js",
|
74 | "build/src/**/*.js.map",
|
75 | "build/src/**/*.d.ts",
|
76 | "LICENSE",
|
77 | "README.md"
|
78 | ],
|
79 | "publishConfig": {
|
80 | "access": "public"
|
81 | },
|
82 | "devDependencies": {
|
83 | "@types/mocha": "10.0.6",
|
84 | "@types/node": "18.6.5",
|
85 | "@types/sinon": "10.0.20",
|
86 | "@types/webpack": "5.28.5",
|
87 | "@types/webpack-env": "1.16.3",
|
88 | "babel-plugin-istanbul": "6.1.1",
|
89 | "codecov": "3.8.3",
|
90 | "cross-var": "1.1.0",
|
91 | "dpdm": "3.13.1",
|
92 | "karma": "6.4.2",
|
93 | "karma-chrome-launcher": "3.1.0",
|
94 | "karma-coverage": "2.2.1",
|
95 | "karma-mocha": "2.0.1",
|
96 | "karma-mocha-webworker": "1.3.0",
|
97 | "karma-spec-reporter": "0.0.36",
|
98 | "karma-webpack": "4.0.2",
|
99 | "lerna": "6.6.2",
|
100 | "memfs": "3.5.3",
|
101 | "mocha": "10.2.0",
|
102 | "nyc": "15.1.0",
|
103 | "sinon": "15.1.2",
|
104 | "ts-loader": "8.4.0",
|
105 | "ts-mocha": "10.0.0",
|
106 | "typescript": "4.4.4",
|
107 | "unionfs": "4.5.1",
|
108 | "webpack": "5.89.0"
|
109 | },
|
110 | "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/api",
|
111 | "sideEffects": false,
|
112 | "gitHead": "7be35c7845e206b27b682e8ce1cee850b09cec04"
|
113 | }
|