From 71078c95a46aae9b7feea2f1f621e7d06f4dd6f3 Mon Sep 17 00:00:00 2001 From: Adam Millerchip Date: Sat, 15 Apr 2023 19:41:03 +0900 Subject: [PATCH] Add setup script to simplify install --- README.md | 3 +-- package.json | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a970aae..3fca578 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/package.json b/package.json index b5ac8ef..a3ff3a2 100644 --- a/package.json +++ b/package.json @@ -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"