istanbul-instrumenter-loader
Advanced tools
Comparing version 2.0.0 to 3.0.0-beta.0
{ | ||
"name": "istanbul-instrumenter-loader", | ||
"version": "2.0.0", | ||
"version": "3.0.0-beta.0", | ||
"description": "Istanbul instrumenter loader for webpack", | ||
"keywords": [ | ||
"webpack", | ||
"loader", | ||
"istanbul", | ||
"coverage" | ||
], | ||
"homepage": "https://github.com/deepsweet/istanbul-instrumenter-loader", | ||
"repository": "deepsweet/istanbul-instrumenter-loader", | ||
"author": "Kir Belevich <kir@soulshine.in> (https://github.com/deepsweet)", | ||
"main": "index.js", | ||
"author": "Kir Belevich (@deepsweet)", | ||
"main": "dist/cjs.js", | ||
"files": [ | ||
"index.js" | ||
"dist" | ||
], | ||
@@ -21,9 +13,62 @@ "dependencies": { | ||
"istanbul-lib-instrument": "^1.1.3", | ||
"loader-utils": "^0.2.16", | ||
"object-assign": "^4.1.0" | ||
"loader-utils": "^1.1.0" | ||
}, | ||
"engines": { | ||
"node": ">=0.12.0" | ||
"node": ">= 4.3 < 5.0.0 || >= 5.10" | ||
}, | ||
"license": "MIT" | ||
"license": "MIT", | ||
"scripts": { | ||
"start": "npm run build -- -w", | ||
"build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js'", | ||
"clean": "del-cli dist", | ||
"clean:dist": "del-cli dist", | ||
"lint": "eslint --cache src test", | ||
"lint-staged": "lint-staged", | ||
"prebuild": "npm run clean", | ||
"prepublish": "npm run build", | ||
"release": "standard-version", | ||
"security": "nsp check", | ||
"serve:dev": "nodemon $2 --exec babel-node", | ||
"test": "jest", | ||
"test:watch": "jest --watch", | ||
"test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage", | ||
"travis:coverage": "npm run test:coverage -- --runInBand", | ||
"travis:lint": "npm run lint && npm run security", | ||
"travis:test": "npm run test -- --runInBand", | ||
"webpack-defaults": "webpack-defaults" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.24.0", | ||
"babel-jest": "^20.0.3", | ||
"babel-plugin-transform-object-rest-spread": "^6.23.0", | ||
"babel-polyfill": "^6.23.0", | ||
"babel-preset-env": "^1.5.1", | ||
"cross-env": "^3.2.4", | ||
"del-cli": "^0.2.1", | ||
"eslint": "^3.18.0", | ||
"eslint-config-webpack": "^1.1.1", | ||
"eslint-plugin-import": "^2.2.0", | ||
"jest": "^20.0.4", | ||
"lint-staged": "^3.4.0", | ||
"nodemon": "^1.11.0", | ||
"nsp": "^2.6.3", | ||
"pre-commit": "^1.2.2", | ||
"standard-version": "^4.0.0", | ||
"webpack-defaults": "^1.1.1" | ||
}, | ||
"homepage": "https://github.com/webpack-contrib/istanbul-instrumenter-loader", | ||
"repository": "https://github.com/webpack-contrib/istanbul-instrumenter-loader.git", | ||
"keywords": [ | ||
"webpack", | ||
"loader", | ||
"istanbul", | ||
"coverage" | ||
], | ||
"pre-commit": "lint-staged", | ||
"lint-staged": { | ||
"*.js": [ | ||
"eslint --fix", | ||
"git add" | ||
] | ||
} | ||
} |
@@ -1,11 +0,21 @@ | ||
## Istanbul instrumenter loader for [webpack](https://webpack.js.org/) | ||
[![npm][npm]][npm-url] | ||
[![node][node]][node-url] | ||
[![deps][deps]][deps-url] | ||
[![tests][tests]][tests-url] | ||
[![coverage][cover]][cover-url] | ||
[![chat][chat]][chat-url] | ||
[![npm](http://img.shields.io/npm/v/istanbul-instrumenter-loader.svg?style=flat-square)](https://www.npmjs.org/package/istanbul-instrumenter-loader) | ||
[![deps](http://img.shields.io/david/deepsweet/istanbul-instrumenter-loader.svg?style=flat-square)](https://david-dm.org/deepsweet/istanbul-instrumenter-loader#info=dependencies) | ||
<div align="center"> | ||
<a href="https://github.com/webpack/webpack"> | ||
<img width="200" height="200" | ||
src="https://webpack.js.org/assets/icon-square-big.svg"> | ||
</a> | ||
<h1>Istanbul Instrumenter Loader</h1> | ||
</div> | ||
Instrument JS files with [istanbul-lib-instrument](https://github.com/istanbuljs/istanbul-lib-instrument) for subsequent code coverage reporting. | ||
### Install | ||
<h2 align="center">Install</h2> | ||
```sh | ||
```bash | ||
npm install --save-dev istanbul-instrumenter-loader | ||
@@ -16,3 +26,3 @@ # or | ||
### Setup | ||
<h2 align="center">Usage</h2> | ||
@@ -98,3 +108,61 @@ #### References | ||
### License | ||
MIT | ||
<h2 align="center">Contributing</h2> | ||
Don't hesitate to create a pull request. Every contribution is appreciated. In development you can start the tests by calling `npm test`. | ||
<h2 align="center">Maintainers</h2> | ||
<table> | ||
<tbody> | ||
<tr> | ||
<td align="center"> | ||
<img width="150" height="150" | ||
src="https://avatars.githubusercontent.com/u/266822?v=3&s=150"> | ||
</br> | ||
<a href="https://github.com/deepsweet">Kir Belevich</a> | ||
</td> | ||
<td align="center"> | ||
<img width="150" height="150" | ||
src="https://avatars3.githubusercontent.com/u/166921?v=3&s=150"> | ||
</br> | ||
<a href="https://github.com/bebraw">Juho Vepsäläinen</a> | ||
</td> | ||
<td align="center"> | ||
<img width="150" height="150" | ||
src="https://avatars2.githubusercontent.com/u/8420490?v=3&s=150"> | ||
</br> | ||
<a href="https://github.com/d3viant0ne">Joshua Wiens</a> | ||
</td> | ||
<td align="center"> | ||
<img width="150" height="150" | ||
src="https://avatars3.githubusercontent.com/u/533616?v=3&s=150"> | ||
</br> | ||
<a href="https://github.com/SpaceK33z">Kees Kluskens</a> | ||
</td> | ||
<td align="center"> | ||
<img width="150" height="150" | ||
src="https://avatars3.githubusercontent.com/u/3408176?v=3&s=150"> | ||
</br> | ||
<a href="https://github.com/TheLarkInn">Sean Larkin</a> | ||
</td> | ||
</tr> | ||
<tbody> | ||
</table> | ||
[npm]: https://img.shields.io/npm/v/istanbul-instrumenter-loader.svg | ||
[npm-url]: https://npmjs.com/package/istanbul-instrumenter-loader | ||
[node]: https://img.shields.io/node/v/istanbul-instrumenter-loader.svg | ||
[node-url]: https://nodejs.org | ||
[deps]: https://david-dm.org/webpack-contrib/istanbul-instrumenter-loader.svg | ||
[deps-url]: https://david-dm.org/webpack-contrib/istanbul-instrumenter-loader | ||
[tests]: http://img.shields.io/travis/webpack-contrib/istanbul-instrumenter-loader.svg | ||
[tests-url]: https://travis-ci.org/webpack-contrib/istanbul-instrumenter-loader | ||
[cover]: https://codecov.io/gh/webpack-contrib/istanbul-instrumenter-loader/branch/master/graph/badge.svg | ||
[cover-url]: https://codecov.io/gh/webpack-contrib/istanbul-instrumenter-loader | ||
[chat]: https://badges.gitter.im/webpack/webpack.svg | ||
[chat-url]: https://gitter.im/webpack/webpack |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
10571
3
6
25
167
17
1
1
+ Addedbig.js@5.2.2(transitive)
+ Addedemojis-list@3.0.0(transitive)
+ Addedjson5@1.0.2(transitive)
+ Addedloader-utils@1.4.2(transitive)
+ Addedminimist@1.2.8(transitive)
- Removedobject-assign@^4.1.0
- Removedbig.js@3.2.0(transitive)
- Removedemojis-list@2.1.0(transitive)
- Removedjson5@0.5.1(transitive)
- Removedloader-utils@0.2.17(transitive)
- Removedobject-assign@4.1.1(transitive)
Updatedloader-utils@^1.1.0