[npm] install deps "global-style" (#9166)

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: 95103f0348
* Authored by Spencer <spalger@users.noreply.github.com> on 2016-11-18T16:43:54Z
* Committed by GitHub <noreply@github.com> on 2016-11-18T16:43:54Z
This commit is contained in:
jasper 2016-11-21 16:23:09 -05:00 committed by Court Ewing
parent 567d63630f
commit 269ee06584

1
.npmrc
View file

@ -1 +1,2 @@
save-exact=true
global-style=true