Skip to content

Commit

Permalink
fix (deps): move to @Hapi package scope & update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Cole committed Jun 28, 2019
1 parent a42eca6 commit 3049700
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const DbErrors = require('db-errors');
const Objection = require('objection');
const Boom = require('boom');
const Boom = require('@hapi/boom');

const internals = {
dbErrorMapping : {
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"lib": "lib"
},
"scripts": {
"test": "lab -f -a code -t 100 -L",
"test-cov-html": "lab -f -L -a code -r html -o coverage.html",
"test": "lab -f -a @hapi/code -t 100 -L",
"test-cov-html": "lab -f -L -a @hapi/code -r html -o coverage.html",
"coveralls": "lab -r lcov | coveralls"
},
"keywords": [
Expand All @@ -28,14 +28,14 @@
],
"license": "MIT",
"dependencies": {
"boom": "7.x.x",
"db-errors": "0.1.x"
"@hapi/boom": "7.x.x",
"db-errors": "0.2.x"
},
"devDependencies": {
"objection": "1.x.x",
"coveralls": "3.x.x",
"code": "5.x.x",
"lab": "^15.x.x"
"@hapi/code": "5.x.x",
"@hapi/lab": "19.x.x"
},
"peerDependencies": {
"objection": "1.x.x"
Expand Down
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const Code = require('code');
const Lab = require('lab');
const Code = require('@hapi/code');
const Lab = require('@hapi/lab');

const lab = exports.lab = Lab.script();
const { describe, it } = lab;
Expand Down

0 comments on commit 3049700

Please sign in to comment.