Skip to content

rescriptuz/rescript-resinka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rescript {Resinka}

An experimental repository to learn & test ReScript maintained by @orzklv. This repository might become an SDK or a library in the future for Telegram Bots.

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 install

Commands (scripts)

  • Build: compile ReScript files

    • npm run res:build
    • pnpm run res:build
    • rescript
  • Clean: remove compiled Javascript files

    • npm run res:clean
    • pnpm run res:clean
    • rescript clean
  • Watch: watch ReScript files for changes and compile

    • npm run res:dev
    • pnpm run res:dev
    • rescript -w
  • Format: format ReScript files

    • npm run res:fmt
    • pnpm run res:fmt
    • rescript format -all
  • Start: run the compiled Javascript file

    • npm run start
    • pnpm run start

Rescript {Resinka}

Releases

No releases published

Sponsor this project

 

Packages

No packages published