diff --git a/.travis.yml b/.travis.yml index 02fc6a7..42aa5f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,10 @@ language: node_js +before_install: +# package-lock.json was introduced in npm@5 +- '[[ $(node -v) =~ ^v9.*$ ]] || npm install -g npm@latest' # skipped when using node 9 +- npm install -g greenkeeper-lockfile@1 +before_script: greenkeeper-lockfile-update +after_script: greenkeeper-lockfile-upload jobs: include: - script: npm test diff --git a/README.md b/README.md index 7688cad..3094749 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # moment-locales-webpack-plugin -[![npm](https://img.shields.io/npm/v/moment-locales-webpack-plugin.svg)](https://www.npmjs.com/package/moment-locales-webpack-plugin) [![Travis](https://img.shields.io/travis/iamakulov/moment-locales-webpack-plugin.svg)](https://travis-ci.org/iamakulov/moment-locales-webpack-plugin) +[![npm](https://img.shields.io/npm/v/moment-locales-webpack-plugin.svg)](https://www.npmjs.com/package/moment-locales-webpack-plugin) [![Travis](https://img.shields.io/travis/iamakulov/moment-locales-webpack-plugin.svg)](https://travis-ci.org/iamakulov/moment-locales-webpack-plugin) [![Greenkeeper badge](https://badges.greenkeeper.io/iamakulov/moment-locales-webpack-plugin.svg)](https://greenkeeper.io/) > Easily remove unused Moment.js locales when building with webpack