module-structure-lang-js

JavaScript language provider for module-structure.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
module-structure-lang-js
1.1.24 years ago7 years agoMinified + gzip package size for module-structure-lang-js in KB

Readme

module-structure-lang-js
npm Version Build Status Coverage Status
JavaScript language provider for module-structure.
See module-structure for full documentation.

Installation

This extension is optional and not bundled with module-structure, therefore requires separate installation. Local and global installation is supported.
After installation of this extension, it is automatically detected by module-structure and used for analyzing JavaScript dependencies.
Example:
$ npm i -g module-structure
$ npm i -g module-structure-lang-js

Config

To set custom settings, create a .module-structure.js in your root folder, like .eslintrc.js or babel.config.js. Add the config parameter under the key "module-structure-lang-js"
Example:

module.exports = {
 'module-structure-lang-js': {
webpackConfig: "path/to/your/project/webpack/config.js"
} };

Config parameter:
<tr>
    <td>webpackConfig</td>
    <td align="right">
        Use the webpack config to resolve webpack aliases.
    </td>
</tr>

Credits

<tr>
    <td>dependency-tree</td>
    <td align="right">
        <a href="https://www.npmjs.com/package/dependency-tree/">homepage</a>
         -   
        <a href="http://spdx.org/licenses/MIT">show license</a>
    </td>
</tr>

License

MIT