make frontend dev/prod ready

This commit is contained in:
voje
2019-03-19 08:11:26 +01:00
parent e5b6f02abd
commit fbe9eb7b0f
11 changed files with 281 additions and 214 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/bash
cp ./config/config_dev.json ./config/config.json
npm install
npm run dev

View File

@@ -0,0 +1,7 @@
#!/bin/bash
cp ./config/config_prod.json ./config/config.json
npm install
npm run build
http-server /src/dist