28 lines
554 B
Python
28 lines
554 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load("//tools:defaults.bzl", "npm_package", "ts_library")
|
|
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",
|
|
],
|
|
)
|