| @@ -70,11 +70,7 @@ can use the `INIT_CWD` environment variable, which holds the full path you |
|
|
| 70 |
70 |
were in when you ran `npm run`. |
| 71 |
71 |
|
| 72 |
72 |
`npm run` sets the `NODE` environment variable to the `node` executable |
| 73 |
|
-with which `npm` is executed. Also, if the `--scripts-prepend-node-path` is |
| 74 |
|
-passed, the directory within which `node` resides is added to the `PATH`. |
| 75 |
|
-If `--scripts-prepend-node-path=auto` is passed (which has been the default |
| 76 |
|
-in `npm` v3), this is only performed when that `node` executable is not |
| 77 |
|
-found in the `PATH`. |
|
73 |
+with which `npm` is executed. |
| 78 |
74 |
|
| 79 |
75 |
If you try to run a script without having a `node_modules` directory and it |
| 80 |
76 |
fails, you will be given a warning to run `npm install`, just in case you've |
| @@ -138,7 +134,6 @@ npm test -w a -w b |
|
|
| 138 |
134 |
This last command will run `test` in both `./packages/a` and `./packages/b` |
| 139 |
135 |
packages. |
| 140 |
136 |
|
| 141 |
|
- |
| 142 |
137 |
### Configuration |
| 143 |
138 |
|
| 144 |
139 |
|