You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-10Lines changed: 7 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,8 @@
6
6
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.
7
7
8
8
## 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
+
14
11
```bash
15
12
npm install --dev webpack-war-plugin
16
13
```
@@ -109,7 +106,7 @@ The plugin is built with [Typescript](http://www.typescriptlang.org/) and the re
109
106
### Building
110
107
After checking out the project you can build transpile the Typescript via
111
108
```bash
112
-
yarn run build
109
+
npm run build
113
110
```
114
111
The build output is stored in `dist`.
115
112
@@ -118,22 +115,22 @@ The build output is stored in `dist`.
118
115
Unit tests are named `[tested-component].spec.ts`.<br>
119
116
They can be run via [Mocha](https://mochajs.org/) with
120
117
```bash
121
-
yarn run test
118
+
npm run test
122
119
```
123
120
Test coverage is measured via [nyc](https://github.com/istanbuljs/nyc) and can be triggered with
124
121
```bash
125
-
yarn run test:coverage
122
+
npm run test:coverage
126
123
```
127
124
128
125
#### Functional tests
129
126
Functional test fixtures are located in `functional_tests`.
0 commit comments