Skip to content

Commit

Permalink
[npm] install deps "global-sytle" (elastic#9136)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
spalger authored Nov 21, 2016
1 parent 5ef7a52 commit e62c48d
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 e62c48d

Please sign in to comment.