UNPKG

import-all-index

Version:

Uses dynamic import() to recursively loop through a directory tree, import all index.mjs files and return an array of references to the imported modules

43 lines (42 loc) 1.18 kB
{ "name": "import-all-index", "version": "2.0.3", "type": "module", "description": "Uses dynamic import() to recursively loop through a directory tree, import all index.mjs files and return an array of references to the imported modules", "main": "index.js", "esm": true, "scripts": { "test": "mocha --require esm test.js", "versionbump:fix": "npm version patch --no-git-tag-version", "versionbump:feature": "npm version minor --no-git-tag-version", "versionbump:breakingchanges": "npm version major --no-git-tag-version", "npm-publish": "npm publish" }, "repository": { "type": "git", "url": "git+https://github.com/lorengreenfield/import-all-index.git" }, "keywords": [ "dynamic", "imports", "recursive", "require", "dir", "bulk", "require", "import" ], "author": "Loren Greenfield", "license": "MIT", "bugs": { "url": "https://github.com/lorengreenfield/import-all-index/issues" }, "homepage": "https://github.com/lorengreenfield/import-all-index#readme", "devDependencies": { "esm": "^3.0.14", "mocha": "^5.0.0" }, "peerDependencies": { "esm": "^3.0.14" } }