Sen descrición

jherve faa825fbb6 Add esbuild as a dependency, for packaging %!s(int64=2) %!d(string=hai) anos
extension e1922ea18d Allow extension to run on all urls %!s(int64=2) %!d(string=hai) anos
src 3a93aed9df Add main API functions for future library %!s(int64=2) %!d(string=hai) anos
test e5c7ca39dc Use a typeclass to factor "run" operation %!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 3a93aed9df Add main API functions for future library %!s(int64=2) %!d(string=hai) anos
packages.dhall c13a8baeb4 Initial commit %!s(int64=2) %!d(string=hai) anos
spago.dhall 61b064e3e3 Add a "getContext" function %!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