mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-06 18:33:38 +02:00
Move all source files to src folder
This commit is contained in:
parent
cdf3785f82
commit
47c37e198c
20 changed files with 24 additions and 9 deletions
11
package.json
11
package.json
|
|
@ -6,13 +6,14 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"build:cljs": "shadow-cljs release app",
|
"build:cljs": "shadow-cljs release app",
|
||||||
"build:sass": "node-sass --output-style compressed sass/app.sass public/app/style.css | sed 's/^/sass - /'",
|
"build:html": "sed 's/\"\\/app\\//\".\\/app\\//g' src/html/index.html > public/index.html",
|
||||||
"build": "rm -r public/app/*; run-p build:*; sed -i '' 's/\"\\/app\\//\".\\/app\\//g' public/index.html",
|
"build:sass": "node-sass --output-style compressed src/sass/app.sass public/app/style.css",
|
||||||
|
"build": "rm -r public/*; run-p build:*; ",
|
||||||
"deploy": "npm run build && gh-pages -d public",
|
"deploy": "npm run build && gh-pages -d public",
|
||||||
"dev:cljs": "shadow-cljs watch app",
|
"dev:cljs": "shadow-cljs watch app",
|
||||||
"dev:sass": "{ node-sass sass/app.sass public/app/style.css; node-sass -w sass/app.sass public/app/style.css; } | sed 's/^/sass - /'",
|
"dev:html": "sed 's/\"\\.\\/app\\//\"\\/app\\//g' src/html/index.html > public/index.html",
|
||||||
"dev": "sed -i '' 's/\"\\.\\/app\\//\"\\/app\\//g' public/index.html; run-p dev:*",
|
"dev:sass": "npm run build:sass; node-sass -w src/sass/app.sass public/app/style.css",
|
||||||
"deploy": "npm rum build && gh-pages -d public"
|
"dev": "run-p dev:*"
|
||||||
},
|
},
|
||||||
"author": "Arne Schlüter",
|
"author": "Arne Schlüter",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Airsonic</title>
|
<title>Airsonic</title>
|
||||||
<link rel="stylesheet" href="/app/style.css">
|
<link rel="stylesheet" href="./app/style.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<script src="/app/js/main.js"></script>
|
<script src="./app/js/main.js"></script>
|
||||||
<script>airsonic_ui.core.init()</script>
|
<script>airsonic_ui.core.init()</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
;; shadow-cljs configuration
|
;; shadow-cljs configuration
|
||||||
{:source-paths
|
{:source-paths
|
||||||
["src"]
|
["src/cljs"]
|
||||||
|
|
||||||
:dependencies
|
:dependencies
|
||||||
[[reagent "0.7.0"]
|
[[reagent "0.7.0"]
|
||||||
|
|
|
||||||
14
src/html/index.html
Normal file
14
src/html/index.html
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>Airsonic</title>
|
||||||
|
<link rel="stylesheet" href="/app/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
<script src="/app/js/main.js"></script>
|
||||||
|
<script>airsonic_ui.core.init()</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
@import "../node_modules/bulma/bulma"
|
@import "../../node_modules/bulma/bulma"
|
||||||
|
|
||||||
.progress.is-tiny
|
.progress.is-tiny
|
||||||
height: 0.25rem
|
height: 0.25rem
|
||||||
Loading…
Add table
Add a link
Reference in a new issue