Skip to content

Commit 70fbef9

Browse files
committed
Update deps
1 parent 10b62d1 commit 70fbef9

File tree

4 files changed

+13
-16
lines changed

4 files changed

+13
-16
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
coverage
3+
.nyc_output
34
package-lock.json

.travis.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
language: node_js
22
node_js:
3-
- 8
4-
5-
script:
6-
- npm run ci
3+
- 10

package.json

+9-10
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@
66
"scripts": {
77
"lint": "eslint --ext '.js' test *.js",
88
"watch": "mocha --watch 'test/**/*.js' '*.js' --timeout 500",
9-
"test": "npm run lint && NODE_ENV=test istanbul cover -i '*.js' _mocha -- -u exports -R spec --timeout 3000 'test/**/*.test.js'",
9+
"test": "npm run lint && nyc --reporter=text-summary --reporter=lcov mocha --exit 'test/**/*.test.js'",
1010
"mocha-only-detect": "mocha-only-detector-glob **/*.test.js",
11-
"ci": "npm test --coverage && istanbul report cobertura",
1211
"changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:\" * %s\"",
1312
"release": "npm run ci && release-it -n -i patch",
1413
"release:minor": "npm run ci && release-it -n -i minor",
1514
"release:major": "npm run ci && release-it -n -i major"
1615
},
1716
"engines": {
18-
"node": ">=8.x.x"
17+
"node": ">=10.x.x"
1918
},
2019
"repository": {
2120
"type": "git",
@@ -43,16 +42,16 @@
4342
}
4443
},
4544
"dependencies": {
46-
"ramda": "^0.25.0"
45+
"ramda": "^0.26.1"
4746
},
4847
"devDependencies": {
4948
"@aptoma/eslint-config": "^7.0.1",
50-
"chai": "^4.1.2",
51-
"eslint": "^4.12.1",
52-
"hapi": "^17.1.1",
53-
"istanbul": "^0.4.5",
54-
"mocha": "^4.0.1",
55-
"mocha-only-detector": "^0.1.0",
49+
"@hapi/hapi": "^18.3.1",
50+
"chai": "^4.2.0",
51+
"eslint": "^6.0.1",
52+
"mocha": "^6.1.4",
53+
"mocha-only-detector": "^1.0.1",
54+
"nyc": "^14.1.1",
5655
"release-it": "^2.4.3"
5756
}
5857
}

test/index.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

3-
const Hapi = require('hapi');
4-
const Joi = require('joi');
3+
const Hapi = require('@hapi/hapi');
4+
const Joi = require('@hapi/joi');
55
const assert = require('chai').assert;
66
const jsonapi = require('../');
77
const plugin = jsonapi.plugin;

0 commit comments

Comments
 (0)