| { |
| "name": "@bazel/javascript", |
| "description": "Build JavaScript with Bazel", |
| "version": "0.27.12", |
| "keywords": [ |
| "javascript", |
| "bazel" |
| ], |
| "homepage": "https://github.com/bazelbuild/rules_nodejs", |
| "license": "Apache-2.0", |
| "devDependencies": { |
| "@bazel/bazel": "0.23.0", |
| "@bazel/buildifier": "^0.20.0", |
| "@bazel/ibazel": "^0.9.1", |
| "@bazel/typescript": "0.23.2", |
| "clang-format": "1.2.2", |
| "hello": "file:./tools/npm_packages/hello", |
| "husky": "^0.14.3", |
| "is-builtin-module": "^2.0.0", |
| "jasmine": "3.3.1", |
| "node_resolve_index": "file:./tools/npm_packages/node_resolve_index", |
| "node_resolve_index_2": "file:./tools/npm_packages/node_resolve_index_2", |
| "node_resolve_index_3": "file:./tools/npm_packages/node_resolve_index_3", |
| "node_resolve_index_4": "file:./tools/npm_packages/node_resolve_index_4", |
| "node_resolve_main": "file:./tools/npm_packages/node_resolve_main", |
| "node_resolve_main_2": "file:./tools/npm_packages/node_resolve_main_2", |
| "node_resolve_nested_main": "file:./tools/npm_packages/node_resolve_nested_main", |
| "rollup": "1.0.0", |
| "rollup-plugin-amd": "^3.0.0", |
| "rollup-plugin-commonjs": "^9.2.1", |
| "rollup-plugin-node-resolve": "~4.2.0", |
| "rollup-plugin-sourcemaps": "^0.4.2", |
| "shelljs": "^0.8.2", |
| "typescript": "^3.3.1", |
| "unidiff": "0.0.4", |
| "zone.js": "0.8.29" |
| }, |
| "scripts": { |
| "build_packages_all": "./scripts/build_packages_all.sh", |
| "build_packages": "./scripts/build_packages.sh", |
| "build_release": "./scripts/build_release.sh", |
| "clean_all": "./scripts/clean_all.sh", |
| "test_all": "./scripts/test_all.sh", |
| "test_e2e_all": "./scripts/test_e2e_all.sh", |
| "test_e2e": "./scripts/test_e2e.sh", |
| "test_examples_all": "./scripts/test_examples_all.sh", |
| "test_examples": "./scripts/test_examples.sh", |
| "test_legacy_e2e_all": "./scripts/test_legacy_e2e_all.sh", |
| "test_legacy_e2e": "./scripts/test_legacy_e2e.sh", |
| "test_packages_all": "./scripts/test_packages_all.sh", |
| "test_packages": "./scripts/test_packages.sh", |
| "bazel:format": "find . -type f \\( -name \"*.bzl\" -or -name WORKSPACE -or -name BUILD -or -name BUILD.bazel \\) ! -path \"*/node_modules/*\" ! -path \"./dist/*\" ! -path \"./third_party/*\" | xargs buildifier -v --warnings=args-order,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", |
| "format-all": "clang-format --glob='{internal/**/,examples/**/}*.{js,ts}' -i", |
| "precommit": "check-clang-format \"yarn format\"", |
| "skydoc": "bazel build //docs && unzip -o -d docs bazel-bin/docs/docs-skydoc.zip", |
| "version": "node ./scripts/on-version.js && bazel build //:release && node ./scripts/on-release.js && git stage defs.bzl README.md" |
| } |
| } |