Add setup script to simplify install
This commit is contained in:
parent
6035d26824
commit
71078c95a4
2 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue