Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

Commit

Permalink
chore: move to npm scope and github organization
Browse files Browse the repository at this point in the history
  • Loading branch information
MauricioRobayo committed Dec 10, 2018
1 parent 3f831f8 commit 19390f3
Show file tree
Hide file tree
Showing 5 changed files with 215 additions and 173 deletions.
6 changes: 6 additions & 0 deletions .huskyrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
hooks: {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
};
14 changes: 11 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,20 @@ cache:
directories:
- $HOME/.npm
notifications:
email: false
email:
on_failure: always
node_js:
- "8.10"
script:
- npm run lint
- npm test
- npx codecov
after_success:
- npx semantic-release
deploy:
skip_cleanup: true
provider: script
script: npx semantic-release
on:
branch: master
branches:
except:
- /^v\d+\.\d+\.\d+$/
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[![install size](https://packagephobia.now.sh/badge?p=cambio)](https://packagephobia.now.sh/result?p=cambio)
[![npm version](https://badge.fury.io/js/cambio.svg)](https://badge.fury.io/js/cambio)
[![Build Status](https://travis-ci.com/archemiro/cambio.svg?branch=master)](https://travis-ci.com/archemiro/cambio)
[![codecov](https://codecov.io/gh/archemiro/cambio/branch/master/graph/badge.svg)](https://codecov.io/gh/archemiro/cambio)
[![Greenkeeper badge](https://badges.greenkeeper.io/archemiro/cambio.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.com/trmapi/cambio.svg?branch=master)](https://travis-ci.com/trmapi/cambio)
[![codecov](https://codecov.io/gh/trmapi/cambio/branch/master/graph/badge.svg)](https://codecov.io/gh/trmapi/cambio)
[![Greenkeeper badge](https://badges.greenkeeper.io/trmapi/cambio.svg)](https://greenkeeper.io/)

Consulta la Tasa Representativa del Mercado en el servicio web de la Superintendencia Financiera de Colombia.

Expand All @@ -17,15 +17,15 @@ Consulta la Tasa Representativa del Mercado en el servicio web de la Superintend
## Instalación

```shell
npm install cambio
npm install @trmapi/cambio
```

## Uso

Requerir la función `cambio`:

```js
const cambio = require("cambio");
const cambio = require("@trmapi/cambio");
```

La función `cambio` recibe los argumentos `date` y `options`, y devuelve una promesa.
Expand Down
Loading

0 comments on commit 19390f3

Please sign in to comment.