2017-06-02 12:43:52 -04:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
2017-12-06 09:56:49 -05:00
|
|
|
|
2018-03-20 16:13:06 -04:00
|
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "node_modules_filegroup")
|
|
|
|
|
2017-12-17 18:10:54 -05:00
|
|
|
exports_files([
|
|
|
|
"tsconfig.json",
|
2018-03-01 13:41:35 -05:00
|
|
|
"LICENSE",
|
2017-12-17 18:10:54 -05:00
|
|
|
])
|
2017-06-02 12:43:52 -04:00
|
|
|
|
2018-03-01 13:41:35 -05:00
|
|
|
# Developers should always run `bazel run :install`
|
|
|
|
# This ensures that package.json in subdirectories get installed as well.
|
|
|
|
alias(
|
|
|
|
name = "install",
|
|
|
|
actual = "@yarn//:yarn",
|
|
|
|
)
|
|
|
|
|
2018-03-20 16:13:06 -04:00
|
|
|
node_modules_filegroup(
|
2017-06-02 12:43:52 -04:00
|
|
|
name = "node_modules",
|
2018-03-20 16:13:06 -04:00
|
|
|
packages = [
|
|
|
|
"bytebuffer",
|
2017-08-30 01:09:55 -04:00
|
|
|
"hammerjs",
|
2018-03-20 16:13:06 -04:00
|
|
|
"jasmine",
|
|
|
|
"minimist",
|
2017-08-30 01:09:55 -04:00
|
|
|
"protobufjs",
|
|
|
|
"reflect-metadata",
|
2017-12-06 09:56:49 -05:00
|
|
|
"source-map-support",
|
2018-03-20 16:13:06 -04:00
|
|
|
"tsickle",
|
2018-02-02 18:25:33 -05:00
|
|
|
"tslib",
|
2018-03-20 16:13:06 -04:00
|
|
|
"tsutils",
|
|
|
|
"typescript",
|
|
|
|
"zone.js",
|
2018-04-03 17:52:33 -04:00
|
|
|
"@angular-devkit/core",
|
|
|
|
"@angular-devkit/schematics",
|
2018-03-20 16:13:06 -04:00
|
|
|
"@types",
|
|
|
|
"@webcomponents/custom-elements",
|
|
|
|
],
|
2017-06-02 12:43:52 -04:00
|
|
|
)
|
2017-12-16 14:35:47 -05:00
|
|
|
|
|
|
|
filegroup(
|
2017-12-18 18:37:05 -05:00
|
|
|
name = "web_test_bootstrap_scripts",
|
2017-12-16 14:35:47 -05:00
|
|
|
# do not sort
|
|
|
|
srcs = [
|
|
|
|
"//:node_modules/reflect-metadata/Reflect.js",
|
|
|
|
"//:node_modules/zone.js/dist/zone.js",
|
2018-03-31 11:44:38 -04:00
|
|
|
"//:node_modules/zone.js/dist/zone-testing.js",
|
2017-04-27 14:44:14 -04:00
|
|
|
"//:node_modules/zone.js/dist/task-tracking.js",
|
2017-12-16 14:35:47 -05:00
|
|
|
],
|
|
|
|
)
|
2017-12-18 18:37:05 -05:00
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "angularjs",
|
|
|
|
# do not sort
|
|
|
|
srcs = [
|
|
|
|
"//:node_modules/angular/angular.js",
|
|
|
|
"//:node_modules/angular-mocks/angular-mocks.js",
|
|
|
|
],
|
|
|
|
)
|