Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm-merge-driver-install

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-merge-driver-install

A package to install npm-merge-driver locally and automatically.

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

npm-merge-driver-install

Build Status Greenkeeper badge

A package to automatically merge package-lock.json conflicts. Heavily based on npm-merge-driver with automated setup at package install time and a single small dependency for ci checking.

Table of Contents generated with DocToc

Installation

To install run

npm i --save-dev npm-merge-driver-install

then add a prepare script in package.json like the following:

{"prepare": "npm-merge-driver-install"}

I don't want it to install in ci

create a prepare.js file and change your prepare script to the following:

// NOTE: you can use is-ci here or other custom code
const isCI = require('is-ci');
const npmMergeDriverInstall = require('npm-merge-driver-install');

if (!isCi) {
  npmMergeDriverInstall.install();
}

then change the prepare script in package.json to

{"prepare": "node prepare.js"}

Provided binaries

  • npm-merge-driver-install: install npm merge driver
  • npm-merge-driver-uninstall: uninstall npm merge driver
  • npm-merge-driver-merge: the internal merge binary used to merge package.json and package-lock.json
  • npm-merge-driver-is-installed: check if npm-merge-driver-install is installed

FAQs

Package last updated on 10 Feb 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc