1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-07 02:33:39 +02:00

Move build-report into task and update README.md

This commit is contained in:
heyarne 2019-12-14 11:12:17 +01:00
commit 7dca96983d
3 changed files with 4 additions and 847 deletions

View file

@ -37,9 +37,11 @@ $ npm install
$ npm run dev
```
All other build tasks are defined in the `package.json` (more below).
### Editor integration
Integrating shadow-cljs with your editor helps tremendously with development. After having run `npm run dev` as described above you can connect to the REPL and get features like in-editor code execution and code completion / documentation lookup. For further information see [this part of the shadow-cljs user guide](https://shadow-cljs.github.io/docs/UsersGuide.html#_editor_integration), which contains instructions for Emacs, Atom, VSCode and other editors. Make sure to open `localhost:8080` in the browser to execute ClojureScript code.
Integrating shadow-cljs with your editor helps tremendously with development. After having run `npm run dev` as described above you can connect to the REPL and get features like in-editor code execution and code completion / documentation lookup. For further information see [this part of the shadow-cljs user guide](https://shadow-cljs.github.io/docs/UsersGuide.html#_editor_integration). Recommended editors and plugins are Calva for VSCode and CIDER for Emacs (comes with Spacemacs). Make sure to open `localhost:8080` in the browser after starting the `dev:cljs` task to execute ClojureScript code in a live REPL.
### re-frame-10x

File diff suppressed because one or more lines are too long

View file

@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"build:cljs": "shadow-cljs release app",
"build:cljs-report": "shadow-cljs run shadow.cljs.build-report app public/build-report.html",
"build:sass": "node-sass --output-style compressed src/sass/app.sass | postcss -o public/app/app.css",
"build": "mkdir -p public; rm -r public/*; run-p copy:* build:*",
"copy:assets": "cp -R src/assets/* public/",