Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/samualtnorman/hackmud-script-manager. Script manager for game hackmud, with minification, TypeScrip www.npmjs.com/package/hackmud-script-manager
Something went wrong. Try again.
hackmud-script-manager CONTRIBUTING.md
Contributing Guide #
If you get stuck, message me on discord @samualn.
Requirements #
- Git
- Windows: Make sure you install Git Bash with it
- Clone this repository
- PNPM
- Optional:
direnv
Linux Users #
- Open this cloned repository in a terminal
- Run
pnpm install - Modify your
PATH- If you have
direnv, rundirenv allowif you havn't already - Otherwise run
export PATH=$PWD/node_modules/.bin:$PATH
- If you have
- Run
scripts/package.shto compile everything and build the NPM package indist
Windows Users #
- Open this cloned repository in Git Bash
- Run
pnpm install - Run
export PATH=$PWD/node_modules/.bin:$PATH - Run
scripts/package.shto compile everything and build the NPM package indist
Tips and Tricks #
Run ./rollup.config.js to only recompile.
Run the Development Version of HSM #
You can run the development version of HSM by running node dist/bin/hsm.js. You can pass it arguments just like you normally would e.g. node dist/bin/hsm.js --version.
Install the Development Version of the NPM Package in Another Project #
In the other project (e.g. testing with Hackmud Scripting Environment) run pnpm add ~/path/to/hackmud-script-manager/dist.