bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
92 lines
2.7 KiB
JSON
92 lines
2.7 KiB
JSON
{
|
|
"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.10",
|
|
"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"
|
|
}
|
|
}
|