Minor
-
Updated the package
exports
field:-
Deep imports to specific files are now allowed, e.g.
import extractFiles from 'extract-files/lib/extractFiles.js';
const extractFiles = require('extract-files/lib/extractFiles');
-
The
package.json
can now be required, e.g.const pkg = require('extract-files/package.json');
// With Node.js --experimental-json-modules flag. import pkg from 'extract-files/package.json';
-
Patch
- Updated dev dependencies.
- Updated the package
engines.node
field to10 - 12 || >= 13.7
to reflect the packageexports
related breaking changes inextract-files@8.0.0
. - Improved the package
prepare:prettier
andtest:prettier
scripts. - Reordered the package
test:eslint
script args for consistency withtest:prettier
. - Configured Prettier option
semi
to the default,true
. - Restructured the
src
directory solib
andtest
files are separate with their own.babelrc.js
files.