UNPKG

3.18 kBJSONView Raw
1{
2 "name": "@opentelemetry/api",
3 "version": "1.4.1",
4 "description": "Public API for OpenTelemetry",
5 "main": "build/src/index.js",
6 "module": "build/esm/index.js",
7 "types": "build/src/index.d.ts",
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/src/platform/index.js": "./build/src/platform/browser/index.js"
12 },
13 "repository": "open-telemetry/opentelemetry-js",
14 "scripts": {
15 "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
16 "codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p ../",
17 "codecov:webworker": "nyc report --reporter=json && codecov -f coverage/*.json -p ../",
18 "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../",
19 "precompile": "lerna run version --scope $(npm pkg get name) --include-dependencies",
20 "compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
21 "docs": "typedoc",
22 "docs:deploy": "gh-pages --dist docs/out",
23 "docs:test": "linkinator docs/out --silent && linkinator docs/*.md *.md --markdown --silent",
24 "lint:fix": "eslint . --ext .ts --fix",
25 "lint": "eslint . --ext .ts",
26 "test:browser": "nyc karma start --single-run",
27 "test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
28 "test:webworker": "nyc karma start karma.worker.js --single-run",
29 "cycle-check": "dpdm --exit-code circular:1 src/index.ts",
30 "version": "node ../scripts/version-update.js",
31 "prewatch": "npm run precompile",
32 "watch": "tsc --build --watch tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
33 "peer-api-check": "node ../scripts/peer-api-check.js"
34 },
35 "keywords": [
36 "opentelemetry",
37 "nodejs",
38 "browser",
39 "tracing",
40 "profiling",
41 "stats",
42 "monitoring"
43 ],
44 "author": "OpenTelemetry Authors",
45 "license": "Apache-2.0",
46 "engines": {
47 "node": ">=8.0.0"
48 },
49 "files": [
50 "build/esm/**/*.js",
51 "build/esm/**/*.js.map",
52 "build/esm/**/*.d.ts",
53 "build/src/**/*.js",
54 "build/src/**/*.js.map",
55 "build/src/**/*.d.ts",
56 "LICENSE",
57 "README.md"
58 ],
59 "publishConfig": {
60 "access": "public"
61 },
62 "devDependencies": {
63 "@types/mocha": "10.0.0",
64 "@types/node": "18.6.5",
65 "@types/sinon": "10.0.13",
66 "@types/webpack": "4.41.26",
67 "@types/webpack-env": "1.16.3",
68 "codecov": "3.8.3",
69 "dpdm": "3.10.0",
70 "istanbul-instrumenter-loader": "3.0.1",
71 "karma": "6.3.16",
72 "karma-chrome-launcher": "3.1.0",
73 "karma-coverage-istanbul-reporter": "3.0.3",
74 "karma-mocha": "2.0.1",
75 "karma-mocha-webworker": "1.3.0",
76 "karma-spec-reporter": "0.0.32",
77 "karma-webpack": "4.0.2",
78 "memfs": "3.4.9",
79 "mocha": "10.0.0",
80 "nyc": "15.1.0",
81 "sinon": "15.0.0",
82 "ts-loader": "8.4.0",
83 "ts-mocha": "10.0.0",
84 "typescript": "4.4.4",
85 "unionfs": "4.4.0",
86 "webpack": "4.46.0"
87 },
88 "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/api",
89 "sideEffects": false,
90 "gitHead": "56e6b1bb890f844b8963a146780d0b9cfa8abd0d"
91}