-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 4.42 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
100
101
102
103
104
105
{
"name": "cloudeteer-pdfreport-app",
"version": "0.0.0",
"description": "A Grafana plugin app that generates PDF reports from Grafana dashboards",
"config": {
"plainUrl": "http://admin:admin@localhost:3080/api/plugins/cloudeteer-pdfreport-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/cloudeteer-pdfreport-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 cloudeteer-pdfreport-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.21.4",
"@grafana/e2e-selectors": "11.3.0",
"@grafana/eslint-config": "^8.0.0",
"@grafana/plugin-e2e": "^1.10.0",
"@grafana/plugin-meta-extractor": "^0.0.8",
"@grafana/tsconfig": "^2.0.0",
"@playwright/test": "^1.47.1",
"@swc/core": "^1.7.26",
"@swc/helpers": "^0.5.0",
"@swc/jest": "^0.2.26",
"@testing-library/jest-dom": "6.6.2",
"@testing-library/react": "16.0.1",
"@types/glob": "^8.0.0",
"@types/jest": "^29.5.0",
"@types/lodash": "^4.14.194",
"@types/node": "^22.5.4",
"copy-webpack-plugin": "^12.0.0",
"css-loader": "^7.1.2",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-webpack-plugin": "^4.0.1",
"fork-ts-checker-webpack-plugin": "^9.0.0",
"glob": "^11.0.0",
"identity-obj-proxy": "3.0.0",
"imports-loader": "^5.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.4",
"sass-loader": "16.0.2",
"semver": "^7.6.3",
"style-loader": "4.0.0",
"swc-loader": "^0.2.3",
"terser-webpack-plugin": "^5.3.10",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "5.6.3",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-livereload-plugin": "^3.0.2",
"webpack-subresource-integrity": "^5.1.0",
"webpack-virtual-modules": "^0.6.2"
},
"engines": {
"node": ">=20"
},
"dependencies": {
"@emotion/css": "11.13.4",
"@grafana/data": "^11.2.2",
"@grafana/experimental": "2.1.2",
"@grafana/runtime": "^11.2.2",
"@grafana/schema": "^11.2.2",
"@grafana/ui": "^11.2.2",
"@stylistic/eslint-plugin-ts": "^2.9.0",
"@typescript-eslint/eslint-plugin": "^8.12.1",
"@typescript-eslint/parser": "^8.12.1",
"eslint": "8",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^50.4.3",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"rxjs": "7.8.1",
"tslib": "2.8.0"
}
}