mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-06 10:23:39 +02:00
fix basic js build, adds requirement on [entr](https://github.com/eradman/entr) for file watching
This commit is contained in:
parent
15dcdaab1b
commit
1702d78171
3 changed files with 3864 additions and 3747 deletions
|
|
@ -26,7 +26,7 @@ If you have any questions please ask them in the [airsonic matrix channel](https
|
|||
The project is written in [ClojureScript](https://clojurescript.org/) and uses [re-frame](https://github.com/Day8/re-frame) for structure and peace of mind. The build tool is [shadow-cljs](https://shadow-cljs.github.io/docs/UsersGuide.html), which offers nice editor integration and interoparibility with the whole JavaScript ecosystem.
|
||||
If you haven't worked with re-frame: I highly recommend it. Good resources are the project's [docs](https://github.com/Day8/re-frame/tree/master/docs) and a [post about its building blocks](https://purelyfunctional.tv/guide/re-frame-building-blocks/).
|
||||
|
||||
To build the project make sure you have Node.js (v6.0.0), npm and Java 8 installed in your system.
|
||||
To build the project make sure you have Node.js (v22.0.0), npm, [entr](https://github.com/eradman/entr) and Java 8 installed in your system.
|
||||
|
||||
```
|
||||
# after cloning the project, first install all dependencies
|
||||
|
|
|
|||
5763
package-lock.json
generated
5763
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -6,13 +6,13 @@
|
|||
"scripts": {
|
||||
"build:cljs": "shadow-cljs release app",
|
||||
"build-extra: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:sass": "sass --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/",
|
||||
"copy:icons": "cp -R node_modules/open-iconic/font/fonts public",
|
||||
"deploy": "gh-pages -d public -m \"[skip ci] Deploying $(git rev-parse --short HEAD)\"",
|
||||
"dev:cljs": "shadow-cljs watch app test",
|
||||
"dev:sass": "node-sass -w src/sass/app.sass -o public/app",
|
||||
"dev:sass": "echo src/sass/app.sass | entr npm run build:sass",
|
||||
"dev:test": "karma start --reporters notify,progress --auto-watch",
|
||||
"dev": "rm -r public/*; npm-run-all build:sass copy:* test:compile -p dev:*",
|
||||
"test": "run-s test:compile test:run",
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
"karma-cljs-test": "^0.1.0",
|
||||
"karma-firefox-launcher": "^1.2.0",
|
||||
"karma-notify-reporter": "^1.1.0",
|
||||
"node-sass": "^4.13.1",
|
||||
"sass": "^1.86.3",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"react-flip-move": "^3.0.3",
|
||||
"react-highlight.js": "^1.0.7",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue