Welcome to mirror list, hosted at ThFree Co, Russian Federation.

npm-test.md « cli-commands « content « docs - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 11900fd2fbf5e165a117aab5ba230248f2817d2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
section: cli-commands 
title: npm-test
description: Test a package
---

# npm-test(1)

## Test a package

### Synopsis

```bash
npm test [-- <args>]

aliases: t, tst
```

### Description

This runs a package's "test" script, if one was provided.

### See Also

* [npm run-script](/cli-commands/run-script)
* [npm scripts](/using-npm/scripts)
* [npm start](/cli-commands/start)
* [npm restart](/cli-commands/restart)
* [npm stop](/cli-commands/stop)