-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
146 lines (146 loc) · 6.62 KB
/
Copy pathpackage.json
File metadata and controls
146 lines (146 loc) · 6.62 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
{
"name": "Ask O11y",
"version": "0.3.3",
"scripts": {
"postinstall": "node -e \"const fs=require('fs');const p=require('path');const d=p.join('node_modules','flatted','golang');try{fs.rmSync(d,{recursive:true,force:true});}catch(e){if(e.code!=='ENOENT')throw e;}\"",
"build": "npm run build:frontend:prod && npm run build:backend:all",
"build:frontend:prod": "webpack -c ./webpack.config.ts --env production",
"build:frontend:coverage": "COVERAGE=true webpack -c ./webpack.config.ts --env development --env coverage",
"build:frontend:coverage:prod": "COVERAGE=true webpack -c ./webpack.config.ts --env production --env coverage",
"build:backend": "go run github.com/magefile/mage@latest build:backend",
"build:backend:all": "go run github.com/magefile/mage@latest buildAll",
"test": "jest --watch --onlyChanged",
"test:ci": "jest --passWithNoTests --maxWorkers 4",
"typecheck": "tsc --noEmit",
"lint": "eslint --cache .",
"lint:fix": "npm run lint -- --fix && prettier --write --list-different .",
"validate:openapi": "npx @redocly/cli lint --extends=minimal pkg/plugin/openapi/openapi.json",
"e2e": "playwright test",
"e2e:coverage": "COVERAGE=true playwright test",
"coverage:clean": "rm -rf coverage-unit coverage-e2e coverage-combined",
"coverage:report": "nyc report",
"coverage:unit": "jest --coverage --passWithNoTests --watchAll=false",
"coverage:e2e": "npm run coverage:clean && npm run build:frontend:coverage && npm run e2e:coverage && npm run coverage:report",
"coverage:merge": "mkdir -p coverage-combined/.nyc_output && cp coverage-unit/coverage-final.json coverage-combined/.nyc_output/unit.json 2>/dev/null; cp coverage-e2e/.nyc_output/*.json coverage-combined/.nyc_output/ 2>/dev/null; nyc report --temp-dir coverage-combined/.nyc_output --report-dir coverage-combined",
"coverage": "npm run coverage:clean && npm run coverage:unit && npm run build:frontend:coverage && npm run e2e:coverage && npm run coverage:merge",
"server": "docker compose up --build",
"server:full": "bash -c 'cleanup() { mv provisioning/plugins/full.yaml provisioning/plugins/full.yaml_ 2>/dev/null; mv provisioning/plugins/app.yaml_ provisioning/plugins/app.yaml 2>/dev/null; }; trap cleanup EXIT; mv provisioning/plugins/app.yaml provisioning/plugins/app.yaml_ 2>/dev/null; mv provisioning/plugins/full.yaml_ provisioning/plugins/full.yaml 2>/dev/null; docker compose -f docker-compose-full.yaml up --build'",
"sign": "sign-plugin",
"backend:mod": "go mod tidy",
"validate": "npm run validate:build && npm run validate:react19 && npm run validate:archive && npm run validate:run",
"validate:build": "npm run build",
"validate:react19": "node scripts/validate-react19.js",
"validate:archive": "PLUGIN_ID=$(node -e \"console.log(require('./src/plugin.json').id)\") && rm -rf \"${PLUGIN_ID}\" \"${PLUGIN_ID}.zip\" && mkdir -p \"${PLUGIN_ID}\" && cp -r dist/* \"${PLUGIN_ID}/\" && zip -qr \"${PLUGIN_ID}.zip\" \"${PLUGIN_ID}\" && echo \"Created ${PLUGIN_ID}.zip\"",
"validate:run": "PLUGIN_ID=$(node -e \"console.log(require('./src/plugin.json').id)\") && npx -y @grafana/plugin-validator@latest -config .github/plugin-validator.config.yaml -sourceCodeUri file://. \"${PLUGIN_ID}.zip\"",
"validate:clean": "PLUGIN_ID=$(node -e \"console.log(require('./src/plugin.json').id)\") && rm -rf \"${PLUGIN_ID}\" \"${PLUGIN_ID}.zip\""
},
"author": "Consensys",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.29.6",
"@babel/preset-env": "^7.28.5",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@grafana/eslint-config": "^8.2.0",
"@grafana/plugin-e2e": "^3.1.4",
"@grafana/sign-plugin": "^3.2.2",
"@grafana/tsconfig": "^2.0.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@jest/test-sequencer": "^29.7.0",
"@playwright/test": "^1.52.0",
"@redocly/cli": "^2.39.0",
"@stylistic/eslint-plugin-ts": "^2.9.0",
"@swc/core": "^1.3.90",
"@swc/helpers": "^0.5.0",
"@swc/jest": "^0.2.26",
"@tailwindcss/postcss": "^4.1.12",
"@testing-library/jest-dom": "6.1.4",
"@testing-library/react": "14.0.0",
"@types/dompurify": "^3.0.5",
"@types/jest": "^29.5.0",
"@types/node": "^20.8.7",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"babel-loader": "^10.0.0",
"babel-plugin-istanbul": "^7.0.1",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.7.3",
"eslint": "^9.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jsdoc": "^51.2.3",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-webpack-plugin": "^5.0.0",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"glob": "^10.2.7",
"identity-obj-proxy": "3.0.0",
"imports-loader": "^5.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"nyc": "^17.1.0",
"postcss": "^8.5.18",
"postcss-loader": "^8.2.0",
"prettier": "^2.8.7",
"replace-in-file-webpack-plugin": "^1.0.6",
"sass": "1.63.2",
"sass-loader": "13.3.1",
"semver": "^7.6.3",
"style-loader": "3.3.3",
"swc-loader": "^0.2.3",
"tailwindcss": "^4.1.12",
"terser-webpack-plugin": "^5.3.10",
"ts-node": "^10.9.2",
"typescript": "5.5.4",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-livereload-plugin": "^3.0.2",
"webpack-merge": "^6.0.1",
"webpack-subresource-integrity": "^5.1.0",
"webpack-virtual-modules": "^0.6.2"
},
"engines": {
"node": ">=22"
},
"dependencies": {
"@emotion/css": "11.10.6",
"@grafana/data": "^13.1.1",
"@grafana/i18n": "^13.1.1",
"@grafana/llm": "^1.0.9",
"@grafana/runtime": "^13.1.1",
"@grafana/scenes": "^8.13.3",
"@grafana/schema": "^13.1.1",
"@grafana/ui": "^13.1.1",
"@modelcontextprotocol/sdk": "^1.30.0",
"d3-sankey": "^0.12.3",
"dompurify": "^3.4.12",
"js-tiktoken": "^1.0.21",
"marked": "^17.0.6",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"react-router-dom": "^7.0.0",
"react-use": "^17.6.1",
"rxjs": "7.8.2",
"streamdown": "^2.1.0"
},
"packageManager": "npm@11.5.1",
"overrides": {
"serialize-javascript": "^7.0.4",
"immutable": "^5.1.9",
"@grafana/data": {
"dompurify": "^3.3.2"
},
"lodash-es": "^4.18.1",
"js-yaml": "^4.3.1",
"undici": "^7.28.0",
"ws": "^8.21.1",
"fast-uri": "^3.1.5",
"ip-address": "^10.3.1",
"nanoid": "^3.3.17",
"@grafana/llm": {
"@grafana/data": "$@grafana/data",
"@grafana/runtime": "$@grafana/runtime"
}
}
}