2021-01-05 17:05:55 +00:00
|
|
|
{
|
|
|
|
"name": "renderer",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"author": "Grafana Labs",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2023-10-19 13:55:26 +00:00
|
|
|
"url": "https://github.com/grafana/grafana-image-renderer.git"
|
2021-01-05 17:05:55 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-10-11 16:52:03 +00:00
|
|
|
"eslint": "eslint . --ext .ts",
|
2021-01-05 17:05:55 +00:00
|
|
|
"typecheck": "tsc --noEmit",
|
|
|
|
"prettier:check": "prettier --list-different \"**/*.ts\"",
|
|
|
|
"prettier:write": "prettier --list-different \"**/*.ts\" --write",
|
2021-03-12 07:09:13 +00:00
|
|
|
"precommit": "npm run eslint & npm run typecheck",
|
2021-01-05 17:05:55 +00:00
|
|
|
"watch": "tsc-watch --onSuccess \"node build/app.js server --config=dev.json\"",
|
2022-02-20 05:27:41 +00:00
|
|
|
"watch:debug": "tsc-watch --onSuccess \"cross-env DEBUG=puppeteer-cluster:* node build/app.js server --config=dev.json\"",
|
2021-01-05 17:05:55 +00:00
|
|
|
"build": "tsc",
|
2023-10-19 13:55:26 +00:00
|
|
|
"start": "node build/app.js server --config=dev.json",
|
2024-02-29 20:09:43 +00:00
|
|
|
"create-gcom-plugin-json": "ts-node scripts/createGcomPluginJson.ts ./scripts/tmp",
|
2024-06-05 15:53:02 +00:00
|
|
|
"push-to-gcom": "sh ./scripts/push-to-gcom.sh",
|
2024-02-29 20:09:43 +00:00
|
|
|
"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"
|
2021-01-05 17:05:55 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-06-20 14:57:18 +00:00
|
|
|
"@grpc/grpc-js": "^1.8.22",
|
2023-04-29 16:46:19 +00:00
|
|
|
"@grpc/proto-loader": "^0.7.2",
|
|
|
|
"@hapi/boom": "^10.0.0",
|
2023-10-19 13:55:26 +00:00
|
|
|
"@puppeteer/browsers": "^1.6.0",
|
2021-09-22 15:38:15 +00:00
|
|
|
"chokidar": "^3.5.2",
|
2023-04-29 16:46:19 +00:00
|
|
|
"dompurify": "^2.4.0",
|
2024-04-21 15:54:59 +00:00
|
|
|
"express": "^4.19.2",
|
2023-04-29 16:46:19 +00:00
|
|
|
"express-prom-bundle": "^6.5.0",
|
2024-02-29 20:09:43 +00:00
|
|
|
"jimp": "^0.22.10",
|
2023-04-29 16:46:19 +00:00
|
|
|
"jsdom": "20.0.0",
|
2021-05-20 23:08:51 +00:00
|
|
|
"lodash": "^4.17.21",
|
2022-09-09 14:08:57 +00:00
|
|
|
"minimist": "^1.2.6",
|
2021-01-05 17:05:55 +00:00
|
|
|
"morgan": "^1.9.0",
|
2023-04-29 16:46:19 +00:00
|
|
|
"multer": "^1.4.5-lts.1",
|
2021-09-22 15:38:15 +00:00
|
|
|
"on-finished": "^2.3.0",
|
2022-09-09 14:08:57 +00:00
|
|
|
"poolpeteer": "^0.23.0",
|
2023-04-29 16:46:19 +00:00
|
|
|
"prom-client": "^14.1.0",
|
2023-10-19 13:55:26 +00:00
|
|
|
"puppeteer": "^21.0.3",
|
2022-09-09 14:08:57 +00:00
|
|
|
"puppeteer-cluster": "^0.23.0",
|
2023-04-29 16:46:19 +00:00
|
|
|
"unique-filename": "^2.0.1",
|
|
|
|
"winston": "^3.8.2"
|
2021-01-05 17:05:55 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-10-19 13:55:26 +00:00
|
|
|
"@grafana/eslint-config": "^6.0.0",
|
2022-09-09 14:08:57 +00:00
|
|
|
"@types/dompurify": "2.3.4",
|
2023-04-29 16:46:19 +00:00
|
|
|
"@types/express": "^4.17.14",
|
2024-06-05 15:53:02 +00:00
|
|
|
"@types/jest": "^29.5.12",
|
2022-09-09 14:08:57 +00:00
|
|
|
"@types/jsdom": "20.0.0",
|
2023-04-29 16:46:19 +00:00
|
|
|
"@types/multer": "1.4.7",
|
|
|
|
"@types/node": "^18.7.18",
|
2024-02-29 20:09:43 +00:00
|
|
|
"@types/pixelmatch": "^5.2.6",
|
|
|
|
"@types/supertest": "^2.0.15",
|
2023-04-29 16:46:19 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.37.0",
|
|
|
|
"@typescript-eslint/parser": "5.37.0",
|
2024-04-21 15:54:59 +00:00
|
|
|
"axios": "1.6.7",
|
2022-02-20 05:27:41 +00:00
|
|
|
"cross-env": "7.0.3",
|
2023-04-29 16:46:19 +00:00
|
|
|
"eslint": "8.23.1",
|
2024-02-29 20:09:43 +00:00
|
|
|
"fast-png": "^6.2.0",
|
|
|
|
"jest": "^29.7.0",
|
|
|
|
"jsonwebtoken": "^9.0.2",
|
2022-09-09 14:08:57 +00:00
|
|
|
"lint-staged": "13.0.3",
|
2024-06-05 15:53:02 +00:00
|
|
|
"pkg": "^5.8.1",
|
2023-04-29 16:46:19 +00:00
|
|
|
"prettier": "2.7.1",
|
2024-06-05 15:53:02 +00:00
|
|
|
"supertest": "^7.0.0",
|
2024-02-29 20:09:43 +00:00
|
|
|
"ts-jest": "^29.1.1",
|
2023-04-29 16:46:19 +00:00
|
|
|
"ts-node": "10.9.1",
|
2022-09-09 14:08:57 +00:00
|
|
|
"tsc-watch": "5.0.3",
|
2023-04-29 16:46:19 +00:00
|
|
|
"typescript": "4.8.3"
|
|
|
|
},
|
|
|
|
"resolutions": {
|
2023-11-16 04:20:00 +00:00
|
|
|
"xml2js": "^0.6.2"
|
2021-01-05 17:05:55 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.ts": [
|
2021-10-11 16:52:03 +00:00
|
|
|
"prettier --write"
|
2021-01-05 17:05:55 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"pkg": {
|
|
|
|
"assets": "proto/*"
|
|
|
|
},
|
|
|
|
"bin": "build/app.js",
|
|
|
|
"engines": {
|
2023-10-19 13:55:26 +00:00
|
|
|
"node": ">= 18"
|
2021-01-05 17:05:55 +00:00
|
|
|
}
|
|
|
|
}
|