mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-07 02:33:39 +02:00
Update shadow-cljs and use relative paths; fixes #17
This commit is contained in:
parent
0d169ab77d
commit
1713e37695
3 changed files with 152 additions and 953 deletions
1092
package-lock.json
generated
1092
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -5,13 +5,12 @@
|
|||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build:cljs": "shadow-cljs release app",
|
||||
"build:html": "sed 's/\"\\/app\\//\".\\/app\\//g' src/html/index.html > public/index.html",
|
||||
"build:sass": "node-sass --output-style compressed src/sass/app.sass public/app/style.css",
|
||||
"build": "rm -r public/*; run-p copy:* build:*",
|
||||
"copy:html": "cp src/html/index.html public/index.html",
|
||||
"copy:icons": "cp -R node_modules/open-iconic/font/fonts public",
|
||||
"deploy": "npm run build && gh-pages -d public -m \"Deploying $(git rev-parse --short HEAD)\"",
|
||||
"dev:cljs": "shadow-cljs watch app test",
|
||||
"dev:html": "sed 's/\"\\.\\/app\\//\"\\/app\\//g' src/html/index.html > public/index.html",
|
||||
"dev:sass": "npm run build:sass; node-sass -w src/sass/app.sass public/app/style.css",
|
||||
"dev:test": "karma start --reporters growl,progress --auto-watch",
|
||||
"dev": "npm-run-all copy:* test:compile -p dev:*",
|
||||
|
|
@ -35,7 +34,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"gh-pages": "^1.2.0",
|
||||
"karma": "^2.0.4",
|
||||
"karma": "^2.0.5",
|
||||
"karma-chrome-launcher": "^2.2.0",
|
||||
"karma-cljs-test": "^0.1.0",
|
||||
"karma-growl-reporter": "^1.0.0",
|
||||
|
|
@ -44,6 +43,6 @@
|
|||
"react-flip-move": "^3.0.1",
|
||||
"react-highlight.js": "^1.0.7",
|
||||
"sass": "^1.3.2",
|
||||
"shadow-cljs": "^2.4.17"
|
||||
"shadow-cljs": "^2.6.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Airsonic</title>
|
||||
<link rel="stylesheet" href="/app/style.css">
|
||||
<link rel="stylesheet" href="./app/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script src="/app/js/main.js"></script>
|
||||
<script src="./app/js/main.js"></script>
|
||||
<script>airsonic_ui.core.init()</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue