| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3cba8ac commit 581e6de
413 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,11 +1,16 @@ | |||
| 1 | 1 | language: node_js | |
| 2 | 2 | node_js: | |
| 3 | - - "6" | ||
| 3 | + # LTS is our most important target | ||
| 4 | 4 | - "4" | |
| 5 | + # next LTS and master is next most important | ||
| 6 | + - "6" | ||
| 7 | + # still in LTS maintenance until fall 2016 | ||
| 8 | + # (also still in wide use) | ||
| 9 | + - "0.10" | ||
| 10 | + # will be unsupported as soon as 6 becomes LTS and 7 released | ||
| 5 | 11 | - "5" | |
| 12 | + # technically in LTS / distros, unbeloved | ||
| 6 | 13 | - "0.12" | |
| 7 | - - "0.10" | ||
| 8 | - - "0.8" | ||
| 9 | 14 | env: | |
| 10 | 15 | - DEPLOY_VERSION=testing | |
| 11 | 16 | before_install: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -402,3 +402,7 @@ Gianluca Casati <fibo@users.noreply.github.com> | |||
| 402 | 402 | André Herculano <andresilveirah@gmail.com> | |
| 403 | 403 | Wyatt Preul <wpreul@gmail.com> | |
| 404 | 404 | Myles Borins <mborins@us.ibm.com> | |
| 405 | + Elliot Lee <github.public@intelliot.com> | ||
| 406 | + Dmitry Kirilyuk <gk.joker@gmail.com> | ||
| 407 | + Aaron Tribou <aaron.tribou@gmail.com> | ||
| 408 | + Tapani Moilanen <moilanen.tapani@gmail.com> | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,13 +2,15 @@ environment: | |||
| 2 | 2 | matrix: | |
| 3 | 3 | # LTS is our most important target | |
| 4 | 4 | - nodejs_version: "4" | |
| 5 | - # latest | ||
| 6 | - - nodejs_version: "5" | ||
| 7 | - # I like 0.10 better than 0.12 | ||
| 5 | + # next LTS and master is next most important | ||
| 6 | + - nodejs_version: "6" | ||
| 7 | + # still in LTS maintenance until fall 2016 | ||
| 8 | + # (also still in wide use) | ||
| 8 | 9 | - nodejs_version: "0.10" | |
| 10 | + # will be unsupported as soon as 6 becomes LTS and 7 released | ||
| 11 | + - nodejs_version: "5" | ||
| 12 | + # technically in LTS / distros, unbeloved | ||
| 9 | 13 | - nodejs_version: "0.12" | |
| 10 | - # EOL summer 2016, most likely | ||
| 11 | - - nodejs_version: "0.8" | ||
| 12 | 14 | COVERALLS_REPO_TOKEN: | |
| 13 | 15 | secure: XdC0aySefK0HLh1GNk6aKrzZPbCfPQLyA4mYtFGEp4DrTuZA/iuCUS0LDqFYO8JQ | |
| 14 | 16 | platform: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -109,6 +109,14 @@ resolution using "version" if one isn't. | |||
| 109 | 109 | ||
| 110 | 110 | 2. The tree is walked and any missing dependencies are installed in the usual fashion. | |
| 111 | 111 | ||
| 112 | + If `preshrinkwrap`, `shrinkwrap` or `postshrinkwrap` are in the `scripts` property of the | ||
| 113 | + `package.json`, they will be executed by running `npm shrinkwrap`. | ||
| 114 | + `preshrinkwrap` and `shrinkwrap` are executed before the shrinkwrap, `postshrinkwrap` is | ||
| 115 | + executed afterwards. For example to run some postprocessing on the generated file: | ||
| 116 | + | ||
| 117 | + "scripts": { "postshrinkwrap": "node fix-shrinkwrap.js" } | ||
| 118 | + | ||
| 119 | + | ||
| 112 | 120 | ### Using shrinkwrapped packages | |
| 113 | 121 | ||
| 114 | 122 | Using a shrinkwrapped package is no different than using any other | |
@@ -174,5 +182,7 @@ contents rather than versions. | |||
| 174 | 182 | ## SEE ALSO | |
| 175 | 183 | ||
| 176 | 184 | * npm-install(1) | |
| 185 | + * npm-run-script(1) | ||
| 186 | + * npm-scripts(7) | ||
| 177 | 187 | * package.json(5) | |
| 178 | 188 | * npm-ls(1) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -202,6 +202,7 @@ Conversely, some files are always ignored: | |||
| 202 | 202 | * `npm-debug.log` | |
| 203 | 203 | * `.npmrc` | |
| 204 | 204 | * `node_modules` | |
| 205 | + * `config.gypi` | ||
| 205 | 206 | ||
| 206 | 207 | ## main | |
| 207 | 208 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -676,7 +676,7 @@ Set to true to run in "production" mode. | |||
| 676 | 676 | ||
| 677 | 677 | ### progress | |
| 678 | 678 | ||
| 679 | - * Default: true | ||
| 679 | + * Default: true, unless TRAVIS or CI env vars set. | ||
| 680 | 680 | * Type: Boolean | |
| 681 | 681 | ||
| 682 | 682 | When set to `true`, npm will display a progress bar during time intensive | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,11 +32,14 @@ following scripts: | |||
| 32 | 32 | * prerestart, restart, postrestart: | |
| 33 | 33 | Run by the `npm restart` command. Note: `npm restart` will run the | |
| 34 | 34 | stop and start scripts if no `restart` script is provided. | |
| 35 | + * preshrinkwrap, shrinkwrap, postshrinkwrap: | ||
| 36 | + Run by the `npm shrinkwrap` command. | ||
| 35 | 37 | ||
| 36 | 38 | Additionally, arbitrary scripts can be executed by running `npm | |
| 37 | 39 | run-script <stage>`. *Pre* and *post* commands with matching | |
| 38 | 40 | names will be run for those as well (e.g. `premyscript`, `myscript`, | |
| 39 | - `postmyscript`). | ||
| 41 | + `postmyscript`). Scripts from dependencies can be run with `npm explore | ||
| 42 | + <pkg> -- npm run <stage>`. | ||
| 40 | 43 | ||
| 41 | 44 | ## COMMON USES | |
| 42 | 45 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -126,5 +126,5 @@ <h2 id="see-also">SEE ALSO</h2> | |||
| 126 | 126 | <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> | |
| 127 | 127 | <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> | |
| 128 | 128 | </table> | |
| 129 | - <p id="footer"><a href="../doc/README.html">README</a> — npm@3.9.5</p> | ||
| 129 | + <p id="footer"><a href="../doc/README.html">README</a> — npm@3.10.2</p> | ||
| 130 | 130 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -84,5 +84,5 @@ <h2 id="see-also">SEE ALSO</h2> | |||
| 84 | 84 | <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> | |
| 85 | 85 | <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> | |
| 86 | 86 | </table> | |
| 87 | - <p id="footer">npm-access — npm@3.9.5</p> | ||
| 87 | + <p id="footer">npm-access — npm@3.10.2</p> | ||
| 88 | 88 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments