82 lines
2.4 KiB
JSON
82 lines
2.4 KiB
JSON
{
|
|
"name": "renderer",
|
|
"version": "1.0.0",
|
|
"author": "Grafana Labs",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://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 --config=dev.json",
|
|
"create-gcom-plugin-json": "ts-node scripts/createGcomPluginJson.ts ./scripts/tmp"
|
|
},
|
|
"dependencies": {
|
|
"@grpc/grpc-js": "^1.0",
|
|
"@grpc/proto-loader": "^0.5.4",
|
|
"@hapi/boom": "^9.1.0",
|
|
"chokidar": "^3.5.2",
|
|
"express": "^4.16.3",
|
|
"express-prom-bundle": "^5.1.5",
|
|
"google-protobuf": "3.5.0",
|
|
"jimp": "0.16.1",
|
|
"lodash": "^4.17.21",
|
|
"minimist": "^1.2.6",
|
|
"morgan": "^1.9.0",
|
|
"on-finished": "^2.3.0",
|
|
"poolpeteer": "^0.23.0",
|
|
"prom-client": "^11.5.3",
|
|
"puppeteer": "^13.1.3",
|
|
"puppeteer-cluster": "^0.23.0",
|
|
"unique-filename": "^1.1.0",
|
|
"winston": "^3.2.1",
|
|
"jsdom": "19.0.0",
|
|
"dompurify": "^2.3.8",
|
|
"multer": "^1.4.5-lts.1"
|
|
},
|
|
"devDependencies": {
|
|
"@grafana/eslint-config": "5.0.0",
|
|
"@types/multer": "1.4.7",
|
|
"@types/express": "^4.11.1",
|
|
"@types/node": "^14.14.41",
|
|
"@types/dompurify": "2.3.4",
|
|
"@types/jsdom": "20.0.0",
|
|
"@typescript-eslint/eslint-plugin": "5.16.0",
|
|
"@typescript-eslint/parser": "5.31.0",
|
|
"axios": "0.26.0",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "8.22.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-plugin-jsdoc": "39.3.3",
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
"eslint-plugin-react": "7.31.0",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"husky": "4.3.8",
|
|
"lint-staged": "13.0.3",
|
|
"pkg": "5.8.0",
|
|
"prettier": "2.2.1",
|
|
"ts-node": "10.5.0",
|
|
"tsc-watch": "5.0.3",
|
|
"typescript": "4.7.4"
|
|
},
|
|
"lint-staged": {
|
|
"*.ts": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"pkg": {
|
|
"assets": "proto/*"
|
|
},
|
|
"bin": "build/app.js",
|
|
"engines": {
|
|
"node": ">= 16"
|
|
}
|
|
}
|