anki/ts/sql_format/BUILD.bazel
2021-12-14 09:18:24 +10:00

19 lines
374 B
Python

load("//ts:typescript.bzl", "typescript")
_deps = [
"@npm//@sqltools/formatter",
"@npm//@types/diff",
"@npm//@types/node",
"@npm//diff",
]
typescript(
name = "sql_format_lib",
srcs = ["sql_format.ts"],
deps = _deps,
)
# a hack to allow us to define the test in a different file; there
# should be a better way
exports_files(["sql_format.ts"])