Socket
Book a DemoInstallSign in
Socket

@mrbuilder/plugin-clean

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mrbuilder/plugin-clean

Cleans up build directories

latest
npmnpm
Version
4.4.7-alpha.9
Version published
Maintainers
3
Created
Source

This provides clean functionality

NOTE This could do terrible things to your filesystem. So please have a backup and use carefullly.

*By default it removes your output directory

Paths

An [array] of string paths to clean

{
paths:[
  'dist',         // removes 'dist' folder
  'build/*.*',    // removes all files in 'build' folder
  'web/*.js'      // removes all JavaScript files in 'web' folder
]
}
PropertyTypeDefaultDescription
pathsarrayoutputPathThe directories to clean
rootstring$CWDThe Root directory
verboseboolfalseBe verbose
allowExternalboolfalseAllow external directory deletion
dryboolfalseDry run
exclude[string]Paths to exclude

FAQs

Package last updated on 25 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts