| load("//infra-sk:index.bzl", "karma_test", "sass_library", "ts_library") |
| |
| karma_test( |
| name = "common_test", |
| src = "common_test.ts", |
| deps = [ |
| ":common_ts_lib", |
| "//:node_modules/@types/chai", |
| "//:node_modules/chai", |
| "//golden/modules/search-controls-sk", |
| "//infra-sk/modules:dom_ts_lib", |
| "//infra-sk/modules:test_util_ts_lib", |
| ], |
| ) |
| |
| ts_library( |
| name = "common_ts_lib", |
| srcs = ["common.ts"], |
| visibility = ["//visibility:public"], |
| deps = [ |
| ":rpc_types_ts_lib", |
| "//golden/modules/search-controls-sk", |
| "//infra-sk/modules:hintable_ts_lib", |
| "//infra-sk/modules:query_ts_lib", |
| ], |
| ) |
| |
| ts_library( |
| name = "demo_util_ts_lib", |
| srcs = ["demo_util.ts"], |
| visibility = ["//visibility:public"], |
| ) |
| |
| ts_library( |
| name = "rpc_types_ts_lib", |
| srcs = ["rpc_types.ts"], |
| visibility = ["//visibility:public"], |
| ) |
| |
| ts_library( |
| name = "settings_ts_lib", |
| srcs = ["settings.ts"], |
| visibility = ["//visibility:public"], |
| ) |
| |
| ts_library( |
| name = "shared_demo_data_ts_lib", |
| srcs = ["shared_demo_data.ts"], |
| visibility = ["//visibility:public"], |
| deps = ["//infra-sk/modules:query_ts_lib"], |
| ) |
| |
| sass_library( |
| name = "colors_sass_lib", |
| srcs = ["colors.scss"], |
| visibility = ["//visibility:public"], |
| ) |