George Kalpakas 4bb283cbb2 build: remove redundant @types/source-map dependency (#31468)
In version 0.6.1 that we are using, `source-map` ships with
[its own typings][1], so there is no need to use `@types/source-map`.
The types were even removed from `DefinitelyTyped` in
DefinitelyTyped/DefinitelyTyped@1792bfaa2.

[1]: https://github.com/mozilla/source-map/blob/0.6.1/package.json#L72

PR Close #31468
2019-07-11 17:18:12 -04:00

37 lines
676 B
Python

load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "size-tracking",
srcs = glob(
["**/*.ts"],
exclude = ["**/*_spec.ts"],
),
tsconfig = "//tools:tsconfig.json",
deps = [
"@npm//@types/node",
"@npm//chalk",
"@npm//source-map",
],
)
ts_library(
name = "test_lib",
testonly = True,
srcs = glob(["**/*_spec.ts"]),
deps = [
":size-tracking",
"@npm//source-map",
],
)
jasmine_node_test(
name = "test",
data = [],
deps = [
":test_lib",
"@npm//source-map",
],
)