nDmitry / grunt-autoprefixer

Parse CSS and add vendor-prefixed CSS properties using the Can I Use database. Based on Autoprefixer.
MIT License
795 stars 60 forks source link

Feature request: Auto-updating caniuse database #85

Closed crisbeto closed 9 years ago

crisbeto commented 9 years ago

Would it be possible to add an option that downloads the newest prefixes (presumably via npm update caniuse-db) before autoprefixer?

nDmitry commented 9 years ago

As far as I know npm update cannot update dependencies of a dependency without a new version available for the dependency itself. But you can install caniuse-db package as extraneous (npm i caniuse-db && grunt-autoprefixer) and make npm update run before the grunt-autoprefixer somehow (grunt-shell or whatever).