nixpkgs/pkgs/servers/monitoring/grafana-image-renderer/package.json

100 lines
2.9 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",
"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.7.0",
"@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.16.3",
"express-prom-bundle": "^6.5.0",
"google-protobuf": "3.21.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.7",
"@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.0",
"cross-env": "7.0.3",
"eslint": "8.23.1",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-jsdoc": "^46.5.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.31.8",
"eslint-plugin-react-hooks": "4.6.0",
"fast-png": "^6.2.0",
"husky": "8.0.1",
"jest": "^29.7.0",
"jsonwebtoken": "^9.0.2",
"lint-staged": "13.0.3",
"pkg": "5.8.1",
"prettier": "2.7.1",
"superagent": "^8.1.2",
"supertest": "^6.3.3",
"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"
}
}