forked from dataform-co/dataform
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
49 lines (45 loc) · 907 Bytes
/
BUILD
File metadata and controls
49 lines (45 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
load("//testing:index.bzl", "ts_test_suite")
load("//tools:ts_library.bzl", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "lexer",
srcs = [
"lexer.ts"
],
deps = [
"//:modules-fix",
"@npm//@types/moo",
"@npm//moo",
],
)
ts_library(
name = "format",
srcs = [
"format.ts"
],
deps = [
":lexer",
"//:modules-fix",
"//common/errors",
"@npm//@types/js-beautify",
"@npm//@types/node",
"@npm//google-sql-syntax-ts",
"@npm//js-beautify",
"@npm//typeid-js",
],
)
ts_test_suite(
name = "tests",
srcs = [
"format_test.ts",
"lexer_test.ts",
],
deps = [
":format",
":lexer",
"//testing",
"@npm//@types/chai",
"@npm//@types/node",
"@npm//chai",
],
)