# @types/webpack-shell-plugin

> TypeScript definitions for webpack-shell-plugin

Latest version **0.5.7** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/webpack-shell-plugin
pnpm add @types/webpack-shell-plugin
yarn add @types/webpack-shell-plugin
bun add @types/webpack-shell-plugin
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.5.7 |
| Published | 2023-11-07 |
| First published | 2020-06-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51371 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/webpack-shell-plugin
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-shell-plugin
- npm.io page: https://npm.io/package/@types/webpack-shell-plugin

## Dependencies (3)

- [@types/express](https://npm.io/package/@types/express.md) *
- [@types/webpack](https://npm.io/package/@types/webpack.md) ^4
- [@types/webpack-dev-server](https://npm.io/package/@types/webpack-dev-server.md) 3

## Recent versions

- 0.5.7 (latest) — 2023-11-07
- 0.5.4 (ts3.8) — 2022-01-10
- 0.5.1 (ts3.7) — 2021-03-25
- 0.5.0 (ts3.0) — 2020-06-11
- 0.5.6 — 2023-10-18
- 0.5.5 — 2023-09-25
- 0.5.3 — 2021-07-02
- 0.5.2 — 2021-05-07

## README

# Installation
> `npm install --save @types/webpack-shell-plugin`

# Summary
This package contains type definitions for webpack-shell-plugin (https://github.com/1337programming/webpack-shell-plugin).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-shell-plugin.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-shell-plugin/index.d.ts)
````ts
import { Plugin } from "webpack";

declare class WebpackShellPlugin extends Plugin {
    constructor(options?: WebpackShellPlugin.Options);
}

declare namespace WebpackShellPlugin {
    interface Options {
        /**
         * scripts to execute on the initial build
         * @default []
         */
        onBuildStart?: string[] | undefined;
        /**
         * scripts to execute after files are emitted at the end of the compilation
         * @default []
         */
        onBuildEnd?: string[] | undefined;
        /**
         * scripts to execute after webpack process is complete
         * @default []
         */
        onBuildExit?: string[] | undefined;
        /**
         * Switch for development environments.
         * This causes scripts to execute once.
         * Useful for running HMR on webpack-dev-server or webpack watch mode.
         * @default true
         */
        dev?: boolean | undefined;
        /**
         * Switches script execution process from spawn to exec.
         * If running into problems with spawn, turn this setting on.
         * @default false
         */
        safe?: boolean | undefined;
        /**
         * Enable for verbose output
         * @deprecated
         * @default false
         */
        verbose?: boolean | undefined;
    }
}

export = WebpackShellPlugin;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/webpack](https://npmjs.com/package/@types/webpack), [@types/webpack-dev-server](https://npmjs.com/package/@types/webpack-dev-server)

# Credits
These definitions were written by [Piotr Błażejewicz](https://github.com/peterblazejewicz).

---
_Source: https://npm.io/package/@types/webpack-shell-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
