1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 12:49:19 +00:00

Build hassio panel (#1184)

* Fix hass.io panel

* Add develop scripts

* Build hassio on Travis
This commit is contained in:
Paulus Schoutsen
2018-05-16 23:03:48 -04:00
committed by GitHub
parent 8ac08bc802
commit cb0db95abe
37 changed files with 181 additions and 116 deletions

20
script/develop Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/sh
# Run the frontend development server
# Stop on errors
set -e
OUTPUT_DIR=hass_frontend
rm -rf $OUTPUT_DIR
cp -r public $OUTPUT_DIR
./node_modules/.bin/gulp build-translations authorize authorize-es5
# Icons
script/update_mdi.py
# Stub the service worker
touch $OUTPUT_DIR/service_worker.js
./node_modules/.bin/webpack --watch --progress