diff options
author | 2023-03-21 00:49:55 +0000 | |
---|---|---|
committer | 2023-03-20 17:49:55 -0700 | |
commit | 6539f66642e71c7e23cbf5a816bd65dd6a0ff7db (patch) | |
tree | a21013077bf9cdfab9814f7b3da94a1074f11418 /docs/cli | |
parent | 4dd4bab7b97627b6d50a7e7480b051318d82745c (diff) | |
download | bun-6539f66642e71c7e23cbf5a816bd65dd6a0ff7db.tar.gz bun-6539f66642e71c7e23cbf5a816bd65dd6a0ff7db.tar.zst bun-6539f66642e71c7e23cbf5a816bd65dd6a0ff7db.zip |
"bun-create" example "postinstall"→"preinstall" (#2441)
"postinstall" is listed twice in the example for the "bun-create" section of package.json.
Based on the context and content of the echo commands I believe the intent is that the
first "postinstall" should be "preinstall". This change corrects this.
Diffstat (limited to 'docs/cli')
-rw-r--r-- | docs/cli/create.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cli/create.md b/docs/cli/create.md index 54595a6fe..a6dc90c2c 100644 --- a/docs/cli/create.md +++ b/docs/cli/create.md @@ -129,7 +129,7 @@ Each of these can correspond to a string or array of strings. An array of comman "react-dom": "^17.0.2" }, "bun-create": { - "postinstall": "echo 'Installing...'", // a single command + "preinstall": "echo 'Installing...'", // a single command "postinstall": ["echo 'Done!'"], // an array of commands "start": "bun run echo 'Hello world!'" } |