noredink-ui/BUCK

28 lines
621 B
Python
Raw Normal View History

2023-04-27 00:10:36 +03:00
# A list of available rules and their signatures can be found here: https://buck2.build/docs/api/rules/
2023-04-27 01:15:52 +03:00
load("@prelude-nri//:elm.bzl", "elm_docs")
load("@prelude-nri//:node.bzl", "node_modules", "npm_bin")
2023-04-27 00:10:36 +03:00
2023-04-27 01:15:52 +03:00
elm_docs(
name = "docs.json",
elm_json = "elm.json",
src = "src",
2023-04-27 00:10:36 +03:00
)
2023-04-27 01:15:52 +03:00
2023-04-27 01:22:21 +03:00
filegroup(
name = "src",
srcs = glob(["src/**/*.elm"]),
visibility = ["//component-catalog:app"]
)
node_modules(
name = "node_modules",
package = "package.json",
package_lock = "package-lock.json",
)
npm_bin(
name = "browserify",
node_modules = ":node_modules",
2023-05-02 13:59:37 +03:00
visibility = ["//lib:lib.js"],
)