mirror of
https://github.com/taoensso/telemere.git
synced 2025-12-17 18:01:10 +00:00
[new] Add basic shadow-cljs setup
This commit is contained in:
parent
dfc52d6f87
commit
41e1f2faeb
4 changed files with 42 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -14,3 +14,6 @@ pom.xml*
|
|||
.idea/
|
||||
*.iml
|
||||
/wiki/.git
|
||||
.shadow-cljs/
|
||||
public/js/
|
||||
out/
|
||||
12
public/index.html
Normal file
12
public/index.html
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Telemere/shadow-cljs</title>
|
||||
<script src="/js/main.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>shadow-cljs dev HTTP server</h1>
|
||||
<h2>For: <i>taoensso.telemere</i></h2>
|
||||
</body>
|
||||
</html>
|
||||
25
shadow-cljs.edn
Normal file
25
shadow-cljs.edn
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{;;:lein true
|
||||
:source-paths ["src" "test"]
|
||||
:dependencies
|
||||
[[com.taoensso/encore "3.98.0-SNAPSHOT"]
|
||||
[cider/cider-nrepl "0.47.0"]
|
||||
[binaryage/devtools "1.0.7"]]
|
||||
|
||||
:nrepl
|
||||
{:port 7887
|
||||
:middleware
|
||||
[cider.nrepl/cider-middleware]}
|
||||
|
||||
:dev-http {8090 {:root "public"}}
|
||||
:builds
|
||||
{:main
|
||||
{:target :browser
|
||||
:output-dir "public/js"
|
||||
:modules {:main {:entries [taoensso.telemere]}}
|
||||
:preloads [devtools.preload]}
|
||||
|
||||
:tests
|
||||
{:target :node-test
|
||||
:output-to "target/tests.js"
|
||||
:ns-regexp "-tests$"
|
||||
:autorun true}}}
|
||||
2
shadow-cljs.sh
Executable file
2
shadow-cljs.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
npx shadow-cljs watch main
|
||||
Loading…
Reference in a new issue