-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.88 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 1.88 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
{
"name": "@axiomhq/grafana-query-ast",
"version": "0.2.2",
"description": "Lossless semantic ASTs for Grafana-facing PromQL, LogQL, and TraceQL.",
"type": "module",
"license": "Apache-2.0",
"sideEffects": false,
"files": [
"dist",
"README.md",
"ARCHITECTURE.md",
"CHANGELOG.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"GOVERNANCE.md",
"LICENSE",
"SECURITY.md",
"NOTICE",
"docs",
"ast.schema.json",
"compatibility.v1.json",
"explorer",
"grammar-manifest.v1.json"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./core": {
"types": "./dist/core.d.ts",
"import": "./dist/core.js"
},
"./features": {
"types": "./dist/features.d.ts",
"import": "./dist/features.js"
},
"./promql": {
"types": "./dist/promql.d.ts",
"import": "./dist/promql.js"
},
"./logql": {
"types": "./dist/logql.d.ts",
"import": "./dist/logql.js"
},
"./traceql": {
"types": "./dist/traceql.d.ts",
"import": "./dist/traceql.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json",
"check": "npm run grammar:check && npm run build && npm run explorer:build && npm run pack:check",
"explorer:build": "esbuild explorer/app.ts --bundle --format=esm --minify --outfile=explorer/app.js",
"grammar": "node scripts/build-grammar-manifest.mjs",
"grammar:check": "node scripts/build-grammar-manifest.mjs --check",
"pack:check": "npm pack --dry-run && node scripts/pack-smoke.mjs"
},
"dependencies": {
"@grafana/lezer-logql": "0.4.0",
"@grafana/lezer-traceql": "1.0.0",
"@lezer/common": "1.5.2",
"@lezer/lr": "1.4.10",
"@prometheus-io/lezer-promql": "0.313.1"
},
"engines": {
"node": ">=24"
},
"devDependencies": {
"esbuild": "0.28.1",
"typescript": "7.0.2"
}
}