anki/ts/BUILD.bazel

32 lines
480 B
Python
Raw Normal View History

load("//ts:prettier.bzl", "prettier", "prettier_test")
load("//ts:sql_format.bzl", "sql_format_setup")
prettier()
prettier_test(
name = "format_check",
srcs = glob([
"*.ts",
"*.js",
]),
)
sql_format_setup()
# Exported files
#################
exports_files([
"tsconfig.json",
".prettierrc",
".eslintrc.js",
2020-11-12 10:54:13 +01:00
"licenses.json",
"sql_format.ts",
"protobuf-shim.js",
])
alias(
name = "yarn",
actual = "@nodejs//:yarn",
)