Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 1.36 KB

README.md

File metadata and controls

45 lines (25 loc) · 1.36 KB

Theresmore Automation

Automation for the Theresmore game.

Installation

Install an extension that supports Userscripts, like Violentmonkey or Tampermonkey.

Then simply open https://hh_theresmoregame.github.io/hh_theresmoregame/dist/bundle.user.js to have the script installed.

Development

Start by installing dependencies with npm install.

Bundle

Bundle everything from src/ into dist/bundle.user.js:

npm run build

Development server

npm run serve

This will automatically update dist/bundle.user.js when code changes and serve it on localhost:8124.

It also creates a second userscript dist/dev.user.js, if you install it in Tampermonkey, it will automatically fetch the latest version from http://localhost:8124/bundle.user.js once you reload a website with F5.

Bundle without source map

Bundle for publishing without sourcemapping to dist/release-3.2.1.user.js

npm run build:release

or on Windows

npm run build:release:win32

Other