A solution for get npm package size before download and install with travis-ci!
Note: if you use get-nps with fork first set up get-nps in your travis-ci and enable get-nps.
for make get-nps package and get npm package size in travis, following down methods:
for example get-nps angularJs
- Edit
.travis.yml
(suggested in my repo) and create a pull. - Go to travis link in your pull page.
- See travis logs and get-nps details!
- Edit
.travis.yml
and create #7 Demo for angular/angular.js pull. - Go to partial pull.
- Go first details travic-cl link and see details!
- git size in disk
- source size in disk (remove .git dir)
- source size in disk after npm install
- all deps downloaded (sum tgz)