0.2.0 • Published 3 years ago

dominion-log-parser v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Dominion Deck Tracker

CI codecov badge-joke

What

Quick deck tracker for https://dominion.games/. Actively parses the log to determine what is in a given players deck.

Instructions

Prerequisites:

Clone and setup repo:

git clone <url> dominion-tracker
cd dominion-tracker
npm i

Build extension:

npm run dev

Add the extension you have just built to Edge Chromium or Chrome browsers:

In browser:
Settings > Extensions > "Load unpacked"
Choose project dist folder (<repo root>/dist)

Changes are retranspiled under npm run dev. If only UI has changed the browser seems to pick this up automatically. If any typescript or javascript is updated, in edge/chrome, you will have to click reload under the extension in the Extensions page and refresh the browser page. The official docs don't actually say when this is necessarry but I found it is often needed ¯\_(ツ)_\/¯

Run Tests

Oh, barely. But you can run tests with:

npm run test

Create production zip to upload to chrome extension store

npm run package