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:
```sh-session
$ npm run build
$ npm link
$ npm run setup
```
Now the `kot` command should be available on your system.

View file

@ -52,7 +52,8 @@
"posttest": "npm run lint",
"prepack": "npm run build && oclif manifest && oclif readme",
"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": {
"node": ">=12.0.0"