Skip to content

Commit

Permalink
feat: update scrapping method
Browse files Browse the repository at this point in the history
- Update scrapping method
- Update dependencies
- Update min node to v12
- Export type definitions

BREAKING CHANGE: Set min node version to v12
  • Loading branch information
lgaticaq committed Nov 25, 2019
1 parent 6e993e9 commit b248489
Show file tree
Hide file tree
Showing 12 changed files with 482 additions and 324 deletions.
11 changes: 4 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,26 @@ cache:
- ~/.npm
- .nyc_output
node_js:
- "12.4.0"
- "12.13.1"
notifications:
email: false
stages:
- lint
- test
- coverage
- name: deploy
if: branch = master
jobs:
include:
- stage: lint
- stage: test
name: eslint
script: npx eslint .
- stage: lint
- stage: test
name: commitlint
before_script:
- npm i -g @commitlint/travis-cli
script: commitlint-travis
- stage: test
node_js:
- "10"
- "8"
name: test
script: npm t
- stage: coverage
before_script:
Expand Down
9 changes: 9 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"recommendations": [
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint",
"drknoxy.eslint-disable-snippets",
"wix.vscode-import-cost",
"esbenp.prettier-vscode"
]
}
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"[javascript]": {
"editor.formatOnSave": false
},
"javascript.validate.enable": true,
"javascript.implicitProjectConfig.checkJs": true,
"eslint.alwaysShowStatus": true,
"eslint.autoFixOnSave": true,
"debug.node.autoAttach": "on"
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

[![npm version](https://img.shields.io/npm/v/codigo-postal.svg)](https://www.npmjs.com/package/codigo-postal)
[![npm downloads](https://img.shields.io/npm/dm/codigo-postal.svg)](https://www.npmjs.com/package/codigo-postal)
[![Build Status](https://img.shields.io/travis/lgaticaq/codigo-postal.svg)](https://travis-ci.org/lgaticaq/codigo-postal)
[![Coverage Status](https://img.shields.io/coveralls/lgaticaq/codigo-postal/master.svg)](https://coveralls.io/github/lgaticaq/codigo-postal?branch=master)
[![Build Status](https://travis-ci.org/lgaticaq/codigo-postal.svg?branch=master)](https://travis-ci.org/lgaticaq/codigo-postal)
[![Coverage Status](https://coveralls.io/repos/github/lgaticaq/codigo-postal/badge.svg?branch=master)](https://coveralls.io/github/lgaticaq/codigo-postal?branch=master)
[![Maintainability](https://api.codeclimate.com/v1/badges/6d54d170f29dfb6ee7a2/maintainability)](https://codeclimate.com/github/lgaticaq/codigo-postal/maintainability)
[![dependency Status](https://img.shields.io/david/lgaticaq/codigo-postal.svg)](https://david-dm.org/lgaticaq/codigo-postal#info=dependencies)
[![devDependency Status](https://img.shields.io/david/dev/lgaticaq/codigo-postal.svg)](https://david-dm.org/lgaticaq/codigo-postal#info=devDependencies)
Expand Down

0 comments on commit b248489

Please sign in to comment.