Skip to content

Commit

Permalink
BREAKING: Switch from main to exports
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanZim committed Oct 24, 2022
1 parent c22d445 commit 572a1c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -51,7 +51,7 @@
"read-dir-files": "^0.1.1",
"standard": "^16.0.3"
},
"main": "./lib/index.js",
"exports": "./lib/index.js",
"files": [
"lib/",
"!lib/**/__tests__/"
Expand Down
2 changes: 1 addition & 1 deletion test.js
Expand Up @@ -26,6 +26,6 @@ klaw('./lib').on('readable', function () {
}
}).on('end', () => {
mocha.run(failures => {
require('./').remove(path.join(os.tmpdir(), 'fs-extra'), () => process.exit(failures))
require('./lib').remove(path.join(os.tmpdir(), 'fs-extra'), () => process.exit(failures))
})
})

0 comments on commit 572a1c9

Please sign in to comment.