mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
"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.
This commit is contained in:
@@ -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!'"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user