@dash4/plugin-dependencies
v0.9.3
Published
List of all dependencies and their version
Downloads
37
Readme
Table of Contents
Installation
npm i -D @dash4/plugin-dependencies
Usage
dash4.config.js
const { PluginDependencies } = require('@dash4/plugin-dependencies');
async function getConfig() {
return {
tabs: [
{
title: 'Root',
rows: [
[
new PluginDependencies(),
],
],
},
],
};
}
module.exports = getConfig;
options:
// custom title (default=Dependencies)
title?: string;
// current working directory (default = process.cwd())
cwd?: string;
// grid with per breakpoint
// [12,6,3] means 100% width on small viewports, 50% on medium viewports and 33.3% on largeviewports
width?: number[];
// enable / disable dark mode
dark?: boolean;
// path to lerna.json mode which will collect all dependencies in the project
lerna?: string;
// exlude dependencies by their dependencyName
exclude?: RegExp[];
// define install process
installProcess?: {
// custom title for installation process (default=npm run install)
title?: string;
// current working directory of the child process. (default = process.cwd())
cwd?: string;
// command which should be executed (default = 'npm run install')
cmd?: string;
};
License
The @dash4/plugin-dependencies is MIT licensed