Skip to content

Commit

Permalink
[npm] install deps "global-style" (#9166)
Browse files Browse the repository at this point in the history
Backports PR #9136

**Commit 1:**
[npm] install deps "global-sytle"

Installing dependencies "global-style" creates a top-level directory in `node_modules` for each direct dependency, and then creates a flat tree of dependencies inside each of those.

I prefer this method because it prevents accidentally depending on a dependency of a dependency, and makes it easier to find dependencies in `node_modules`.

Unfortunately the `node_modules` directory will be a little deeper.

* Original sha: 95103f0
* Authored by Spencer <[email protected]> on 2016-11-18T16:43:54Z
* Committed by GitHub <[email protected]> on 2016-11-18T16:43:54Z
  • Loading branch information
elastic-jasper authored and epixa committed Nov 21, 2016
1 parent 567d636 commit 269ee06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
save-exact=true
global-style=true

0 comments on commit 269ee06

Please sign in to comment.