24 lines
393 B
Python
24 lines
393 B
Python
|
load("@build_bazel_rules_nodejs//:index.bzl", "pkg_npm")
|
||
|
load("@npm_bazel_typescript//:index.bzl", "ts_library")
|
||
|
|
||
|
ts_library(
|
||
|
name = "cli",
|
||
|
srcs = [
|
||
|
"cli.ts",
|
||
|
],
|
||
|
deps = [
|
||
|
"@npm//@types/node",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
pkg_npm(
|
||
|
name = "npm_package",
|
||
|
srcs = [
|
||
|
"package.json",
|
||
|
],
|
||
|
visibility = ["//visibility:public"],
|
||
|
deps = [
|
||
|
":cli",
|
||
|
],
|
||
|
)
|