-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.29 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "@elastic/opamp-client-node",
"version": "0.4.0",
"type": "commonjs",
"description": "an OpAMP client for Node.js",
"publishConfig": {
"access": "public",
"provenance": true
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/elastic/elastic-otel-node.git",
"directory": "packages/opamp-client-node"
},
"keywords": [
"elastic",
"opentelemetry",
"opamp",
"client"
],
"author": "Elastic Observability <https://www.elastic.co/observability>",
"engines": {
"node": "^18.19.0 || >=20.6.0"
},
"scripts": {
"clean": "rm -rf node_modules",
"example": "cd examples && node use-opamp-client.js | pino-pretty",
"example:instrumented": "cd examples && node --import ../../opentelemetry-node/import.mjs use-opamp-client.js | pino-pretty",
"example:mTLS": "cd examples && node use-opamp-client-mTLS.js | pino-pretty",
"gen:protos": "buf generate",
"gen:types": "rm -rf types && tsc",
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:types && npm run lint:deps && npm run lint:license-files",
"lint:except-eslint-and-prettier": "npm run lint:types && npm run lint:deps && npm run lint:license-files",
"lint:eslint": "eslint .",
"lint:prettier": "(cd ../../; prettier --check $npm_config_local_prefix)",
"lint:types": "rm -rf build/lint-types && tsc --outDir build/lint-types && diff -ur types build/lint-types",
"lint:deps": "dependency-check '{examples,lib,test}/**/*.js' -i @bufbuild/buf -i @bufbuild/protoc-gen-es -i pino-pretty",
"lint:license-files": "../../scripts/gen-notice.sh --lint .",
"lint:fix": "eslint --fix . && (cd ../../; prettier --list-different --write $npm_config_local_prefix)",
"test": "tape test/**/*.test.js",
"maint:regenerate-test-certs": "cd test/certs && ./regenerate.sh"
},
"files": [
"CHANGELOG.md",
"lib",
"types"
],
"main": "lib/index.js",
"types": "types/index.d.ts",
"dependencies": {
"@bufbuild/protobuf": "^2.2.5",
"undici": "^6.21.2",
"uuid": "^11.1.0"
},
"devDependencies": {
"@bufbuild/buf": "^1.52.1",
"@bufbuild/protoc-gen-es": "^2.2.5",
"@elastic/mockopampserver": ">=0.5.0 <1",
"luggite": "^0.2.1",
"pino-pretty": "^13.0.0",
"tape": "^5.9.0"
}
}