Skip to content

Commit

Permalink
Add README bits about npm publishing (bazelbuild#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Feb 11, 2020
1 parent 4b1375b commit 2f6ccb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ pkg_npm(
name = "npm_package",
srcs = [
"LICENSE",
"README.md",
"package.json",
"bazelisk.js",
],
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ This behavior can be disabled by setting the environment variable `BAZELISK_SKIP

Binary and source releases are provided on our [Releases](https://github.com/bazelbuild/bazelisk/releases) page.

Bazelisk is also published to npm.
Frontend developers may want to install it with `npm install -g @bazel/bazelisk`.
You will notice that it serves an analogous function for Bazel as the [`nvm` utility](https://github.com/nvm-sh/nvm) which manages your version of Node.js.

## Requirements

For ease of use, the Python version of Bazelisk is written to work with Python 2.7 and 3.x and only uses modules provided by the standard library.
Expand Down

0 comments on commit 2f6ccb7

Please sign in to comment.