Geen omschrijving

jherve 5ececcef9b [fix] Handle race condition on storage initialization 1 jaar geleden
assets 8c1d765ebc Add the icon 1 jaar geleden
native 5ececcef9b [fix] Handle race condition on storage initialization 1 jaar geleden
src 5ececcef9b [fix] Handle race condition on storage initialization 1 jaar geleden
test 1f0b225265 Support some new URLs 1 jaar geleden
.gitignore 95954dfd17 Retrieve native application Python code 1 jaar geleden
README.md 95954dfd17 Retrieve native application Python code 1 jaar geleden
make_prod.patch ffea339ba4 Avoid passing port argument twice in handler init 1 jaar geleden
make_prod.sh 0a7e89ea67 Add a script to turn the repo to "production" mode 1 jaar geleden
manifest.json 944afb3003 Fix basename for extension 1 jaar geleden
package-lock.json 913b3204a3 Use @parcel/config-webextension for build 1 jaar geleden
package.json 913b3204a3 Use @parcel/config-webextension for build 1 jaar geleden
packages.dhall c13a8baeb4 Initial commit 1 jaar geleden
spago.dhall 9d16f844eb Remove useless dep 1 jaar geleden

README.md

Exemple of Firefox extension with PureScript

Basically just a stripped out version of : https://github.com/Kazy/PureTabs

Tests can be run with spago test [TODO : for some reason setting npm "test" script to this value won't work]

Javascript source maps won't work out-of-the-box if JS source files are in e.g. extension/src instead of extension. This can surely be solved using this issue : https://github.com/parcel-bundler/parcel/issues/3750

Native backend

The backend requires pdm for installation.

It can be installed with native/install.sh.

Tests can be run with (cd native && pdm run pytest).