Commit 70fbef9 1 parent 10b62d1 commit 70fbef9 Copy full SHA for 70fbef9
File tree 4 files changed +13
-16
lines changed
4 files changed +13
-16
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
2
coverage
3
+ .nyc_output
3
4
package-lock.json
Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
- - 8
4
-
5
- script :
6
- - npm run ci
3
+ - 10
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"lint" : " eslint --ext '.js' test *.js" ,
8
8
"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'" ,
10
10
"mocha-only-detect" : " mocha-only-detector-glob **/*.test.js" ,
11
- "ci" : " npm test --coverage && istanbul report cobertura" ,
12
11
"changelog" : " git log `git describe --tags --abbrev=0`..HEAD --pretty=format:\" * %s\" " ,
13
12
"release" : " npm run ci && release-it -n -i patch" ,
14
13
"release:minor" : " npm run ci && release-it -n -i minor" ,
15
14
"release:major" : " npm run ci && release-it -n -i major"
16
15
},
17
16
"engines" : {
18
- "node" : " >=8 .x.x"
17
+ "node" : " >=10 .x.x"
19
18
},
20
19
"repository" : {
21
20
"type" : " git" ,
43
42
}
44
43
},
45
44
"dependencies" : {
46
- "ramda" : " ^0.25.0 "
45
+ "ramda" : " ^0.26.1 "
47
46
},
48
47
"devDependencies" : {
49
48
"@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 " ,
56
55
"release-it" : " ^2.4.3"
57
56
}
58
57
}
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- const Hapi = require ( 'hapi' ) ;
4
- const Joi = require ( 'joi' ) ;
3
+ const Hapi = require ( '@hapi/ hapi' ) ;
4
+ const Joi = require ( '@hapi/ joi' ) ;
5
5
const assert = require ( 'chai' ) . assert ;
6
6
const jsonapi = require ( '../' ) ;
7
7
const plugin = jsonapi . plugin ;
You can’t perform that action at this time.
0 commit comments