Sen descrición

jherve 736f8583f9 Convert all test code to Spec %!s(int64=2) %!d(string=hai) anos
extension e1922ea18d Allow extension to run on all urls %!s(int64=2) %!d(string=hai) anos
src 4d44cbe0aa Replace extractFromDocumentInContext with forceExtract %!s(int64=2) %!d(string=hai) anos
test 736f8583f9 Convert all test code to Spec %!s(int64=2) %!d(string=hai) anos
.gitignore c13a8baeb4 Initial commit %!s(int64=2) %!d(string=hai) anos
README.md c13a8baeb4 Initial commit %!s(int64=2) %!d(string=hai) anos
package-lock.json faa825fbb6 Add esbuild as a dependency, for packaging %!s(int64=2) %!d(string=hai) anos
package.json e552ec4ba3 Update build command %!s(int64=2) %!d(string=hai) anos
packages.dhall c13a8baeb4 Initial commit %!s(int64=2) %!d(string=hai) anos
spago.dhall 736f8583f9 Convert all test code to Spec %!s(int64=2) %!d(string=hai) anos

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