Skip to content

Commit 3c2785b

Browse files
committed
update dependencies and cleanup .travis.yml
1 parent 020a52d commit 3c2785b

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

‎.travis.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ before_install:
1111
- sudo apt-get --yes install python3 php5-curl php5-cli
1212

1313
after_script:
14-
- ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha
15-
- ./node_modules/.bin/codeclimate < coverage/lcov.info
14+
- npm run coverage
15+
- npm run codeclimate

‎package.json‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@
4545
"scripts": {
4646
"test": "standard && mocha --no-timeouts --reporter spec --fgrep 'Request Validation' --invert",
4747
"travis": "standard && mocha --no-timeouts --reporter spec",
48-
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- --fgrep 'Request Validation' --invert",
49-
"prepush": "npm test"
48+
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- --fgrep 'Request Validation' --invert"
5049
},
5150
"standard": {
5251
"ignore": [
@@ -58,7 +57,8 @@
5857
"glob": "^5.0.3",
5958
"istanbul": "^0.3.8",
6059
"mocha": "^2.2.1",
61-
"should": "^5.2.0"
60+
"should": "^5.2.0",
61+
"standard": "^3.2.0"
6262
},
6363
"dependencies": {
6464
"async": "^0.9.0",
@@ -68,7 +68,6 @@
6868
"event-stream": "^3.3.0",
6969
"form-data": "^0.2.0",
7070
"har-validator": "^1.1.2",
71-
"require-directory": "^2.1.0",
72-
"standard": "^3.2.0"
71+
"require-directory": "^2.1.0"
7372
}
7473
}

0 commit comments

Comments
 (0)