Skip to content
Hlídač shopů
JavaScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
extension
lambda
osx
scripts
.editorconfig
.gitignore
.nvmrc
LICENSE.txt
README.md
package-lock.json
package.json

README.md

Hlídač Shopů

Rozšíření do nejrošířenějších prohlížečů, které zobrazuje historická data cen na největších českých e-shopech vč. Reálné slevy.


Extension shows historical prices for biggest czech e-commerce websites.

Development

We are using npm scripts for project automation.

Prerequisites

You will need:

  • Node.js 10
  • Firefox Developer Edition
  • Chrome
  • XCode Command Line Tools

Building extensions

All extensions (except Safari version) will be build to ./dist folder by calling the npm build script.

Firefox supports Dark and Light themes for action icons and we are optimising action icons for these. Chrome doesn't support action icons theming via manifest.json so we use background.js script to add support for themes programmatically. We are removing background.js script and it's entry in manifest in build step with other unnecessary files.

Firefox extension

To build Firefox extension run npm run build:firefox. It will create extension-dist folder for development time and packaged extension in /dist folder.

Chrome extension

To build Chrome extension run npm run build:chrome. It will create package in ./dist folder.

Safari extension

  1. Run npm run bundle:osx to get latest bundle script, domains (eshops) permissions and current version for Safari
  2. Distribute app by Xcodes: npm run open:osx > Product > Archive > Distribute App*
  3. Manually send new app version to Review on Itunes Connect - you will need to be logged in as TopMonks developer

* Use autosigning feature and use the TopMonks s.r.o Apple developer team account. If this fails with missing private key, download one named "itunes Mac App Distribution mac_app.cer" from Topmonks 1Password.


© 2018-2019 TopMonks s.r.o.; Licensed under EPL-2.0

You can’t perform that action at this time.