postcss-flexbox icon indicating copy to clipboard operation
postcss-flexbox copied to clipboard

Ava has lot of issue, put it as devDependencies

Open YPetremann opened this issue 4 years ago • 2 comments

ava has a lot of issues and is declared as a dependency whereas it is only a devDependencies for testing

put it as a devDependencies

YPetremann avatar Oct 15 '21 11:10 YPetremann

@archana-s please resolve this ^^

gkweb avatar Feb 21 '22 21:02 gkweb

This issue is actually pretty important for anyone using this module. If you look at this project's dependency tree, you'll see that having ava in dependencies instead of devDependencies causes an additional ~460 modules (30MB) to be installed. For comparison, here's the same tree with ava removed (collapsed)..

FWIW, if you're using yarn it looks like you can prevent ava from getting installed by adding the following to package.json:

"resolutions": {
  "ava": ""
}

Also, note that OP has opened a PR for this issue: #9

broofa avatar Apr 04 '24 16:04 broofa