Skip to content

Commit 2829e77

Browse files
authored
Update README.md
1 parent 7a1b7b4 commit 2829e77

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@
66
This is a [Webpack](https://webpack.github.io/) plugin which simplifies and automates the creation of a [Web Application Archive (WAR)](https://en.wikipedia.org/wiki/WAR_(file_format)) from your Webpack build outputs and other project files. This can be useful if you want to deploy your static / Single Page Web App or your applications web frontend to a Java (EE) Application server.
77

88
## Installation
9-
You can install the plugin via yarn
10-
```bash
11-
yarn add --dev webpack-war-plugin
12-
```
13-
or via npm
9+
You can install the plugin via npm
10+
1411
```bash
1512
npm install --dev webpack-war-plugin
1613
```
@@ -109,7 +106,7 @@ The plugin is built with [Typescript](http://www.typescriptlang.org/) and the re
109106
### Building
110107
After checking out the project you can build transpile the Typescript via
111108
```bash
112-
yarn run build
109+
npm run build
113110
```
114111
The build output is stored in `dist`.
115112

@@ -118,22 +115,22 @@ The build output is stored in `dist`.
118115
Unit tests are named `[tested-component].spec.ts`.<br>
119116
They can be run via [Mocha](https://mochajs.org/) with
120117
```bash
121-
yarn run test
118+
npm run test
122119
```
123120
Test coverage is measured via [nyc](https://github.com/istanbuljs/nyc) and can be triggered with
124121
```bash
125-
yarn run test:coverage
122+
npm run test:coverage
126123
```
127124

128125
#### Functional tests
129126
Functional test fixtures are located in `functional_tests`.
130127
To set up all fixtures run
131128
```bash
132-
yarn run test:functional:setup
129+
npm run test:functional:setup
133130
```
134131
To execute the tests via Mocha run
135132
```bash
136-
yarn run test:functional
133+
npm run test:functional
137134
```
138135

139136
### Continuous integration

0 commit comments

Comments
 (0)