2020-12-23 17:36:05 +01:00
|
|
|
{
|
|
|
|
"name": "renderer",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"author": "Grafana Labs",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2023-10-13 23:38:11 +02:00
|
|
|
"url": "https://github.com/grafana/grafana-image-renderer.git"
|
2020-12-23 17:36:05 +01:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-10-09 20:51:00 +02:00
|
|
|
"eslint": "eslint . --ext .ts",
|
2020-12-23 17:36:05 +01:00
|
|
|
"typecheck": "tsc --noEmit",
|
|
|
|
"prettier:check": "prettier --list-different \"**/*.ts\"",
|
|
|
|
"prettier:write": "prettier --list-different \"**/*.ts\" --write",
|
2021-03-07 22:56:28 +01:00
|
|
|
"precommit": "npm run eslint & npm run typecheck",
|
2020-12-23 17:36:05 +01:00
|
|
|
"watch": "tsc-watch --onSuccess \"node build/app.js server --config=dev.json\"",
|
2022-02-18 17:41:59 +01:00
|
|
|
"watch:debug": "tsc-watch --onSuccess \"cross-env DEBUG=puppeteer-cluster:* node build/app.js server --config=dev.json\"",
|
2020-12-23 17:36:05 +01:00
|
|
|
"build": "tsc",
|
2023-10-13 23:38:11 +02:00
|
|
|
"start": "node build/app.js server --config=dev.json",
|
2022-08-31 01:44:05 +02:00
|
|
|
"create-gcom-plugin-json": "ts-node scripts/createGcomPluginJson.ts ./scripts/tmp"
|
2020-12-23 17:36:05 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-27 15:02:51 +02:00
|
|
|
"@grpc/grpc-js": "^1.7.0",
|
|
|
|
"@grpc/proto-loader": "^0.7.2",
|
|
|
|
"@hapi/boom": "^10.0.0",
|
2023-10-13 23:38:11 +02:00
|
|
|
"@puppeteer/browsers": "^1.6.0",
|
2021-09-19 01:02:58 +02:00
|
|
|
"chokidar": "^3.5.2",
|
2023-04-27 15:02:51 +02:00
|
|
|
"dompurify": "^2.4.0",
|
2020-12-23 17:36:05 +01:00
|
|
|
"express": "^4.16.3",
|
2023-04-27 15:02:51 +02:00
|
|
|
"express-prom-bundle": "^6.5.0",
|
|
|
|
"google-protobuf": "3.21.0",
|
|
|
|
"jimp": "^0.16.13",
|
|
|
|
"jsdom": "20.0.0",
|
2021-05-11 23:40:44 +02:00
|
|
|
"lodash": "^4.17.21",
|
2022-08-31 01:44:05 +02:00
|
|
|
"minimist": "^1.2.6",
|
2020-12-23 17:36:05 +01:00
|
|
|
"morgan": "^1.9.0",
|
2023-04-27 15:02:51 +02:00
|
|
|
"multer": "^1.4.5-lts.1",
|
2021-09-19 01:02:58 +02:00
|
|
|
"on-finished": "^2.3.0",
|
2022-08-31 01:44:05 +02:00
|
|
|
"poolpeteer": "^0.23.0",
|
2023-04-27 15:02:51 +02:00
|
|
|
"prom-client": "^14.1.0",
|
2023-10-13 23:38:11 +02:00
|
|
|
"puppeteer": "^21.0.3",
|
2022-08-31 01:44:05 +02:00
|
|
|
"puppeteer-cluster": "^0.23.0",
|
2023-04-27 15:02:51 +02:00
|
|
|
"unique-filename": "^2.0.1",
|
|
|
|
"winston": "^3.8.2"
|
2020-12-23 17:36:05 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-10-13 23:38:11 +02:00
|
|
|
"@grafana/eslint-config": "^6.0.0",
|
2022-08-31 01:44:05 +02:00
|
|
|
"@types/dompurify": "2.3.4",
|
2023-04-27 15:02:51 +02:00
|
|
|
"@types/express": "^4.17.14",
|
2022-08-31 01:44:05 +02:00
|
|
|
"@types/jsdom": "20.0.0",
|
2023-04-27 15:02:51 +02:00
|
|
|
"@types/multer": "1.4.7",
|
|
|
|
"@types/node": "^18.7.18",
|
|
|
|
"@typescript-eslint/eslint-plugin": "5.37.0",
|
|
|
|
"@typescript-eslint/parser": "5.37.0",
|
|
|
|
"axios": "0.27.2",
|
2022-02-18 17:41:59 +01:00
|
|
|
"cross-env": "7.0.3",
|
2023-04-27 15:02:51 +02:00
|
|
|
"eslint": "8.23.1",
|
2022-08-31 01:44:05 +02:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
2023-10-13 23:38:11 +02:00
|
|
|
"eslint-plugin-jsdoc": "^46.5.0",
|
2022-08-31 01:44:05 +02:00
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
2023-04-27 15:02:51 +02:00
|
|
|
"eslint-plugin-react": "7.31.8",
|
2022-08-31 01:44:05 +02:00
|
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
2023-04-27 15:02:51 +02:00
|
|
|
"husky": "8.0.1",
|
2022-08-31 01:44:05 +02:00
|
|
|
"lint-staged": "13.0.3",
|
2023-04-27 15:02:51 +02:00
|
|
|
"pkg": "5.8.1",
|
|
|
|
"prettier": "2.7.1",
|
|
|
|
"ts-node": "10.9.1",
|
2022-08-31 01:44:05 +02:00
|
|
|
"tsc-watch": "5.0.3",
|
2023-04-27 15:02:51 +02:00
|
|
|
"typescript": "4.8.3"
|
|
|
|
},
|
|
|
|
"resolutions": {
|
2023-10-25 11:49:49 +02:00
|
|
|
"xml2js": "^0.6.2"
|
2020-12-23 17:36:05 +01:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.ts": [
|
2021-10-09 20:51:00 +02:00
|
|
|
"prettier --write"
|
2020-12-23 17:36:05 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"pkg": {
|
|
|
|
"assets": "proto/*"
|
|
|
|
},
|
|
|
|
"bin": "build/app.js",
|
|
|
|
"engines": {
|
2023-10-13 23:38:11 +02:00
|
|
|
"node": ">= 18"
|
2020-12-23 17:36:05 +01:00
|
|
|
}
|
|
|
|
}
|