angular-docs-cn/packages/elements/schematics/BUILD.bazel

28 lines
554 B
Python

package(default_visibility = ["//visibility:public"])
load("//tools:defaults.bzl", "ts_library", "npm_package")
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
exports_files([
"package.json",
"collection.json",
])
genrule(
name = "collection",
srcs = ["collection.json"],
outs = ["test-collection.json"],
cmd = "cp $< $@",
output_to_bindir = 1,
)
npm_package(
name = "npm_package",
srcs = [
"collection.json",
],
deps = [
"//packages/elements/schematics/ng-add",
],
)