feat(handlebars plugin): adding handlebars helpers for common math operations (#20648)

* feat(plugin-chart-handlebars): add common helpers

* add import

* add declare module

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
This commit is contained in:
Evan Rusackas
2022-07-08 07:10:29 -07:00
committed by GitHub
parent 4e6e87f62e
commit 9856d88c03
4 changed files with 55 additions and 4 deletions

View File

@@ -26,7 +26,8 @@
"access": "public"
},
"dependencies": {
"handlebars": "^4.7.7"
"handlebars": "^4.7.7",
"just-handlebars-helpers": "^1.0.19"
},
"peerDependencies": {
"@superset-ui/chart-controls": "*",
@@ -39,8 +40,8 @@
"react-dom": "^16.13.1"
},
"devDependencies": {
"@types/lodash": "^4.14.149",
"@types/jest": "^26.0.0",
"@types/lodash": "^4.14.149",
"jest": "^26.0.1"
}
}