Socket
Socket
Sign inDemoInstall

build-ignore

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

build-ignore

A post-checkout hook script that generates a .gitignore based on branch name for when different .gitignores are needed


Version published
Weekly downloads
28
increased by600%
Maintainers
1
Weekly downloads
 
Created
Source

Build-Ignore

A post-checkout hook script that generates a .gitignore based on branch name for when different .gitignores are needed

Install

yarn add build-ignore

Use

In order to use build-ignore you will need to create a gitignores directory with a text file using the name of your branch specific gitignore as well as your regular(master) gitingore.

- ./gitignores
  |_ gitingore_master.txt
  |_ gitingore_specialBranch.txt

From your terminal run ./node_modules/.bin/build-ignore "specialBranch" with the special branch name as the argument.

Keywords

FAQs

Package last updated on 17 Mar 2017

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