"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:
jq170727
2023-03-21 00:49:55 +00:00
committed by GitHub
parent 4dd4bab7b9
commit 6539f66642

View File

@@ -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!'"
}