Revert to commit 6b0d0e1b20567a102037901fe28f7ef46891e623
This commit is contained in:
parent
3472cb944d
commit
54c83c1076
16
build.sh
16
build.sh
@ -26,19 +26,13 @@ fi
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd webui
|
cd webui
|
||||||
|
# echo "Building and installing webui ..."
|
||||||
|
# npm install react-modal react-toastify react-router-dom
|
||||||
|
# npm install
|
||||||
|
# npm run build
|
||||||
echo "Downloading current webui release ..."
|
echo "Downloading current webui release ..."
|
||||||
if [ -f webui.tar.gz ]; then
|
|
||||||
rm -f webui.tar.gz
|
|
||||||
fi
|
|
||||||
wget https://github.com/bondagit/aes67-linux-daemon/releases/latest/download/webui.tar.gz
|
wget https://github.com/bondagit/aes67-linux-daemon/releases/latest/download/webui.tar.gz
|
||||||
if [ ! -f webui.tar.gz ]; then
|
tar -xzvf webui.tar.gz
|
||||||
echo "Building locally and installing webui ..."
|
|
||||||
npm install react-modal react-toastify react-router-dom
|
|
||||||
npm install
|
|
||||||
npm run build
|
|
||||||
else
|
|
||||||
tar -xzvf webui.tar.gz
|
|
||||||
fi
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd daemon
|
cd daemon
|
||||||
|
@ -23,7 +23,6 @@ rm -f demo/sink-test.wav
|
|||||||
|
|
||||||
rm -rf webui/build
|
rm -rf webui/build
|
||||||
rm -rf webui/node_modules
|
rm -rf webui/node_modules
|
||||||
rm -f webui/webui.tar.gz
|
|
||||||
rm -f webui/*.log
|
rm -f webui/*.log
|
||||||
rm -f webui/package-lock.json
|
rm -f webui/package-lock.json
|
||||||
|
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "^17.0.2",
|
"react": "^16.11.0",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^16.11.0",
|
||||||
"react-modal": "^3.13.1",
|
"react-modal": "^3.11.1",
|
||||||
"react-router-dom": "^5.2.0",
|
"react-router-dom": "^5.1.2",
|
||||||
"react-scripts": "4.0.3",
|
"react-scripts": "0.9.5",
|
||||||
"react-toastify": "^7.0.4"
|
"react-toastify": "^5.5.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -16,17 +16,5 @@
|
|||||||
"build": "react-scripts build",
|
"build": "react-scripts build",
|
||||||
"test": "react-scripts test --env=jsdom",
|
"test": "react-scripts test --env=jsdom",
|
||||||
"eject": "react-scripts eject"
|
"eject": "react-scripts eject"
|
||||||
},
|
|
||||||
"browserslist": {
|
|
||||||
"production": [
|
|
||||||
">0.2%",
|
|
||||||
"not dead",
|
|
||||||
"not op_mini all"
|
|
||||||
],
|
|
||||||
"development": [
|
|
||||||
"last 1 chrome version",
|
|
||||||
"last 1 firefox version",
|
|
||||||
"last 1 safari version"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user