Add setup script to simplify install

This commit is contained in:
Adam Millerchip 2023-04-15 19:41:03 +09:00
parent 6035d26824
commit 71078c95a4
2 changed files with 3 additions and 3 deletions

View File

@ -22,8 +22,7 @@ TODO example output
From the same directory as this README: From the same directory as this README:
```sh-session ```sh-session
$ npm run build $ npm run setup
$ npm link
``` ```
Now the `kot` command should be available on your system. Now the `kot` command should be available on your system.

View File

@ -52,7 +52,8 @@
"posttest": "npm run lint", "posttest": "npm run lint",
"prepack": "npm run build && oclif manifest && oclif readme", "prepack": "npm run build && oclif manifest && oclif readme",
"test": "mocha --forbid-only \"test/**/*.test.ts\"", "test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif readme && git add README.md" "version": "oclif readme && git add README.md",
"setup": "npm install && npm run build && npm link"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=12.0.0"