Skip to content

Commit a416039

Browse files
committed
Update license
1 parent f786030 commit a416039

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
New BSD License
22

3-
© 2017 SitePen, Inc. http://sitepen.com
3+
© 2017, 2018 SitePen, Inc. http://sitepen.com
44

55
Redistribution and use in source and binary forms, with or without
66
modification, are permitted provided that the following conditions are met:

README.md

+22-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# istanbul-loader
22

3-
This is a webpack loader that uses [istanbul-lib-instrument](https://github.com/istanbuljs/istanbuljs/tree/master/packages/istanbul-lib-instrument) to add code coverage instrumentation to JavaScript files.
3+
This is a webpack loader that uses
4+
[istanbul-lib-instrument](https://github.com/istanbuljs/istanbuljs/tree/master/packages/istanbul-lib-instrument)
5+
to add code coverage instrumentation to JavaScript files.
46

57
## Installation
68

@@ -12,7 +14,8 @@ npm install @theintern/istanbul-loader --save-dev
1214

1315
## Usage
1416

15-
Install the loader in a project and add an entry for it to the project's webpack.config:
17+
Install the loader in a project and add an entry for it to the project's
18+
webpack.config:
1619

1720
```js
1821
module: {
@@ -26,7 +29,9 @@ module: {
2629
}
2730
```
2831

29-
Note that the istanbul-loader should be run _after_ transpilers such as TypeScript. This means that it should come _before_ transpilers in a loader list, or use `enforce: 'post'`:
32+
Note that the istanbul-loader should be run _after_ transpilers such as
33+
TypeScript. This means that it should come _before_ transpilers in a loader
34+
list, or use `enforce: 'post'`:
3035

3136
```js
3237
rules: [
@@ -53,7 +58,8 @@ rules: [
5358
5459
## Configuration
5560
56-
The rule test should only match source files, not all `.ts` or `.js` files, so as not to instrument tests or support files.
61+
The rule test should only match source files, not all `.ts` or `.js` files, so
62+
as not to instrument tests or support files.
5763
5864
Options can be passed using the standard webpack `options` property:
5965
@@ -70,4 +76,15 @@ rules: [
7076
]
7177
```
7278
73-
Currently the only option used by the loader is 'config', which should point to an [Intern config file](https://github.com/theintern/intern/blob/master/docs/configuration.md#config-file). The loader will use values for `coverageVariable` and `instrumenterOptions` from the Intern config, if present.
79+
Currently the only option used by the loader is 'config', which should point to
80+
an
81+
[Intern config file](https://github.com/theintern/intern/blob/master/docs/configuration.md#config-file).
82+
The loader will use values for `coverageVariable` and `instrumenterOptions`
83+
from the Intern config, if present.
84+
85+
## License
86+
87+
Intern is a [JS Foundation](https://js.foundationn) project offered under the
88+
[New BSD](LICENSE) license.
89+
90+
© [SitePen, Inc.](http://sitepen.com) and its [contributors](https://github.com/theintern/intern/graphs/contributors)

0 commit comments

Comments
 (0)