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

Move ava as devDependencie

Open YPetremann opened this issue 4 years ago • 1 comments

fix #9

YPetremann avatar Oct 15 '21 11:10 YPetremann

The postcss dependency should be moved to peerDependencies as well, and given a suitable semver modifier. Also, the README suggests using autoprefixer, so that should probably get added as an optional peer dependency. I.e. the dependencies should look more like this:

"dependencies": {},
"devDependencies": {
    "ava": "^0.20.0",
},
"peerDependencies": { 
  "postcss": ">5.0.1",
  "autoprefixer": "*"
},
"peerDependenciesMeta": {
  "autoprefixer": {
    "optional": true
  }
}

Note: Given how minimal the unit tests are, I'd suggest just removing the ava dependency altogether and instead use Node's built-in test runner.

... but I wouldn't do any of that until @archana-s indicates she is interested in taking PRs and publishing new versions of this module. (It's unclear if this project is still on her radar.)

broofa avatar Apr 04 '24 15:04 broofa