This project was created to try Bun as a replacement for Node.js for everyday tasks.
- Clone this repository.
- Install the dependencies:
bun install
. - Run the test:
bun run test
. - Make sure all tests pass.
- Compile to binary by using:
bun run compile
.
- Using Bun command:
bun start -- --path <project-path> --report <report-output-path>
- Using single-execution binary:
app --path <project-path> --report <report-output-path>
- Contains
package.json
. - Contains a
main.js
file. - The
main.js
file must contain a comment with the sender'sid
. - The root of the
main.js
application must display HTML. - The port must be set to 5000.
- The HTML file must contain an h1 element with the sender's
id
.