-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
99 lines (99 loc) · 4.22 KB
/
package.json
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
{
"name": "mahendrapaipuri-dashboardreporter-app",
"version": "1.7.0",
"description": "A Grafana plugin app that generates PDF reports from Grafana dashboards",
"config": {
"plainUrl": "http://admin:admin@localhost:3080/api/plugins/mahendrapaipuri-dashboardreporter-app/resources/report?dashUid=fdlwjnyim1la8f&layout=simple&orientation=portrait&dashboardMode=default&var-testvar0=All&var-testvar1=foo&var-testvar2=1",
"tlsUrl": "https://admin:admin@localhost:3443/api/plugins/mahendrapaipuri-dashboardreporter-app/resources/report?dashUid=fdlwjnyim1la8f&layout=grid&orientation=landscape&dashboardMode=full&from=now-5m&to=now&var-testvar0=All&var-testvar1=foo&var-testvar2=1"
},
"scripts": {
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",
"build:plugin": "yarn install --pure-lockfile && yarn build && mage -v",
"package": "yarn build:plugin && zip -r mahendrapaipuri-dashboardreporter-app.zip",
"dev": "webpack -w -c ./.config/webpack/webpack.config.ts --env development",
"e2e:update": "playwright test --update-screenshots",
"e2e": "playwright test",
"e2e:server:up": "mkdir -p .ci/runtime && cp -r .ci/db/* .ci/runtime/ && docker compose -f .ci/docker-compose.yaml up --build -d",
"e2e:server:down": "docker compose -f .ci/docker-compose.yaml down",
"e2e:server:podman:up": "mkdir -p .ci/runtime && cp -r .ci/db/* .ci/runtime/ && podman-compose -f .ci/docker-compose.yaml up --build -d",
"e2e:server:podman:down": "podman-compose -f .ci/docker-compose.yaml down",
"e2e:report:plain": "./scripts/e2e-tests.sh plain",
"e2e:report:tls": "./scripts/e2e-tests.sh tls",
"e2e:report": "yarn e2e:report:plain && yarn e2e:report:tls",
"e2e:report:update:plain": "curl -f -o .ci/reports/default.pdf $npm_package_config_plainUrl",
"e2e:report:update:tls": "curl -k -f -o .ci/reports/alternative.pdf $npm_package_config_tlsUrl",
"e2e:report:update": "yarn e2e:report:update:plain && yarn e2e:report:update:tls",
"lint:fix": "yarn run lint --fix",
"lint": "eslint --cache --ignore-path ./.gitignore --ext .js,.jsx,.ts,.tsx .",
"server": "docker compose up --build",
"server:podman": "podman-compose up --build",
"sign": "npx --yes @grafana/sign-plugin@latest",
"test:ci": "jest --passWithNoTests --maxWorkers 4",
"test": "jest --watch --onlyChanged",
"typecheck": "tsc --noEmit"
},
"author": "Mahendra Paipuri",
"license": "Apache-2.0",
"devDependencies": {
"@babel/core": "^7.26.0",
"@grafana/eslint-config": "^7.0.0",
"@grafana/plugin-e2e": "^1.13.1",
"@grafana/tsconfig": "2.0.0",
"@grafana/plugin-meta-extractor": "^0.0.9",
"@playwright/test": "^1.48.2",
"@swc/core": "^1.10.1",
"@swc/helpers": "^0.5.15",
"@swc/jest": "^0.2.37",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "15.0.5",
"@types/glob": "^8.0.0",
"@types/jest": "^29.5.0",
"@types/lodash": "^4.17.13",
"@types/node": "^22.10.2",
"@types/react-router-dom": "^5.3.3",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-webpack-plugin": "^4.0.1",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"glob": "^11.0.0",
"identity-obj-proxy": "3.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "^3.4.2",
"raw-loader": "^4.0.2",
"replace-in-file-webpack-plugin": "^1.0.6",
"sass": "1.83.0",
"sass-loader": "16.0.3",
"style-loader": "4.0.0",
"swc-loader": "^0.2.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "5.7.2",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4",
"webpack-livereload-plugin": "^3.0.2",
"imports-loader": "^5.0.0",
"webpack-virtual-modules": "^0.6.2"
},
"engines": {
"node": ">=20"
},
"dependencies": {
"@emotion/css": "11.13.5",
"@grafana/data": "^11.2.1",
"@grafana/runtime": "^11.4.0",
"@grafana/ui": "^11.3.1",
"@grafana/experimental": "2.1.2",
"@grafana/schema": "11.3.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "^5.2.0",
"rxjs": "7.8.1",
"tslib": "2.8.1"
},
"resolutions": {
"string-width": "^4.2.0",
"wrap-ansi": "^7.0.0"
}
}