blob: 1cd0e8edf7c1e8e6c3cf81eef27409712b92e8ae [file]
{
"devDependencies": {
"clang-format": "1.2.2",
"husky": "^0.14.3"
},
"scripts": {
"//": "Special case for this test. We need to run bazel from within the WORKSPACE to ensure that the preserve_symlinks setting is honored.",
"internal-e2e-node_loader_no_preserve_symlinks": "cd internal/e2e/node_loader_no_preserve_symlinks && bazel run @nodejs//:yarn && bazel test ... && bazel test @node_resolve_dep//:test",
"//": "Special case for this test. We need to run bazel from within the WORKSPACE to ensure that the preserve_symlinks setting is honored.",
"internal-e2e-node_loader_preserve_symlinks": "cd internal/e2e/node_loader_preserve_symlinks && bazel run @nodejs//:yarn && bazel test ... && bazel test @node_resolve_dep//:test",
"test": "yarn internal-e2e-node_loader_no_preserve_symlinks && yarn internal-e2e-node_loader_preserve_symlinks",
"prebuildifier": "bazel build --noshow_progress @com_github_bazelbuild_buildtools//buildifier",
"buildifier": "find . -type f \\( -name BUILD -or -name BUILD.bazel \\) ! -path \"*/node_modules/*\" | xargs $(bazel info bazel-bin)/external/com_github_bazelbuild_buildtools/buildifier/*/buildifier",
"preskylint": "bazel build --noshow_progress @io_bazel//src/tools/skylark/java/com/google/devtools/skylark/skylint:Skylint",
"skylint": "find . -type f -name \"*.bzl\" ! -path \"*/node_modules/*\" | xargs $(bazel info bazel-bin)/external/io_bazel/src/tools/skylark/java/com/google/devtools/skylark/skylint/Skylint",
"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-skydoc.zip"
}
}