Comparing version 0.0.8 to 0.1.0
{ | ||
"name": "barcart", | ||
"version": "0.0.8", | ||
"version": "0.1.0", | ||
"description": "find cocktails based on what you have", | ||
"main": "cli.js", | ||
"main": "index.js", | ||
"scripts": { | ||
@@ -13,5 +13,2 @@ "start": "npm run build:live", | ||
}, | ||
"bin": { | ||
"barcart": "./lib/index.js" | ||
}, | ||
"repository": { | ||
@@ -30,3 +27,2 @@ "type": "git", | ||
"@types/string-similarity": "^4.0.0", | ||
"@types/yargs": "^16.0.0", | ||
"@typescript-eslint/eslint-plugin": "^4.15.2", | ||
@@ -40,6 +36,4 @@ "@typescript-eslint/parser": "^4.15.2", | ||
"dependencies": { | ||
"chalk": "^3.0.0", | ||
"string-similarity": "^4.0.4", | ||
"yargs": "^16.2.0" | ||
"string-similarity": "^4.0.4" | ||
} | ||
} |
@@ -6,25 +6,5 @@ # barcart | ||
## run locally | ||
* `npm install` | ||
* `npm link` | ||
* `npm run build` | ||
* `barcart make manhattan` | ||
* `yarn install` | ||
* `yarn build` | ||
## CLI commands | ||
### Make | ||
* List instructions based on a drink name: `barcart make manhattan` | ||
* List instructions based on a drink name (with amount): `barcart make manhattan -a 2` (this is two drinks) | ||
* List instructions for random drinks: `barcart make -r` | ||
### Find | ||
* List drinks based on glassware: `barcart find -g martini` | ||
* List drinks based on liquor: `barcart find -l rum` | ||
* List drinks based on ingredients: `barcart find -i vodka orange-juice` | ||
#### Notes: | ||
Liquors are normalized, this means that: | ||
* "whisky" and "whiskey" are considerd the same thing when searching | ||
* "white rum", "black rum", etc. are considered the same thing when searching | ||
## Usage | ||
@@ -36,3 +16,3 @@ | ||
```js | ||
import { makeByName, makeByRandom } from 'barcart/lib/make'; | ||
import { makeByName, makeByRandom } from 'barcart/dist'; | ||
@@ -45,3 +25,3 @@ const foo = makeByName('manhattan'); | ||
```js | ||
import { findByGlass, findByLiquor, findByIngredients } from 'barcart/lib/find'; | ||
import { findByGlass, findByLiquor, findByIngredients } from 'barcart/dist'; | ||
@@ -48,0 +28,0 @@ const foo = findByGlass('martini'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
8
62345
17
1617
28
1
- Removedchalk@^3.0.0
- Removedyargs@^16.2.0
- Removedansi-regex@5.0.1(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedchalk@3.0.0(transitive)
- Removedcliui@7.0.4(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedemoji-regex@8.0.0(transitive)
- Removedescalade@3.2.0(transitive)
- Removedget-caller-file@2.0.5(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedis-fullwidth-code-point@3.0.0(transitive)
- Removedrequire-directory@2.1.1(transitive)
- Removedstring-width@4.2.3(transitive)
- Removedstrip-ansi@6.0.1(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedwrap-ansi@7.0.0(transitive)
- Removedy18n@5.0.8(transitive)
- Removedyargs@16.2.0(transitive)
- Removedyargs-parser@20.2.9(transitive)