0.0.1 • Published 2 years ago
@rescriptuz/rescript-zx v0.0.1
Bindings to zx for ReScript. Let's you write shell scripts in ReScript.
Installation
# Set Node version to latest
volta install node@lts
# Use pnpm preferably
volta install pnpm
# You may installer rescript globally
volta install rescript
# Install dependencies using pnpm
pnpm installUsage
WIP
Commands (scripts)
Build: compile ReScript files
npm run res:buildpnpm run res:buildrescript
Clean: remove compiled Javascript files
npm run res:cleanpnpm run res:cleanrescript clean
Watch: watch ReScript files for changes and compile
npm run res:devpnpm run res:devrescript -w
Format: format ReScript files
npm run res:fmtpnpm run res:fmtrescript format -all
Start: run the compiled Javascript file
npm run startpnpm run start