File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
A solution for get npm package size ** before** download and install with travis-ci!
4
4
5
- ## How get size ?
5
+ ## How make a get-nps ?
6
6
7
7
1 . Edit [ ` .travis.yml ` ] ( https://github.com/xtoolkit/get-nps/edit/master/.travis.yml ) in my repo and create a pull.
8
8
2 . Go to travis link in your pull page.
9
9
3 . Go end line in travis logs and see your npm package installed size!
10
10
4 . and continue life :)
11
11
12
- logs for [ angularJs] ( https://travis-ci.org/xtoolkit/get-nps/builds/197955003 ) test.
12
+ ## Example for angularJs
13
+
14
+ [ logs] ( https://travis-ci.org/xtoolkit/get-nps/builds/197955003 ) for [ angularJs] ( https://github.com/angular/angular.js ) test:
15
+
16
+ 1 . [ git clone size] ( https://travis-ci.org/xtoolkit/get-nps/builds/197955003#L278 )
17
+ 2 . [ node_modules dir size] ( https://travis-ci.org/xtoolkit/get-nps/builds/197955003#L1728 )
18
+ 3 . [ Sub npm package size] ( https://travis-ci.org/xtoolkit/get-nps/builds/197955003#L1737 )
You can’t perform that action at this time.
0 commit comments