aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-26 17:15:35 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-26 17:15:35 -0700
commit9a70d8daa24776414c31e8c3c2a789d002c5c1fc (patch)
treefe4b85b08bbd45546e8e5c62272b89be0b5bef10
parent79eb8d9d78a5ddc42b83c2044b0049474a26f3ae (diff)
downloadbun-9a70d8daa24776414c31e8c3c2a789d002c5c1fc.tar.gz
bun-9a70d8daa24776414c31e8c3c2a789d002c5c1fc.tar.zst
bun-9a70d8daa24776414c31e8c3c2a789d002c5c1fc.zip
Update README.md
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 7673bb81e..9d5fc7bfc 100644
--- a/README.md
+++ b/README.md
@@ -516,8 +516,6 @@ The default shell it uses is `bash`, but if that's not found, it tries `sh` and
`bun run` automatically adds any parent `node_modules/.bin` to `$PATH` and if no scripts match, it will load that binary instead. That means you can run executables from packages too.
-`bun run` supports lifecycle hooks like `post${task}` and `pre{task}`. If they exist, they will run matching the behavior of npm clients. If the `pre${task}` fails, the next task will not be run. There is currently no flag to skip these lifecycle tasks if they exist, if you want that file an issue.
-
```bash
# If you use Relay
bun run relay-compiler
@@ -539,6 +537,8 @@ bun run relay-compiler -- -–help
bun run relay-compiler --schema foo.graphql
```
+`bun run` supports lifecycle hooks like `post${task}` and `pre{task}`. If they exist, they will run matching the behavior of npm clients. If the `pre${task}` fails, the next task will not be run. There is currently no flag to skip these lifecycle tasks if they exist, if you want that file an issue.
+
### `bun create`
`bun create` is a fast way to create a new project from a template.