Skip to content

Commit ca425da

Browse files
committed
Remove unused deps, import walk name
1 parent b457fa5 commit ca425da

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

__tests__/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22
var http = require('http');
3-
var walk = require('../lib/walk');
3+
import { walk } from '../lib/walk';
44
var concat = require('concat-stream');
55

66
function get(url, callback) {

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"strip-json-comments": "^2.0.0",
4949
"tiny-lr": "^1.0.3",
5050
"unist-builder": "^1.0.0",
51+
"get-port": "^3.1.0",
5152
"unist-util-visit": "^1.0.1",
5253
"vfile": "^2.0.0",
5354
"vfile-reporter": "^3.0.0",
@@ -61,7 +62,6 @@
6162
"babel-cli": "^6.24.1",
6263
"babel-eslint": "^7.2.3",
6364
"babel-jest": "^19.0.0",
64-
"babel-plugin-istanbul": "^4.1.3",
6565
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
6666
"babel-preset-flow": "^6.23.0",
6767
"chdir": "0.0.0",
@@ -72,7 +72,6 @@
7272
"eslint-plugin-flowtype": "^2.32.1",
7373
"flow-bin": "^0.45.0",
7474
"fs-extra": "^3.0.0",
75-
"get-port": "^3.1.0",
7675
"husky": "^0.13.3",
7776
"jest": "^19.0.2",
7877
"json-schema": "0.2.3",
@@ -105,14 +104,16 @@
105104
"doc": "./bin/documentation.js build lib/index.js -f md --access=public > docs/NODE_API.md",
106105
"changelog": "standard-changelog -i CHANGELOG.md -w",
107106
"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"
109109
},
110110
"jest": {
111111
"testPathIgnorePatterns": [
112112
"/node_modules/",
113113
"utils.js",
114114
"fixture"
115-
]
115+
],
116+
"testEnvironment": "node"
116117
},
117118
"config": {
118119
"commitizen": {

0 commit comments

Comments
 (0)