Skip to content

Commit 40ebecd

Browse files
committed
Upgrade dependencies
1 parent 5abb9f1 commit 40ebecd

7 files changed

+8611
-2134
lines changed

.codeclimate.yml

+32-26
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,36 @@
11
---
2-
engines:
3-
eslint:
4-
enabled: true
5-
channel: "eslint-4"
6-
config:
7-
extensions:
8-
- .js
9-
- .jsx
10-
checks:
11-
import/no-duplicates:
12-
enabled: false
13-
no-template-curly-in-string:
14-
enabled: false
15-
import/no-unresolved:
16-
enabled: false
17-
import/no-extraneous-dependencies:
18-
enabled: false
19-
import/no-named-as-default-member:
20-
enabled: false
21-
stylelint:
22-
enabled: true
23-
ratings:
24-
paths:
25-
- "**.js"
26-
- "**.jsx"
27-
- "**.scss"
2+
version: "2"
3+
checks:
4+
argument-count:
5+
config:
6+
threshold: 4
7+
complex-logic:
8+
config:
9+
threshold: 4
10+
file-lines:
11+
config:
12+
threshold: 500
13+
method-complexity:
14+
config:
15+
threshold: 20
16+
method-count:
17+
config:
18+
threshold: 20
19+
method-lines:
20+
config:
21+
threshold: 50
22+
nested-control-flow:
23+
config:
24+
threshold: 4
25+
return-statements:
26+
config:
27+
threshold: 4
28+
similar-code:
29+
config:
30+
threshold: 100
31+
identical-code:
32+
config:
33+
threshold: 20
2834
exclude_paths:
2935
- coverage/**/*
3036
- docs/**/*

.travis.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- '8'
3+
- '10'
44
cache:
55
directories:
66
- "node_modules"
@@ -10,13 +10,5 @@ before_script:
1010
- ./cc-test-reporter before-build
1111
after_script:
1212
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
13-
deploy:
14-
provider: npm
15-
16-
api_key:
17-
secure: PAkWHSl1+a6YLyyPxScfmRkjsaOPOfP/ugaWKb8yOFwyo8xQQRbYB+WQaYeLLoHHgtVfBvzc/LvSwQdl0ASBJdPLi9rbAwSrkoJ8vMwx3WFc51KGIkNdm00reKxlRa20Hu3PWnEH6jbB3Ag8aAS3mRaYxACplP0BYBE9u5vfJJdqC9KHmbwnMUKolKlB9/hmJ5GFzWD1xFf48pUATOlQnZvi1RkrX5Iarp46Z4a0RkosKNEhcKQw75IniWr4HN10Fo4q7ZZQuRQWM2Ul+InAynfUCTlJeEOiVWEUjvMMQkJQgNGyUI25+SfgDtQ1zY2NVS3IRTXfSDWd6R/LA+vDj9SZ3sn7ZdowdZfJkKOvWcWbtU5PIKOs35vNsMq+McFNT2dL+94wKX+b8qSXf0b/13jAV32hgYdMs0xF8chjp7xZOPGRlkfAgEwn494xOqDZsh2MSVF9CvdXX9ewN4L6Pso417HcQWk7aNcWwlnYMhGQfG9We37vh/Bly899fxh7K6ehdZx2/PksH4Cmw7DS8/rCOXkQJBHNGRsmxE15ZgcN6oFYd3pHzFHEvu3JGwGa3f2ihlLaE6sMpy3QUZaZTNV/lynvSthipkLtoZHmyA9/KGnNPA9zJ1oMYFHhJ2gm5sdcFrDGvySNWbPnbdWP5GXTNgSNRRXfb/sVSmL7x5U=
18-
on:
19-
tags: true
20-
repo: amarofashion/react-credit-cards
2113
addons:
2214
code_climate: true

jest.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module.exports = {
2424
collectCoverageFrom: [
2525
'src/**/*.{js,jsx}',
2626
],
27+
coverageReporters: ['json', 'lcovonly', 'text', 'clover'],
2728
coverageThreshold: {
2829
global: {
2930
branches: 90,

0 commit comments

Comments
 (0)