Skip to content

Commit

Permalink
Remove graceful-fs
Browse files Browse the repository at this point in the history
  • Loading branch information
David Clark committed Dec 4, 2016
1 parent 141c4ad commit de81cf6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/createExplorer.js
@@ -1,7 +1,7 @@
'use strict';

var path = require('path');
var fs = require('graceful-fs');
var fs = require('fs');
var loadPackageProp = require('./loadPackageProp');
var loadRc = require('./loadRc');
var loadJs = require('./loadJs');
Expand Down
2 changes: 1 addition & 1 deletion lib/readFile.js
@@ -1,6 +1,6 @@
'use strict';

var fs = require('graceful-fs');
var fs = require('fs');

module.exports = function (filepath, options) {
options = options || {};
Expand Down
4 changes: 1 addition & 3 deletions package.json
Expand Up @@ -11,8 +11,7 @@
"lint": "node-version-gte-4 && eslint . || echo \"ESLint not supported\"",
"ava": "ava test/*.test.js",
"coverage": "nyc npm run ava && nyc report --reporter=html && open coverage/index.html",
"test": "npm run ava && npm run lint",
"prepublish": "npm test"
"test": "npm run ava && npm run lint"
},
"repository": {
"type": "git",
Expand All @@ -33,7 +32,6 @@
},
"homepage": "https://github.com/davidtheclark/cosmiconfig#readme",
"dependencies": {
"graceful-fs": "^4.1.2",
"js-yaml": "^3.4.3",
"minimist": "^1.2.0",
"object-assign": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion test/caches.test.js
Expand Up @@ -3,7 +3,7 @@
var test = require('ava');
var sinon = require('sinon');
var path = require('path');
var fs = require('graceful-fs');
var fs = require('fs');
var cosmiconfig = require('..');
var assertSearchSequence = require('./assertSearchSequence');

Expand Down
2 changes: 1 addition & 1 deletion test/failed-directories.test.js
Expand Up @@ -3,7 +3,7 @@
var test = require('ava');
var sinon = require('sinon');
var path = require('path');
var fs = require('graceful-fs');
var fs = require('fs');
var _ = require('lodash');
var cosmiconfig = require('..');

Expand Down
2 changes: 1 addition & 1 deletion test/successful-directories.test.js
Expand Up @@ -3,7 +3,7 @@
var test = require('ava');
var sinon = require('sinon');
var path = require('path');
var fs = require('graceful-fs');
var fs = require('fs');
var cosmiconfig = require('..');
var assertSearchSequence = require('./assertSearchSequence');

Expand Down

0 comments on commit de81cf6

Please sign in to comment.