Comparing version 0.1.0 to 0.2.0
{ | ||
"name": "cli-chords", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "A CLI app to get chords from Songsterr public API.", | ||
"main": "bin/chords", | ||
"main": "build/cli.js", | ||
"files": [ | ||
@@ -12,2 +12,12 @@ "bin", | ||
], | ||
"scripts": { | ||
"build": "tsc", | ||
"dev": "tsc --watch", | ||
"start": "node build/cli.js", | ||
"prepare": "npm run build", | ||
"test": "mocha -r ts-node/register test/**/*.ts" | ||
}, | ||
"engines": { | ||
"node": ">=12" | ||
}, | ||
"author": "Helio Frota", | ||
@@ -19,3 +29,4 @@ "repository": { | ||
"dependencies": { | ||
"roi": "^0.16.1" | ||
"axios": "^0.20.0", | ||
"yargs": "^16.0.3" | ||
}, | ||
@@ -25,4 +36,12 @@ "license": "MIT", | ||
"bin": { | ||
"chords": "./bin/chords" | ||
"chords": "build/cli.js" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^8.0.3", | ||
"@types/node": "^14.11.2", | ||
"@types/yargs": "^15.0.7", | ||
"mocha": "^8.1.3", | ||
"ts-node": "^9.0.0", | ||
"typescript": "^4.0.3" | ||
} | ||
} |
@@ -5,9 +5,10 @@ # cli-chords | ||
### Install | ||
### Install and usage | ||
```console | ||
$ npm install cli-chords -g | ||
$ npm run build | ||
$ node build/cli.js --artist foobar | ||
``` | ||
### Usage | ||
### Previous way usage before migrate to TypeScript: | ||
@@ -14,0 +15,0 @@ ![Alt 1](https://github.com/helio-frota/cli-chords/raw/master/01.png) |
32
19
3289
2
6
4
+ Addedaxios@^0.20.0
+ Addedyargs@^16.0.3
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedaxios@0.20.0(transitive)
+ Addedcliui@7.0.4(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedescalade@3.2.0(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedget-caller-file@2.0.5(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedrequire-directory@2.1.1(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedwrap-ansi@7.0.0(transitive)
+ Addedy18n@5.0.8(transitive)
+ Addedyargs@16.2.0(transitive)
+ Addedyargs-parser@20.2.9(transitive)
- Removedroi@^0.16.1
- Removedroi@0.16.1(transitive)