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
|
{
"name": "renderer",
"version": "1.0.0",
"author": "Grafana Labs",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/grafana/grafana-image-renderer.git"
},
"scripts": {
"eslint": "eslint . --ext .ts",
"typecheck": "tsc --noEmit",
"prettier:check": "prettier --list-different \"**/*.ts\"",
"prettier:write": "prettier --list-different \"**/*.ts\" --write",
"precommit": "npm run eslint & npm run typecheck",
"watch": "tsc-watch --onSuccess \"node build/app.js server --config=dev.json\"",
"watch:debug": "tsc-watch --onSuccess \"cross-env DEBUG=puppeteer-cluster:* node build/app.js server --config=dev.json\"",
"build": "tsc",
"start": "node build/app.js server --config=dev.json",
"create-gcom-plugin-json": "ts-node scripts/createGcomPluginJson.ts ./scripts/tmp",
"push-to-gcom": "sh ./scripts/push-to-gcom.sh",
"test-update": "cross-env UPDATE_GOLDEN=true jest",
"test": "sh ./scripts/run_tests.sh",
"test-ci": "jest",
"test-diff": "cross-env SAVE_DIFF=true jest"
},
"dependencies": {
"@grpc/grpc-js": "^1.8.22",
"@grpc/proto-loader": "^0.7.2",
"@hapi/boom": "^10.0.0",
"@puppeteer/browsers": "^1.6.0",
"chokidar": "^3.5.2",
"dompurify": "^2.4.0",
"express": "^4.19.2",
"express-prom-bundle": "^6.5.0",
"jimp": "^0.22.12",
"jsdom": "20.0.0",
"lodash": "^4.17.21",
"minimist": "^1.2.6",
"morgan": "^1.9.0",
"multer": "^1.4.5-lts.1",
"on-finished": "^2.3.0",
"poolpeteer": "^0.23.0",
"prom-client": "^14.1.0",
"puppeteer": "^21.0.3",
"puppeteer-cluster": "^0.23.0",
"unique-filename": "^2.0.1",
"winston": "^3.8.2"
},
"devDependencies": {
"@grafana/eslint-config": "^6.0.0",
"@types/dompurify": "2.3.4",
"@types/express": "^4.17.14",
"@types/jest": "^29.5.12",
"@types/jsdom": "20.0.0",
"@types/multer": "1.4.7",
"@types/node": "^18.7.18",
"@types/pixelmatch": "^5.2.6",
"@types/supertest": "^2.0.15",
"@typescript-eslint/eslint-plugin": "5.37.0",
"@typescript-eslint/parser": "5.37.0",
"axios": "1.6.7",
"cross-env": "7.0.3",
"eslint": "8.23.1",
"fast-png": "^6.2.0",
"jest": "^29.7.0",
"jsonwebtoken": "^9.0.2",
"lint-staged": "13.0.3",
"pkg": "^5.8.1",
"prettier": "2.7.1",
"supertest": "^7.0.0",
"ts-jest": "^29.1.1",
"ts-node": "10.9.1",
"tsc-watch": "5.0.3",
"typescript": "4.8.3"
},
"resolutions": {
"xml2js": "^0.6.2"
},
"lint-staged": {
"*.ts": [
"prettier --write"
]
},
"pkg": {
"assets": "proto/*"
},
"bin": "build/app.js",
"engines": {
"node": ">= 18"
}
}
|