mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-06 10:23:39 +02:00
Improve deploy script
This commit is contained in:
parent
8d24c1b42a
commit
cdf3785f82
3 changed files with 695 additions and 687 deletions
|
|
@ -32,3 +32,10 @@ $ npm run build
|
|||
## Build artifacts
|
||||
|
||||
Everything you need to serve the app can be found inside the `public` folder.
|
||||
|
||||
## Deploy to github
|
||||
|
||||
```
|
||||
# will build everything and publish everything in /public via gh-pages
|
||||
$ npm run deploy
|
||||
```
|
||||
|
|
|
|||
1372
package-lock.json
generated
1372
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -8,10 +8,11 @@
|
|||
"build:cljs": "shadow-cljs release app",
|
||||
"build:sass": "node-sass --output-style compressed sass/app.sass public/app/style.css | sed 's/^/sass - /'",
|
||||
"build": "rm -r public/app/*; run-p build:*; sed -i '' 's/\"\\/app\\//\".\\/app\\//g' public/index.html",
|
||||
"deploy": "npm run build && gh-pages -d public",
|
||||
"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": "sed -i '' 's/\"\\.\\/app\\//\"\\/app\\//g' public/index.html; run-p dev:*",
|
||||
"deploy": "gh-pages -d public"
|
||||
"deploy": "npm rum build && gh-pages -d public"
|
||||
},
|
||||
"author": "Arne Schlüter",
|
||||
"license": "ISC",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue