-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 3.26 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 3.26 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "@map-colonies/telemetry",
"version": "10.1.0",
"description": "Package for everything telemetry related in MapColonies",
"main": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./conventions": {
"default": "./dist/semanticConventions/index.js",
"types": "./dist/semanticConventions/index.d.ts"
},
"./prom-metrics": {
"default": "./dist/metrics/middleware/metrics.js",
"types": "./dist/metrics/middleware/metrics.d.ts"
}
},
"scripts": {
"format": "prettier --check .",
"format:fix": "prettier --write .",
"prelint:fix": "npm run format:fix",
"prelint": "npm run format",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"release": "standard-version",
"prebuild": "npm run clean && npm run validate:attributes && npm run generate:attributes",
"build": "tsc --project tsconfig.build.json",
"start": "npm run build && cd dist && node ./index.js",
"clean": "rimraf dist",
"validate:attributes": "tsx scripts/validate-semantic-conventions.mts",
"generate:attributes": "tsx scripts/build-semantic-conventions.mts",
"generate:types": "json2ts schemas/attribute.schema.json > scripts/autogen.mts",
"prepack": "npm run build",
"prepare": "husky",
"docs": "typedoc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MapColonies/telemetry.git"
},
"author": "MapColonies",
"license": "ISC",
"bugs": {
"url": "https://github.com/MapColonies/telemetry/issues"
},
"files": [
"dist/**/*"
],
"engines": {
"node": ">=20"
},
"homepage": "https://github.com/MapColonies/telemetry#readme",
"dependencies": {
"@apideck/better-ajv-errors": "^0.3.6",
"@map-colonies/read-pkg": "^0.0.1",
"@opentelemetry/auto-instrumentations-node": "^0.56.0",
"@opentelemetry/exporter-metrics-otlp-http": "^0.57.2",
"@opentelemetry/sdk-metrics": "^1.30.1",
"@opentelemetry/sdk-node": "^0.57.2",
"@opentelemetry/semantic-conventions": "^1.30.0",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"express-prom-bundle": "^6.6.0",
"lodash": "^4.17.21"
},
"peerDependencies": {
"@opentelemetry/api": "^1.9.0",
"prom-client": ">=15.1.0"
},
"devDependencies": {
"@actions/core": "^1.10.1",
"@commitlint/cli": "^19.6.1",
"@map-colonies/commitlint-config": "^1.1.0",
"@map-colonies/eslint-config": "^6.0.0",
"@map-colonies/infra-copilot-instructions": "^1.0.0",
"@map-colonies/tsconfig": "^1.0.1",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/context-async-hooks": "^1.3.0",
"@types/express": "^4.17.12",
"express": "^4.21.2",
"@types/faker": "^5.5.3",
"@types/node": "^22.7.6",
"change-case-all": "^2.1.0",
"comment-json": "^4.2.3",
"commitlint": "^19.6.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.22.0",
"eslint-plugin-jest": "^28.11.0",
"husky": "^9.1.7",
"json-schema-to-typescript": "^13.1.2",
"just-safe-set": "^4.2.1",
"pino": "^8.14.1",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"rimraf": "^6.0.1",
"standard-version": "^9.0.0",
"ts-node": "^9.1.1",
"tsx": "^4.19.3",
"typedoc": "^0.27.6",
"typescript": "^5.7.3"
}
}