Skip to content

Commit

Permalink
add: pnpm scripts for currently existing scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitsunee committed Sep 23, 2024
1 parent 7285c62 commit 68fe1f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ All scripts have their own built-in help text accessible with `-h` or `--help`
### Monster Search

```
pnpm tsx src/search-monster.ts
pnpm search-monster
```

This script can be used to find Monsters by name. The script has flags to display or hide the id, level and rank in the result. see `--help` for more information.

### EXP Compare

```
pnpm tsx src/exp-compare.ts
pnpm exp-compare
```

Compare the exp efficiency of a specified selection of monster for a given level range. Monsters are searched for with the same search method as Monster Search, but limited to Small, Normal and Captain overworld monsters.

### EXP Calculator (WIP)

```
pnpm tsx src/exp-calc.ts
pnpm exp-calc
```

This script can be configured with a level range and filter function to determine the mobs for exp comparisons (similar to Exp Compare)
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
"lint": "eslint .",
"lint:strict": "eslint --max-warnings 0 .",
"typecheck": "tsc",
"prepare-cache": "tsx src/prepare-cache.ts"
"prepare-cache": "tsx src/prepare-cache.ts",
"search-monster": "tsx src/search-monster.ts",
"exp-compare": "tsx src/exp-compare.ts",
"exp-calc": "tsx src/exp-calc.ts"
},
"nano-staged": {
"**/*.{js,cjs,mjs,ts,mts,cts,json,md,yaml}": [
Expand Down

0 comments on commit 68fe1f5

Please sign in to comment.