Comparing version 0.1.11 to 0.1.12
@@ -36,4 +36,4 @@ #!/usr/bin/env node | ||
inquirer.prompt(questions, (answers) => { | ||
inquirer.prompt(questions, (answers) => ( | ||
console.log('Nova linha digitável:', boleto(answers)) | ||
}) | ||
)) |
@@ -23,3 +23,2 @@ ;(function (root, factory) { | ||
function lessThan14ZerosAtTheEnd (number) { | ||
console.log(number.match(/\d{14}$/)) | ||
return !number.match(/\d{14}$/) | ||
@@ -29,3 +28,2 @@ } | ||
function hasLength47Digits (number) { | ||
console.log(number.length) | ||
return number.length === 47 | ||
@@ -32,0 +30,0 @@ } |
{ | ||
"name": "boleto", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "Gera uma nova Linha Digitável, adicionando data de vencimento e valor.", | ||
@@ -8,3 +8,4 @@ "main": "index.js", | ||
"lint": "standard --verbose | snazzy", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \":)\"", | ||
"postversion": "git push origin dev && git checkout master && git merge dev && git push origin master --tags && npm publish && git checkout dev" | ||
}, | ||
@@ -24,3 +25,6 @@ "repository": { | ||
"homepage": "https://github.com/fdaciuk/boleto#readme", | ||
"bin": "index.js", | ||
"bin": { | ||
"boleto": "index.js" | ||
}, | ||
"preferGlobal": true, | ||
"dependencies": { | ||
@@ -27,0 +31,0 @@ "inquirer": "^0.12.0" |
@@ -14,3 +14,3 @@ # boleto | ||
```console | ||
[sudo] npm i -g boleto | ||
[sudo] npm install -g boleto | ||
``` | ||
@@ -26,4 +26,8 @@ | ||
## Bancos testados | ||
- Santander | ||
## Licença | ||
[MIT License](https://github.com/fdaciuk/licenses/blob/master/MIT-LICENSE.md) © Fernando Daciuk |
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
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
5499
1
32
98