Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop node 10 etc #12

Merged
merged 8 commits into from Jan 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
node_modules
package-lock.json
.vscode
13 changes: 3 additions & 10 deletions .travis.yml
@@ -1,10 +1,3 @@
language: node_js

node_js:
- "8"
- "10"
- "12"
- "14"
- "node"

after_script: "npm run coveralls"
import:
- hapipal/ci-config-travis:hapi_all.yml@master
- hapipal/ci-config-travis:node_js.yml@master
12 changes: 5 additions & 7 deletions package.json
Expand Up @@ -27,19 +27,17 @@
},
"homepage": "https://github.com/hapipal/hecks#readme",
"dependencies": {
"@hapi/bounce": "1.x.x",
"@hapi/bounce": "2.x.x",
"toys": "2.x.x"
},
"peerDependencies": {
"@hapi/hapi": ">=17 <21",
"@hapi/hapi": ">=19 <21",
"express": ">=3 <5"
},
"devDependencies": {
"@hapi/code": "6.x.x",
"@hapi/hapi": "18.x.x",
"@hapi/hapi-20": "npm:@hapi/hapi@20",
"@hapi/lab": "20.x.x",
"@hapi/somever": "2.x.x",
"@hapi/code": "8.x.x",
"@hapi/hapi": "20.x.x",
"@hapi/lab": "24.x.x",
"body-parser": "1.x.x",
"coveralls": "3.x.x",
"express": "4.x.x"
Expand Down
4 changes: 1 addition & 3 deletions test/index.js
Expand Up @@ -6,12 +6,10 @@ const Stream = require('stream');

const Lab = require('@hapi/lab');
const Code = require('@hapi/code');
const Somever = require('@hapi/somever');
const Express = require('express');
const BodyParser = require('body-parser');
const Hecks = require('..');

const Hapi = Somever.match(process.version, '>=12') ? require('@hapi/hapi-20') : require('@hapi/hapi');
const Hapi = require('@hapi/hapi');

// Test shortcuts

Expand Down