File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
var http = require ( 'http' ) ;
3
- var walk = require ( '../lib/walk' ) ;
3
+ import { walk } from '../lib/walk' ;
4
4
var concat = require ( 'concat-stream' ) ;
5
5
6
6
function get ( url , callback ) {
Original file line number Diff line number Diff line change 48
48
"strip-json-comments" : " ^2.0.0" ,
49
49
"tiny-lr" : " ^1.0.3" ,
50
50
"unist-builder" : " ^1.0.0" ,
51
+ "get-port" : " ^3.1.0" ,
51
52
"unist-util-visit" : " ^1.0.1" ,
52
53
"vfile" : " ^2.0.0" ,
53
54
"vfile-reporter" : " ^3.0.0" ,
61
62
"babel-cli" : " ^6.24.1" ,
62
63
"babel-eslint" : " ^7.2.3" ,
63
64
"babel-jest" : " ^19.0.0" ,
64
- "babel-plugin-istanbul" : " ^4.1.3" ,
65
65
"babel-plugin-transform-es2015-modules-commonjs" : " ^6.24.1" ,
66
66
"babel-preset-flow" : " ^6.23.0" ,
67
67
"chdir" : " 0.0.0" ,
72
72
"eslint-plugin-flowtype" : " ^2.32.1" ,
73
73
"flow-bin" : " ^0.45.0" ,
74
74
"fs-extra" : " ^3.0.0" ,
75
- "get-port" : " ^3.1.0" ,
76
75
"husky" : " ^0.13.3" ,
77
76
"jest" : " ^19.0.2" ,
78
77
"json-schema" : " 0.2.3" ,
105
104
"doc" : " ./bin/documentation.js build lib/index.js -f md --access=public > docs/NODE_API.md" ,
106
105
"changelog" : " standard-changelog -i CHANGELOG.md -w" ,
107
106
"self-lint" : " node ./bin/documentation.js lint src" ,
108
- "test" : " npm run build && eslint src && are-we-flow-yet src && flow check && jest --runInBand"
107
+ "test" : " npm run build && eslint src && are-we-flow-yet src && flow check && jest" ,
108
+ "test-ci" : " npm run build && eslint src && are-we-flow-yet src && flow check && jest --runInBand"
109
109
},
110
110
"jest" : {
111
111
"testPathIgnorePatterns" : [
112
112
" /node_modules/" ,
113
113
" utils.js" ,
114
114
" fixture"
115
- ]
115
+ ],
116
+ "testEnvironment" : " node"
116
117
},
117
118
"config" : {
118
119
"commitizen" : {
You can’t perform that action at this time.
0 commit comments