Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

just-sultanov/clj-monaco

Repository files navigation

License Clojars Build Publish Deploy

clj-monaco

A ClojureScript library for the Monaco Editor.

STATUS: [Experimental] Pre-alpha, in design and prototyping phase. Figwheel isn’t supported. Use shadow-cljs.

Quick Start Guide

Add the following dependency in your project:

;; project.clj or build.boot
[clj-monaco "0.0.9"]

;; deps.edn
{:deps {clj-monaco {:mvn/version "0.0.9"}}}

Examples

You can see the online demo here and full example here.

Requirements

# Install npm deps
$ npm i

Development

# Run nREPL & connect from your IDE
$ make repl

# Application: http://localhost:3000
# Tests: http://localhost:3000/test
# REPL: nrepl://localhost:7888

Available commands

$ make help
help                           Show help
clean                          Clean
repl                           Run REPL
lint                           Run linter
test                           Run tests
prepare                        Prepare to build
jar                            Build jar file
js                             Build js files
serve                          Run local server
install                        Install jar file
deploy                         Deploy to clojars