load("@build_bazel_rules_nodejs//:index.bzl", "js_library") SRCS = glob( [ "**/*.ts", ], exclude = [ "**/test_helpers.ts", "**/*.config.js", "**/*.mock.*", "**/*.test.*", "**/*.stories.*", "**/__snapshots__/**", "**/integration_tests/**", "**/mocks/**", "**/scripts/**", "**/storybook/**", "**/test_fixtures/**", "**/test_helpers/**", ], ) BUNDLER_DEPS = [ "@npm//lodash", "@npm//query-string", "@npm//rxjs", "@npm//tslib", ] js_library( name = "kbn-std", package_name = "@kbn/std", srcs = ["package.json"] + SRCS, deps = BUNDLER_DEPS, visibility = ["//visibility:public"], )