Skip to content

Commit 7799251

Browse files
committed
init
0 parents  commit 7799251

File tree

844 files changed

+323691
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

844 files changed

+323691
-0
lines changed

.dir-locals.el

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
((clojurescript . ((cider-default-cljs-repl . shadow)
2+
(cider-shadow-default-options . ":renderer")
3+
(cider-shadow-watched-builds . (":main" ":renderer")))))

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/public/js
2+
/node_modules
3+
/target
4+
/yarn.lock
5+
/package-lock.json
6+
/.shadow-cljs
7+
/*.iml
8+
/.nrepl-port
9+
/.idea

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
3+
### Development
4+
5+
``` sh
6+
npm install
7+
npm run dev
8+
electron .
9+
```
10+
11+
In emacs, `cider-jack-in-cljs` -> boot the dev server to enable compilation of the `main` build.

package.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "trunk",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "resources/main.js",
6+
"scripts": {
7+
"dev": "concurrently -p \"[{name}]\" -n \"CLJS, Electron boot\" -c \"red.bgBlack.bold,yellow.bgBlack.bold\" \"npm run dev-cljs\" \"npm run dev-electron\"",
8+
"dev-cljs": "shadow-cljs watch main renderer",
9+
"dev-electron": "npx electron .",
10+
"build": "shadow-cljs compile main renderer",
11+
"clean": "rm -rf resources/public/js/* && rm -rf target",
12+
"test": "echo \"Error: no test specified\" && exit 1"
13+
},
14+
"keywords": [],
15+
"author": "",
16+
"license": "ISC",
17+
"devDependencies": {
18+
"concurrently": "^6.2.0",
19+
"electron": "^13.1.7",
20+
"shadow-cljs": "^2.15.2"
21+
},
22+
"dependencies": {
23+
"react": "^17.0.2",
24+
"react-dom": "^17.0.2"
25+
}
26+
}

resources/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)