Personal project due to the need to calculate the percentage necessary to send each of my transactions via PayPal
- Node.js version >= 12
- yarn || npm
- MacOS, Windows, Linux
Steps below are using yarn, in case you use npm run the commands with npm directly.
- Clone this repository:
git clone https://github.com/x64Bits/paypal-fee-solid
- Install dependencies using yarn inside the newly cloned folder:
yarn install
- Run the app locally:
yarn dev
- Generate static export:
yarn build
The above command generates a file extension.zip in the root of the project which can be loaded into firefox to use as a plugin or generate an extension file for chrome in the dist
folder
- This command will build the bundle again and add the extension files.
- During execution it will ask for which browser you want to generate the extension.
yarn generate
options:
firefox
chrome
opera