Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions client/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,7 @@ fi
# Settings page for Cordova/Electron
if [[ "$BUILD_TARGET" == "cordova" ]] || [[ "$BUILD_TARGET" == "electron" ]]; then
bundle src/server-settings.js > $DEST/settings.js
bundle src/websocket.js > $DEST/websocket.js
pug -O '{"bundle":"websocket.js"}' < index.pug > $DEST/websocket.html
pug -O '{"bundle":"settings.js"}' < index.pug > $DEST/settings.html
fi
210 changes: 188 additions & 22 deletions client/npm-shrinkwrap.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"@cycle/storage": "^5.1.2",
"big.js": "^6.1.1",
"bootswatch": "^4.1.3",
"js-sha256":"^0.9.0",
"secp256k1":"^4.0.3",
"form-serialize": "^0.7.2",
"instascan": "github:shesek/instascan#packaged-lib",
"js-yaml": "^4.1.0",
Expand All @@ -29,7 +31,8 @@
"string-argv": "^0.3.1",
"vague-time": "^2.4.2",
"webrtc-adapter": "^8.1.0",
"xstream": "^11.14.0"
"xstream": "^11.14.0",
"@stablelib/chacha20poly1305":"^1.0.1"
},
"browserify": {
"transform": [
Expand Down
2 changes: 1 addition & 1 deletion client/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ run(main, {
})

if (process.env.BUILD_TARGET == 'web' && navigator.serviceWorker)
window.addEventListener('load', _ => navigator.serviceWorker.register('worker.js'))
window.addEventListener('load', _ => navigator.serviceWorker.register('worker.js'))

Loading