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",
|
2022-09-09 14:08:57 +00:00
|
|
|
"create-gcom-plugin-json": "ts-node scripts/createGcomPluginJson.ts ./scripts/tmp"
|
2021-01-05 17:05:55 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-29 16:46:19 +00:00
|
|
|
"@grpc/grpc-js": "^1.7.0",
|
|
|
|
"@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",
|
2021-01-05 17:05:55 +00:00
|
|
|
"express": "^4.16.3",
|
2023-04-29 16:46:19 +00:00
|
|
|
"express-prom-bundle": "^6.5.0",
|
|
|
|
"google-protobuf": "3.21.0",
|
|
|
|
"jimp": "^0.16.13",
|
|
|
|
"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",
|
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",
|
|
|
|
"@typescript-eslint/eslint-plugin": "5.37.0",
|
|
|
|
"@typescript-eslint/parser": "5.37.0",
|
|
|
|
"axios": "0.27.2",
|
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",
|
2022-09-09 14:08:57 +00:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
2023-10-19 13:55:26 +00:00
|
|
|
"eslint-plugin-jsdoc": "^46.5.0",
|
2022-09-09 14:08:57 +00:00
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
2023-04-29 16:46:19 +00:00
|
|
|
"eslint-plugin-react": "7.31.8",
|
2022-09-09 14:08:57 +00:00
|
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
2023-04-29 16:46:19 +00:00
|
|
|
"husky": "8.0.1",
|
2022-09-09 14:08:57 +00:00
|
|
|
"lint-staged": "13.0.3",
|
2023-04-29 16:46:19 +00:00
|
|
|
"pkg": "5.8.1",
|
|
|
|
"prettier": "2.7.1",
|
|
|
|
"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
|
|
|
}
|
|
|
|
}
|