Automation for the Theresmore game.
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.
Start by installing dependencies with npm install
.
Bundle everything from src/
into dist/bundle.user.js
:
npm run build
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 for publishing without sourcemapping to dist/release-3.2.1.user.js
npm run build:release
or on Windows
npm run build:release:win32
- Template based on rollup-userscript-template
- Options are imported/exported using LZString