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",
|
2018-05-30 21:15:38 -04:00
|
|
|
actual = "@nodejs//:yarn",
|
2018-03-01 13:41:35 -05:00
|
|
|
)
|
|
|
|
|
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 = [
|
2018-05-11 02:35:21 -04:00
|
|
|
"adm-zip",
|
|
|
|
"ajv",
|
|
|
|
"angular",
|
|
|
|
"angular-1.5",
|
|
|
|
"angular-mocks",
|
|
|
|
"angular-mocks-1.5",
|
|
|
|
"anymatch",
|
|
|
|
"arr-diff",
|
|
|
|
"arr-flatten",
|
|
|
|
"arr-union",
|
|
|
|
"array-unique",
|
|
|
|
"asn1",
|
|
|
|
"assert-plus",
|
|
|
|
"assign-symbols",
|
|
|
|
"async-each",
|
|
|
|
"asynckit",
|
|
|
|
"atob",
|
|
|
|
"aws-sign2",
|
|
|
|
"aws4",
|
|
|
|
"balanced-match",
|
|
|
|
"base",
|
|
|
|
"base64-js",
|
|
|
|
"binary-extensions",
|
|
|
|
"blocking-proxy",
|
|
|
|
"brace-expansion",
|
|
|
|
"braces",
|
2018-03-20 16:13:06 -04:00
|
|
|
"bytebuffer",
|
2018-05-11 02:35:21 -04:00
|
|
|
"cache-base",
|
|
|
|
"caseless",
|
|
|
|
"chokidar",
|
|
|
|
"class-utils",
|
|
|
|
"co",
|
|
|
|
"collection-visit",
|
|
|
|
"combined-stream",
|
|
|
|
"component-emitter",
|
|
|
|
"concat-map",
|
|
|
|
"copy-descriptor",
|
|
|
|
"core-util-is",
|
|
|
|
"debug",
|
|
|
|
"decode-uri-component",
|
|
|
|
"define-property",
|
|
|
|
"delayed-stream",
|
|
|
|
"domino",
|
|
|
|
"expand-brackets",
|
|
|
|
"expand-range",
|
|
|
|
"extend",
|
|
|
|
"extend-shallow",
|
|
|
|
"extglob",
|
|
|
|
"extsprintf",
|
|
|
|
"fast-deep-equal",
|
|
|
|
"fast-json-stable-stringify",
|
|
|
|
"filename-regex",
|
|
|
|
"fill-range",
|
|
|
|
"for-in",
|
|
|
|
"for-own",
|
|
|
|
"forever-agent",
|
|
|
|
"form-data",
|
|
|
|
"fragment-cache",
|
|
|
|
"fs.realpath",
|
|
|
|
"get-value",
|
|
|
|
"glob",
|
|
|
|
"glob-base",
|
|
|
|
"glob-parent",
|
|
|
|
"graceful-fs",
|
2017-08-30 01:09:55 -04:00
|
|
|
"hammerjs",
|
2018-05-11 02:35:21 -04:00
|
|
|
"har-schema",
|
|
|
|
"har-validator",
|
|
|
|
"has-value",
|
|
|
|
"has-values",
|
|
|
|
"http-signature",
|
|
|
|
"https-proxy-agent",
|
|
|
|
"inflight",
|
|
|
|
"inherits",
|
|
|
|
"is-accessor-descriptor",
|
|
|
|
"is-binary-path",
|
|
|
|
"is-buffer",
|
|
|
|
"is-data-descriptor",
|
|
|
|
"is-descriptor",
|
|
|
|
"is-dotfile",
|
|
|
|
"is-equal-shallow",
|
|
|
|
"is-extendable",
|
|
|
|
"is-extglob",
|
|
|
|
"is-glob",
|
|
|
|
"is-number",
|
|
|
|
"is-plain-object",
|
|
|
|
"is-posix-bracket",
|
|
|
|
"is-primitive",
|
|
|
|
"is-typedarray",
|
|
|
|
"is-windows",
|
|
|
|
"isarray",
|
|
|
|
"isobject",
|
|
|
|
"isstream",
|
2018-03-20 16:13:06 -04:00
|
|
|
"jasmine",
|
2018-05-11 02:35:21 -04:00
|
|
|
"jasmine-core",
|
|
|
|
"jasminewd2",
|
|
|
|
"json-schema",
|
|
|
|
"json-schema-traverse",
|
|
|
|
"json-stable-stringify",
|
|
|
|
"json-stringify-safe",
|
|
|
|
"jsprim",
|
|
|
|
"kind-of",
|
|
|
|
"long",
|
|
|
|
"lru-cache",
|
|
|
|
"map-cache",
|
|
|
|
"map-visit",
|
|
|
|
"math-random",
|
|
|
|
"micromatch",
|
|
|
|
"mime-db",
|
|
|
|
"mime-types",
|
|
|
|
"minimatch",
|
2018-03-20 16:13:06 -04:00
|
|
|
"minimist",
|
2018-05-11 02:35:21 -04:00
|
|
|
"mixin-deep",
|
|
|
|
"nanomatch",
|
|
|
|
"normalize-path",
|
|
|
|
"oauth-sign",
|
|
|
|
"object.omit",
|
|
|
|
"object.pick",
|
|
|
|
"object-copy",
|
|
|
|
"object-visit",
|
|
|
|
"once",
|
|
|
|
"optimist",
|
|
|
|
"options",
|
|
|
|
"os-tmpdir",
|
|
|
|
"parse-glob",
|
|
|
|
"pascalcase",
|
|
|
|
"path-dirname",
|
|
|
|
"path-is-absolute",
|
|
|
|
"performance-now",
|
|
|
|
"posix-character-classes",
|
|
|
|
"preserve",
|
|
|
|
"process-nextick-args",
|
2017-08-30 01:09:55 -04:00
|
|
|
"protobufjs",
|
2018-04-09 02:53:31 -04:00
|
|
|
"protractor",
|
2018-05-11 02:35:21 -04:00
|
|
|
"qs",
|
|
|
|
"randomatic",
|
|
|
|
"readable-stream",
|
|
|
|
"readdirp",
|
2017-08-30 01:09:55 -04:00
|
|
|
"reflect-metadata",
|
2018-05-11 02:35:21 -04:00
|
|
|
"regex-cache",
|
|
|
|
"regex-not",
|
|
|
|
"remove-trailing-separator",
|
|
|
|
"repeat-element",
|
|
|
|
"repeat-string",
|
|
|
|
"request",
|
|
|
|
"ret",
|
|
|
|
"rimraf",
|
|
|
|
"safe-buffer",
|
|
|
|
"safe-regex",
|
|
|
|
"sax",
|
|
|
|
"semver",
|
|
|
|
"set-immediate-shim",
|
|
|
|
"set-value",
|
|
|
|
"shelljs",
|
|
|
|
"sigmund",
|
|
|
|
"snapdragon",
|
|
|
|
"snapdragon-node",
|
|
|
|
"snapdragon-util",
|
|
|
|
"source-map",
|
|
|
|
"source-map-resolve",
|
2017-12-06 09:56:49 -05:00
|
|
|
"source-map-support",
|
2018-05-11 02:35:21 -04:00
|
|
|
"source-map-url",
|
|
|
|
"split-string",
|
|
|
|
"sshpk",
|
|
|
|
"static-extend",
|
|
|
|
"stringstream",
|
|
|
|
"tmp",
|
|
|
|
"to-object-path",
|
|
|
|
"to-regex",
|
|
|
|
"to-regex-range",
|
|
|
|
"tough-cookie",
|
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",
|
2018-05-11 02:35:21 -04:00
|
|
|
"tunnel-agent",
|
2018-03-20 16:13:06 -04:00
|
|
|
"typescript",
|
2018-05-11 02:35:21 -04:00
|
|
|
"union-value",
|
|
|
|
"unset-value",
|
|
|
|
"upath",
|
|
|
|
"uri-js",
|
|
|
|
"urix",
|
|
|
|
"use",
|
|
|
|
"util-deprecate",
|
|
|
|
"uuid",
|
|
|
|
"verror",
|
|
|
|
"webdriver-js-extender",
|
|
|
|
"webdriver-manager",
|
|
|
|
"wordwrap",
|
|
|
|
"wrappy",
|
|
|
|
"xhr2",
|
|
|
|
"xml2js",
|
|
|
|
"xmlbuilder",
|
2018-03-20 16:13:06 -04:00
|
|
|
"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",
|
|
|
|
],
|
2018-07-06 17:51:37 -04:00
|
|
|
patterns = [
|
|
|
|
"node_modules/protractor/**",
|
2018-05-11 02:35:21 -04:00
|
|
|
"node_modules/@schematics/angular/**",
|
2018-07-06 17:51:37 -04:00
|
|
|
],
|
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",
|
2018-06-04 17:58:23 -04:00
|
|
|
"//:test-events.js",
|
2017-12-16 14:35:47 -05:00
|
|
|
],
|
|
|
|
)
|
2017-12-18 18:37:05 -05:00
|
|
|
|
|
|
|
filegroup(
|
2018-05-31 02:49:37 -04:00
|
|
|
name = "angularjs_scripts",
|
2017-12-18 18:37:05 -05:00
|
|
|
srcs = [
|
2018-05-31 02:49:37 -04:00
|
|
|
"//:node_modules/angular-1.5/angular.js",
|
|
|
|
"//:node_modules/angular-mocks-1.5/angular-mocks.js",
|
2017-12-18 18:37:05 -05:00
|
|
|
"//:node_modules/angular-mocks/angular-mocks.js",
|
2018-05-31 02:49:37 -04:00
|
|
|
"//:node_modules/angular/angular.js",
|
2017-12-18 18:37:05 -05:00
|
|
|
],
|
|
|
|
)
|