Skip to content

Commit

Permalink
Merge pull request #1 from privatenumber/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber authored Oct 19, 2021
2 parents 0ca2e18 + e3e3810 commit 6e307a6
Show file tree
Hide file tree
Showing 4 changed files with 1,744 additions and 1,752 deletions.
1 change: 0 additions & 1 deletion index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const fs = require('fs');

const fsExists = async filePath => fs.promises.access(
filePath,
fs.constants.F_OK,
).then(() => true, () => false);

module.exports = fsExists;
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import * as fs from 'fs';

const fsExists = async filePath => fs.promises.access(
filePath,
fs.constants.F_OK,
).then(() => true, () => false);

export default fsExists;
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@
"index.d.ts"
],
"exports": {
"import": "./index.js",
"require": "./index.cjs"
"import": "./index.js",
"require": "./index.cjs"
},
"scripts": {
"build": "tsc",
"lint": "eslint .",
"test": "uvu && tsd"
},
Expand All @@ -36,13 +35,13 @@
}
},
"devDependencies": {
"@pvtnbr/eslint-config-base": "^0.1.11",
"eslint": "^7.21.0",
"@pvtnbr/eslint-config": "^0.4.1",
"eslint": "^7.32.0",
"husky": "^4.3.8",
"tsd": "^0.14.0",
"uvu": "^0.5.1"
"tsd": "^0.18.0",
"uvu": "^0.5.2"
},
"eslintConfig": {
"extends": "@pvtnbr/eslint-config-base"
"extends": "@pvtnbr"
}
}
Loading

0 comments on commit 6e307a6

Please sign in to comment.