|
|
|
@ -5,7 +5,7 @@ |
|
|
|
|
"license": "Apache-2.0", |
|
|
|
|
"repository": { |
|
|
|
|
"type": "git", |
|
|
|
|
"url": "https://github.com/grafana/grafana-image-renderer.git" |
|
|
|
|
"url": "http://github.com/grafana/grafana-image-renderer.git" |
|
|
|
|
}, |
|
|
|
|
"scripts": { |
|
|
|
|
"eslint": "eslint . --ext .ts", |
|
|
|
@ -14,6 +14,7 @@ |
|
|
|
|
"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" |
|
|
|
|
}, |
|
|
|
@ -30,8 +31,10 @@ |
|
|
|
|
"morgan": "^1.9.0", |
|
|
|
|
"on-finished": "^2.3.0", |
|
|
|
|
"prom-client": "^11.5.3", |
|
|
|
|
"puppeteer": "^10.0.0", |
|
|
|
|
"puppeteer": "^13.1.3", |
|
|
|
|
"puppeteer-cluster": "^0.22.0", |
|
|
|
|
"poolpeteer": "^0.22.0", |
|
|
|
|
"sharp": "0.29.3", |
|
|
|
|
"unique-filename": "^1.1.0", |
|
|
|
|
"winston": "^3.2.1" |
|
|
|
|
}, |
|
|
|
@ -39,6 +42,7 @@ |
|
|
|
|
"@grafana/eslint-config": "^2.5.0", |
|
|
|
|
"@types/express": "^4.11.1", |
|
|
|
|
"@types/node": "^14.14.41", |
|
|
|
|
"cross-env": "7.0.3", |
|
|
|
|
"@typescript-eslint/eslint-plugin": "^4.32.0", |
|
|
|
|
"@typescript-eslint/parser": "^4.32.0", |
|
|
|
|
"eslint": "^7.32.0", |
|
|
|
@ -49,7 +53,7 @@ |
|
|
|
|
"eslint-plugin-react-hooks": "^4.2.0", |
|
|
|
|
"husky": "^4.3.8", |
|
|
|
|
"lint-staged": "^11.2.0", |
|
|
|
|
"pkg": "^5.4.1", |
|
|
|
|
"pkg": "5.5.2", |
|
|
|
|
"prettier": "2.2.1", |
|
|
|
|
"tsc-watch": "^4.2.3", |
|
|
|
|
"typescript": "^4.3.2" |
|
|
|
@ -69,7 +73,7 @@ |
|
|
|
|
}, |
|
|
|
|
"bin": "build/app.js", |
|
|
|
|
"engines": { |
|
|
|
|
"node": ">=14 <15" |
|
|
|
|
"node": ">=14 <=16" |
|
|
|
|
}, |
|
|
|
|
"volta": { |
|
|
|
|
"node": "14.16.1" |
|
|
|
|