Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (65 sloc) 3.4 KB
{
"name": "angular-bazel-example",
"private": true,
"description": "Demo of building Angular apps with Bazel",
"license": "Apache 2.0",
"engines": {
"node": ">=10.9.0 <11.0.0",
"yarn": ">=1.9.2 <2.0.0"
},
"dependencies": {
"@angular/animations": "8.0.0-beta.10",
"@angular/cdk": "7.3.6",
"@angular/common": "8.0.0-beta.10",
"@angular/core": "8.0.0-beta.10",
"@angular/forms": "8.0.0-beta.10",
"@angular/material": "7.3.6",
"@angular/platform-browser": "8.0.0-beta.10",
"@angular/platform-browser-dynamic": "8.0.0-beta.10",
"@angular/router": "8.0.0-beta.10",
"@ngrx/store": "7.4.0",
"date-fns": "1.30.1",
"rxjs": "6.4.0",
"systemjs": "0.21.6",
"tslib": "1.9.3",
"zone.js": "0.9.0"
},
"devDependencies": {
"@angular/bazel": "8.0.0-beta.10",
"@angular/cli": "8.0.0-beta.10",
"@angular/compiler": "8.0.0-beta.10",
"@angular/compiler-cli": "8.0.0-beta.10",
"@bazel/bazel": "0.24.0",
"@bazel/benchmark-runner": "0.1.0",
"@bazel/buildifier": "0.22.0",
"@bazel/ibazel": "0.10.0",
"@bazel/karma": "0.27.9",
"@types/jasmine": "3.3.12",
"@types/node": "6.14.4",
"browserify": "16.2.3",
"clang-format": "1.2.4",
"core-js": "2.6.5",
"husky": "0.14.3",
"named-amd": "1.0.0",
"protractor": "6.0.0",
"typescript": "3.3.3333"
},
"scripts": {
"build": "bazel build //src:bundle",
"serve": "ibazel run //src:devserver",
"serve-prod": "bazel run //src:prodserver",
"e2e": "bazel test //e2e:all",
"test": "bazel test //src/...",
"benchmark": "ibazel-benchmark-runner //src:devserver src/hello-world/hello-world.component.ts --url=http://localhost:5432",
"postinstall": "ngc -p angular-metadata.tsconfig.json && yarn browserify-date-fns",
"// browserify-date-fns": "for ts_devserver & ts_web_test_suite, create named UMD bundle of date-fns npm package with AMD name 'date-fns' and global name browserifyDateFns",
"browserify-date-fns": "browserify -p [ named-amd --name date-fns ] node_modules/date-fns/index.js -s browserifyDateFns -o node_modules/date-fns/date-fns.umd.js",
"bazel:format": "find . -type f \\( -name \"*.bzl\" -or -name WORKSPACE -or -name BUILD -or -name BUILD.bazel \\) ! -path \"*/node_modules/*\" | xargs buildifier -v --warnings=attr-cfg,attr-license,attr-non-empty,attr-output-default,attr-single-file,constant-glob,ctx-actions,ctx-args,depset-iteration,depset-union,dict-concatenation,duplicated-name,filetype,git-repository,http-archive,integer-division,load,load-on-top,native-build,native-package,out-of-order-load,output-group,package-name,package-on-top,positional-args,redefined-variable,repository-name,same-origin-load,string-iteration,unsorted-dict-items,unused-variable",
"bazel:lint": "yarn bazel:format --lint=warn",
"bazel:lint-fix": "yarn bazel:format --lint=fix",
"format": "git-clang-format",
"precommit": "check-clang-format \"yarn format\"",
"generate:clean": "rimraf ./src/app/billing ./src/app/compute ./src/app/datastore ./src/app/functions ./src/app/logging ./src/app/monitoring ./src/app/networking ./src/app/registry ./src/app/storage ./src/app/support",
"generate": "node tools/generate.js"
}
}
You can’t perform that action at this time.