anki/ts/BUILD.bazel
2021-01-31 14:15:03 +01:00

33 lines
508 B
Python

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",
"rollup.config.js",
"rollup.aqt.config.js",
".eslintrc.js",
"licenses.json",
"sql_format.ts",
])
alias(
name = "yarn",
actual = "@nodejs//:yarn",
)