Skip to content

Commit 07cda15

Browse files
committed
2 parents 395de72 + 2889a63 commit 07cda15

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Ignore dependency postinstall scripts
1+
# Ignore dependency post/pre install scripts
22

33
[![License MIT](https://img.shields.io/badge/licence-MIT-blue.svg)](https://github.com/douglasjunior/ignore-dependency-scripts/blob/master/LICENSE)
44
[![npm version](https://img.shields.io/npm/v/ignore-dependency-scripts.svg)](https://www.npmjs.com/package/ignore-dependency-scripts)
5-
[![npm downloads](https://img.shields.io/npm/dt/ignore-dependency-scripts.svg)](#install)
5+
[![npm downloads](https://img.shields.io/npm/dt/ignore-dependency-scripts.svg)](#usage)
66

7-
Script to prevent dependencies to execute postinstall when installed directly from git.
7+
Script to prevent dependencies to execute post/pre install scripts when installed directly from git.
88

99
## Why?
1010

11-
Sometimes when working with private projects, we have the need to reuse some parts of our code in many projects. But, we know that maintain a private `npm registry` is a pain and require a lot of attention.
11+
Sometimes when working with private projects, we have the need to reuse some parts of our code in many projects. But, we know that maintaining a private `npm registry` is a pain and requires a lot of attention.
1212

13-
So, the easiest way, is to install our private repo as a dependency directly from git. But, this come with some caveats like the inability to use `.npmignore` and the **the lack of an option to "prevents pre/post scripts" when installed as a dependency.**
13+
So, the easiest way, is to install our private repo as a dependency directly from git. But, this comes with some caveats like the inability to use `.npmignore` and the **lack of an option to "prevent pre/post scripts" when installed as a dependency.**
1414

1515
Some examples of scripts that we might want to prevent from running when installed as a dependency is:
1616

0 commit comments

Comments
 (0)