rbtech / css-purge

A CSS tool written in Node JS as a command line app or library for the purging, burning, reducing, shortening, compressing, cleaning, trimming and formatting of duplicate, extra, excess or bloated CSS.
http://rbtech.github.io/css-purge
MIT License
125 stars 19 forks source link

fix: Get the current version from package.json #38

Closed tomscholz closed 5 years ago

tomscholz commented 5 years ago

Right now, the version number is hardcoded into the script and it wasn't updated in a while. This pull request makes sure, that the cli always returns the correct version number.

AndrewEQ commented 5 years ago

Oh yeah, I meant to get to that, slipped my mind, thanks @tomscholz! 😸