anandthakker / doiuse

:bomb: Lint CSS for browser support against caniuse database.
MIT License
1.24k stars 51 forks source link

Updating project for 3.0 #69

Closed ai closed 7 years ago

ai commented 7 years ago

@anandthakker I tried to make changes really small and updated only really necessary things:

  1. I updated .npmignore so npm package will be smaller (I remove tests and development files).
  2. I added new Node.js versions to Travis CI and remove 0.12 (anyway PostCSS 6 doesn’t support it).
  3. I used browserslist.defaults instead of local defined list (the are same).
  4. I used browserslist(manually, { path }) API to load config files in Browserslist.
  5. I replaced caniuse-db to caniuse-lite. caniuse-lite is 1 MB compared to 7 MB of caniuse-db. And Autoprefixer and Browserslist uses only caniuse-lite.
  6. I updated source-map and yargs dependencies.