A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/npm/cli/commit/57aa89ff70e0c6186a43888b944b5799b25c7bc8 below:

use run by default and run-script as the alias (#8265) · npm/cli@57aa89f · GitHub

File tree Expand file treeCollapse file tree 34 files changed

+397

-132

lines changed

Filter options

Expand file treeCollapse file tree 34 files changed

+397

-132

lines changed Original file line number Diff line number Diff line change

@@ -274,7 +274,7 @@ project.

274 274 275 275

### See Also

276 276 277 -

* [npm run-script](/commands/npm-run-script)

277 +

* [npm run](/commands/npm-run)

278 278

* [npm scripts](/using-npm/scripts)

279 279

* [npm test](/commands/npm-test)

280 280

* [npm start](/commands/npm-start)

Original file line number Diff line number Diff line change

@@ -10,7 +10,7 @@ description: Restart a package

10 10 11 11

### Description

12 12 13 -

This restarts a project. It is equivalent to running `npm run-script

13 +

This restarts a project. It is equivalent to running `npm run

14 14

restart`.

15 15 16 16

If the current project has a `"restart"` script specified in

@@ -38,7 +38,7 @@ If it does _not_ have a `"restart"` script specified, but it does have

38 38 39 39

### See Also

40 40 41 -

* [npm run-script](/commands/npm-run-script)

41 +

* [npm run](/commands/npm-run)

42 42

* [npm scripts](/using-npm/scripts)

43 43

* [npm test](/commands/npm-test)

44 44

* [npm start](/commands/npm-start)

Original file line number Diff line number Diff line change

@@ -1,5 +1,5 @@

1 1

---

2 -

title: npm-run-script

2 +

title: npm-run

3 3

section: 1

4 4

description: Run arbitrary package scripts

5 5

---

Original file line number Diff line number Diff line change

@@ -20,7 +20,7 @@ design and purpose of package locks in npm, see

20 20

### See Also

21 21 22 22

* [npm install](/commands/npm-install)

23 -

* [npm run-script](/commands/npm-run-script)

23 +

* [npm run](/commands/npm-run)

24 24

* [npm scripts](/using-npm/scripts)

25 25

* [package.json](/configuring-npm/package-json)

26 26

* [package-lock.json](/configuring-npm/package-lock-json)

Original file line number Diff line number Diff line change

@@ -21,7 +21,7 @@ the file specified in a package's `"main"` attribute when evoking with

21 21

`node .`

22 22 23 23

As of [`npm@2.0.0`](https://blog.npmjs.org/post/98131109725/npm-2-0-0), you can

24 -

use custom arguments when executing scripts. Refer to [`npm run-script`](/commands/npm-run-script) for more details.

24 +

use custom arguments when executing scripts. Refer to [`npm run`](/commands/npm-run) for more details.

25 25 26 26

### Example

27 27

@@ -49,7 +49,7 @@ npm start

49 49 50 50

### See Also

51 51 52 -

* [npm run-script](/commands/npm-run-script)

52 +

* [npm run](/commands/npm-run)

53 53

* [npm scripts](/using-npm/scripts)

54 54

* [npm test](/commands/npm-test)

55 55

* [npm restart](/commands/npm-restart)

Original file line number Diff line number Diff line change

@@ -42,7 +42,7 @@ npm stop

42 42 43 43

### See Also

44 44 45 -

* [npm run-script](/commands/npm-run-script)

45 +

* [npm run](/commands/npm-run)

46 46

* [npm scripts](/using-npm/scripts)

47 47

* [npm test](/commands/npm-test)

48 48

* [npm start](/commands/npm-start)

Original file line number Diff line number Diff line change

@@ -37,7 +37,7 @@ npm test

37 37 38 38

### See Also

39 39 40 -

* [npm run-script](/commands/npm-run-script)

40 +

* [npm run](/commands/npm-run)

41 41

* [npm scripts](/using-npm/scripts)

42 42

* [npm start](/commands/npm-start)

43 43

* [npm restart](/commands/npm-restart)

Original file line number Diff line number Diff line change

@@ -98,7 +98,7 @@ deletes the `build/temp` directory.

98 98

### See Also

99 99 100 100

* [npm init](/commands/npm-init)

101 -

* [npm run-script](/commands/npm-run-script)

101 +

* [npm run](/commands/npm-run)

102 102

* [npm scripts](/using-npm/scripts)

103 103

* [package.json](/configuring-npm/package-json)

104 104

* [config](/using-npm/config)

Original file line number Diff line number Diff line change

@@ -153,7 +153,7 @@ This resulted in some shifts in its functionality:

153 153 154 154

### See Also

155 155 156 -

* [npm run-script](/commands/npm-run-script)

156 +

* [npm run](/commands/npm-run)

157 157

* [npm scripts](/using-npm/scripts)

158 158

* [npm test](/commands/npm-test)

159 159

* [npm start](/commands/npm-start)

Original file line number Diff line number Diff line change

@@ -378,7 +378,7 @@ file in the `bin` field, so it is available to run by `name` or `name.cmd` (on

378 378

Windows PowerShell). When this package is installed as a dependency in another

379 379

package, the file will be linked where it will be available to that package

380 380

either directly by `npm exec` or by name in other scripts when invoking them

381 -

via `npm run-script`.

381 +

via `npm run`.

382 382 383 383 384 384

For example, myapp could have this:

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4