Skip to content

Commit d6eb8cd

Browse files
Change licence to very similar MIT, and improve README
1 parent 3d33811 commit d6eb8cd

3 files changed

Lines changed: 32 additions & 3 deletions

File tree

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 Stephen Cook <stephen@stephencookdev.co.uk>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,23 @@ This plugin measures your webpack build speed, giving an output like this:
1616
## Install
1717

1818
```bash
19-
npm install --save speed-measure-webpack-plugin
19+
npm install --save-dev speed-measure-webpack-plugin
2020
```
2121

2222
or
2323

2424
```bash
25-
yarn add speed-measure-webpack-plugin
25+
yarn add -D speed-measure-webpack-plugin
2626
```
2727

2828
## Migrating
2929

3030
SMP follows [semver](https://semver.org/). If upgrading a major version, you can consult [the migration guide](./migration.md).
3131

32+
## Requirements
33+
34+
SMP requires at least Node v6.
35+
3236
## Usage
3337

3438
Change your webpack config from
@@ -131,3 +135,7 @@ Points of note that the following loaders will have inaccurate results in this m
131135
* loaders emitting file output (e.g. `file-loader`) - the time taken in outputting the actual file is not included in the running time of the loader
132136

133137
These are restrictions from technical limitations - ideally we would find solutions to these problems before removing the _(experimental)_ flag on this options
138+
139+
## License
140+
141+
[MIT](/LICENSE)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"name": "Stephen Cook",
1515
"email": "stephen@stephencookdev.co.uk"
1616
},
17-
"license": "ISC",
17+
"license": "MIT",
1818
"bugs": {
1919
"url": "https://github.com/stephencookdev/speed-measure-webpack-plugin/issues"
2020
},

0 commit comments

Comments
 (0)