Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
164 lines (164 loc) · 4.6 KB
/
Copy pathpackage.json
File metadata and controls
164 lines (164 loc) · 4.6 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"name": "traceperf",
"version": "1.9.0",
"description": "See where the time goes: call trees in development, cheap per-function stats in production, export to Perfetto and OpenTelemetry. Node.js and browsers.",
"type": "commonjs",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"bin": {
"traceperf": "dist/cli.js"
},
"browser": "dist/browser.js",
"typesVersions": {
"*": {
"browser": [
"dist/browser.d.ts"
],
"auto": [
"dist/register.d.ts"
]
}
},
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./browser": {
"import": {
"types": "./dist/esm/browser.d.ts",
"default": "./dist/esm/browser.js"
},
"require": {
"types": "./dist/browser.d.ts",
"default": "./dist/browser.js"
}
},
"./auto": {
"import": {
"types": "./dist/esm/register.d.ts",
"default": "./dist/esm/register.js"
},
"require": {
"types": "./dist/register.d.ts",
"default": "./dist/register.js"
}
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"build:esm": "tsc -p tsconfig.esm.json && node scripts/postbuild-esm.js",
"build:browser": "tsc -p tsconfig.browser.json && node scripts/build-browser-global.js",
"build:all": "npm run build && npm run build:esm && npm run build:browser",
"test": "jest",
"eval": "node scripts/eval.js",
"lint": "eslint src --ext .ts --max-warnings 0",
"format": "prettier --write \"src/**/*.ts\"",
"prepare": "husky || true",
"prepublishOnly": "npm run build:all",
"dev": "tsc --watch",
"verify:package": "node scripts/verify-package.js",
"lint:package": "publint --strict && attw --pack .",
"test:browser": "playwright test",
"verify:docs": "node scripts/check-docs.js",
"verify": "npm run lint:package && npm run verify:package && npm run verify:docs",
"bench": "node scripts/bench.js",
"bench:check": "node scripts/bench.js --check",
"typecheck": "tsc --noEmit -p tsconfig.eslint.json",
"test:runtimes": "bun test/runtimes/smoke.mjs && deno run --allow-read --allow-env --allow-sys test/runtimes/smoke.mjs && node test/runtimes/edge.test.js && test/runtimes/workerd.sh",
"bench:compare": "node scripts/compare.js",
"docs:api": "typedoc"
},
"keywords": [
"performance",
"profiling",
"monitoring",
"tracking",
"execution",
"function-tracing",
"memory-tracking",
"bottleneck-detection",
"sampling",
"debug",
"optimization",
"opentelemetry",
"perfetto",
"tracing",
"express",
"fastify",
"hono",
"decorators",
"async-hooks"
],
"author": "Shubh Wadekar",
"license": "MIT",
"engines": {
"node": ">=14.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thelastbackspace/traceperf.git"
},
"bugs": {
"url": "https://github.com/thelastbackspace/traceperf/issues"
},
"homepage": "https://github.com/thelastbackspace/traceperf#readme",
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@aws-sdk/client-s3": "^3.1153.0",
"@koa/router": "^12.0.2",
"@nestjs/common": "^12.2.0",
"@nestjs/core": "^12.2.0",
"@nestjs/platform-express": "^12.2.0",
"@opentelemetry/api": "^1.9.1",
"@opentelemetry/context-async-hooks": "^2.12.0",
"@opentelemetry/sdk-trace-base": "^2.12.0",
"@playwright/test": "^1.64.1",
"@types/express": "^5.0.6",
"@types/jest": "^29.5.14",
"@types/koa": "^2.15.2",
"@types/node": "^22.13.10",
"@types/pg": "^8.23.1",
"@typescript-eslint/eslint-plugin": "^8.26.1",
"@typescript-eslint/parser": "^8.26.1",
"edge-runtime": "^4.0.1",
"esbuild": "^0.28.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^10.1.1",
"express": "^5.3.0",
"fastify": "^5.12.7",
"hono": "^4.13.13",
"husky": "^9.1.7",
"ioredis": "^6.0.0",
"jest": "^29.7.0",
"koa": "^3.2.1",
"mongodb": "^7.7.0",
"mysql": "^2.18.1",
"mysql2": "^3.24.6",
"pg": "^8.23.1",
"prettier": "^3.5.3",
"publint": "^0.3.25",
"redis": "^5.12.1",
"redis4": "npm:redis@^4.7.1",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2",
"ts-jest": "^29.2.6",
"typedoc": "^0.28.20",
"typescript": "^5.8.2"
},
"sideEffects": [
"./dist/register.js",
"./dist/esm/register.js"
]
}