Skip to content

rfruesmer/module-structure-lang-js

Repository files navigation

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:

webpackConfig Use the webpack config to resolve webpack aliases.

Credits

dependency-tree homepage  -  show license

License

MIT

About

JavaScript language provider for module-structure.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published