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

Improve deploy script

This commit is contained in:
Arne Schlüter 2018-05-28 12:33:55 +02:00
commit cdf3785f82
3 changed files with 695 additions and 687 deletions

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -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",