main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[79a0317] | 1 | # webpack-cli info
|
---|
| 2 |
|
---|
| 3 | [![NPM Downloads][downloads]][downloads-url]
|
---|
| 4 |
|
---|
| 5 | > **Note**
|
---|
| 6 | >
|
---|
| 7 | > This package is used by webpack-cli under-the-hood and is not intended for installation
|
---|
| 8 |
|
---|
| 9 | ## Description
|
---|
| 10 |
|
---|
| 11 | This package returns a set of information related to the local environment.
|
---|
| 12 |
|
---|
| 13 | ## Installation
|
---|
| 14 |
|
---|
| 15 | ```bash
|
---|
| 16 | #npm
|
---|
| 17 | npm i -D @webpack-cli/info
|
---|
| 18 |
|
---|
| 19 | #yarn
|
---|
| 20 | yarn add -D @webpack-cli/info
|
---|
| 21 |
|
---|
| 22 | ```
|
---|
| 23 |
|
---|
| 24 | ## Usage
|
---|
| 25 |
|
---|
| 26 | ```bash
|
---|
| 27 | #npx
|
---|
| 28 | npx webpack info [options]
|
---|
| 29 |
|
---|
| 30 | #global installation
|
---|
| 31 | webpack info [options]
|
---|
| 32 |
|
---|
| 33 | ```
|
---|
| 34 |
|
---|
| 35 | ### Args / Flags
|
---|
| 36 |
|
---|
| 37 | #### Output format
|
---|
| 38 |
|
---|
| 39 | | Flag | Description | Type |
|
---|
| 40 | | ------------------------------------- | --------------------------------------- | ------ |
|
---|
| 41 | | `-o, --output < json or markdown >` | To get the output in a specified format | string |
|
---|
| 42 | | `-a, --additional-package <value...>` | Adds additional packages to the output | string |
|
---|
| 43 |
|
---|
| 44 | _Not supported for config_
|
---|
| 45 |
|
---|
| 46 | #### Options
|
---|
| 47 |
|
---|
| 48 | | Flag | Description | Type |
|
---|
| 49 | | ----------- | ------------------------------------------ | ------- |
|
---|
| 50 | | `--help` | Show help | boolean |
|
---|
| 51 | | `--version` | Show version number of `@webpack-cli/info` | boolean |
|
---|
| 52 |
|
---|
| 53 | [downloads]: https://img.shields.io/npm/dm/@webpack-cli/info.svg
|
---|
| 54 | [downloads-url]: https://www.npmjs.com/package/@webpack-cli/info
|
---|
Note:
See
TracBrowser
for help on using the repository browser.