-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
99 lines (99 loc) · 4.16 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": "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": "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": "curl -f -o default.pdf $npm_package_config_plainUrl",
"e2e:report:tls": "curl -k -f -o alternative.pdf $npm_package_config_tlsUrl",
"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.6.1",
"@grafana/tsconfig": "2.0.0",
"@grafana/plugin-meta-extractor": "^0.0.8",
"@playwright/test": "^1.48.2",
"@swc/core": "^1.7.36",
"@swc/helpers": "^0.5.13",
"@swc/jest": "^0.2.26",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "14.0.0",
"@types/glob": "^8.0.0",
"@types/jest": "^29.5.0",
"@types/lodash": "^4.17.13",
"@types/node": "^20.8.7",
"@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": "^8.0.0",
"glob": "^11.0.0",
"identity-obj-proxy": "3.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "^3.3.3",
"raw-loader": "^4.0.2",
"replace-in-file-webpack-plugin": "^1.0.6",
"sass": "1.80.3",
"sass-loader": "16.0.2",
"style-loader": "4.0.0",
"swc-loader": "^0.2.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "5.6.3",
"webpack": "^5.94.0",
"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.4",
"@grafana/data": "^11.2.1",
"@grafana/runtime": "^11.2.1",
"@grafana/ui": "^11.2.1",
"@grafana/experimental": "2.1.2",
"@grafana/schema": "11.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "^5.2.0",
"rxjs": "7.8.1",
"tslib": "2.7.0"
},
"resolutions": {
"string-width": "^4.2.0",
"wrap-ansi": "^7.0.0"
}
}