hackmud-script-manager 0.20.2-b7b7724 → 0.20.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/README.md +8 -1
  2. package/bin/hsm.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,7 +1,14 @@
1
1
  # Hackmud Script Manager
2
2
  Command made for [hackmud-environment](https://github.com/samualtnorman/hackmud-environment), which is a scripting environment for hackmud with minification, autocompletes / intellisense, and TypeScript support.
3
3
 
4
- Install with `npm install -g hackmud-script-manager` to make the `hsm` command available everywhere.
4
+ ## Install
5
+ 1. [Install Node.js](https://nodejs.org/en/download)
6
+ 2. Run `npm install -g hackmud-script-manager`
7
+
8
+ ## Usage
9
+ 1. Run `#dir` in game, then `cd` to that folder
10
+ 2. Name your source script file to `<name>.src.js`
11
+ 3. Run `hsm golf <name>.src.js` and it will create a minified script file called `<name>.js`
5
12
 
6
13
  ## Features
7
14
  - Minification
package/bin/hsm.js CHANGED
@@ -12,7 +12,7 @@ import { pull } from "../pull.js"
12
12
  import { syncMacros } from "../syncMacros.js"
13
13
  import "@samual/lib/readDirectoryWithStats"
14
14
  import "@samual/lib/copyFilePersistent"
15
- const version = "0.20.2-b7b7724",
15
+ const version = "0.20.2",
16
16
  options = new Map(),
17
17
  commands = [],
18
18
  userColours = new Cache(user => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hackmud-script-manager",
3
- "version": "0.20.2-b7b7724",
3
+ "version": "0.20.2",
4
4
  "description": "Script manager for game hackmud, with minification, TypeScript support, and player script type definition generation.",
5
5
  "keywords": [
6
6
  "api",