Skip to content

Commit c5c8082

Browse files
authored
Update README.md
1 parent cec914c commit c5c8082

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,23 @@
22

33
A solution for get npm package size **before** download and install with travis-ci!
44

5-
## How make a get-nps?
5+
## How get npm package size?
66

7-
1. Edit [`.travis.yml`](https://github.com/xtoolkit/get-nps/edit/master/.travis.yml) in my repo and create a pull.
8-
2. Go to travis link in your pull page.
9-
3. Go end line in travis logs and see your npm package installed size!
10-
4. and continue life :)
7+
Note: if you use get-nps with **fork** first set up get-nps in your [travis-ci](https://travis-ci.org/) and enable get-nps.
8+
9+
for make get-nps package and get npm package size in travis, following down methods:
10+
for example get-nps _angularJs_
1111

12-
## Example for angularJs
12+
1. Edit [`.travis.yml`](https://github.com/xtoolkit/get-nps/edit/master/.travis.yml) (suggested in my repo) and create a pull.
13+
2. Go to travis link in your pull page.
14+
3. See travis logs and get-nps details!
1315

14-
[logs](https://travis-ci.org/xtoolkit/get-nps/builds/197955003) for [angularJs](https://github.com/angular/angular.js) test:
16+
## Explain for angularJs demo
1517

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)
18+
1. Edit [`.travis.yml`](https://github.com/xtoolkit/get-nps/pull/7/files#diff-354f30a63fb0907d4ad57269548329e3R9) and create [#7 Demo for angular/angular.js](https://github.com/xtoolkit/get-nps/pull/7) pull.
19+
2. Go to [partial](https://github.com/xtoolkit/get-nps/pull/7#partial-pull-merging) pull.
20+
3. Go first [details travic-cl link](https://travis-ci.org/xtoolkit/get-nps/builds/198417685) and see details!
21+
- [git size in disk](https://travis-ci.org/xtoolkit/get-nps/builds/198417685#L268)
22+
- [source size in disk](https://travis-ci.org/xtoolkit/get-nps/builds/198417685#L272) (remove .git dir)
23+
- [source size in disk after npm install](https://travis-ci.org/xtoolkit/get-nps/builds/198417685#L282)
24+
- [all deps downloaded](https://travis-ci.org/xtoolkit/get-nps/builds/198417685#L290) (sum tgz)

0 commit comments

Comments
 (0)