New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@bndynet/version-auto-update-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bndynet/version-auto-update-webpack-plugin

Webpack plugin for increasing version in package.json automatically

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
12
1100%
Maintainers
1
Weekly downloads
 
Created
Source

version-auto-update-webpack-plugin

A webpack plugin to increase version number in package.json automatically.

Installation

npm i @bndynet/version-auto-update-webpack-plugin --save-dev

Usage

const VersionAutoUpdateWebpackPlugin = require('@bndynet/version-auto-update-webpack-plugin');

// webpack config
{
  plugins: [
    new VersionAutoUpdateWebpackPlugin()
  ]
}

Example (webpack.config.js):

const VersionAutoUpdateWebpackPlugin = require('@bndynet/version-auto-update-webpack-plugin');

module.exports = {
    // ...
    plugins: [
        new VersionAutoUpdateWebpackPlugin({
            versionType: 'major|minor|patch',   // or specified by argument like `webpack --vau.versionType minor` in your package.json
        })
    ],
}

Keywords

webpack plugin

FAQs

Package last updated on 11 Dec 2018

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