2021-04-25 15:11:06 +03:00
|
|
|
load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
|
2021-01-29 11:18:22 +03:00
|
|
|
|
|
|
|
js_library(
|
|
|
|
name = "base-client",
|
2021-04-25 15:11:06 +03:00
|
|
|
package_name = "base-client",
|
2021-01-29 11:18:22 +03:00
|
|
|
srcs = ["base-client.js"],
|
2021-04-25 15:11:06 +03:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2021-01-29 11:18:22 +03:00
|
|
|
"//library/js:utils",
|
|
|
|
"@npm//axios",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
js_library(
|
|
|
|
name = "utils",
|
2021-04-25 15:11:06 +03:00
|
|
|
package_name = "utils",
|
2021-01-29 11:18:22 +03:00
|
|
|
srcs = ["utils.js"],
|
2021-04-25 15:11:06 +03:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2021-01-29 11:18:22 +03:00
|
|
|
"@npm//lodash",
|
|
|
|
],
|
|
|
|
)
|