fingerprint-brunch
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "fingerprint-brunch", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "A Brunch JS plugin for cache busting assets", | ||
@@ -14,6 +14,6 @@ "author": "David Lepaux <d.lepaux@gmail.com>", | ||
"scripts": { | ||
"test": "node_modules/.bin/mocha --compilers js:babel-core/register", | ||
"test": "node_modules/.bin/mocha --require babel-core/register", | ||
"local-test": "nyc --reporter=html npm test", | ||
"coverage": "nyc --reporter=text-lcov npm test | coveralls", | ||
"coveralls": "cat ./coverage/lcov.info | coveralls" | ||
"coveralls": "nyc --reporter=text-lcov npm test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" | ||
}, | ||
@@ -24,2 +24,6 @@ "repository": { | ||
}, | ||
"dependencies": { | ||
"crypto-js": "^3.1.9-1", | ||
"fs-extra": "~5.0.0" | ||
}, | ||
"devDependencies": { | ||
@@ -30,6 +34,5 @@ "babel-core": "^6.1.2", | ||
"chai": "~1.10.0", | ||
"coveralls": "^2.13.1", | ||
"crypto-js": "^3.1.9-1", | ||
"fs-extra": "~0.16.3", | ||
"mocha": "~2.1.0", | ||
"coveralls": "^3.0.0", | ||
"mocha": "~5.0.1", | ||
"mocha-lcov-reporter": "^1.3.0", | ||
"nyc": "^11.2.1" | ||
@@ -36,0 +39,0 @@ }, |
@@ -58,2 +58,8 @@ # fingerprint-brunch [![Greenkeeper badge](https://badges.greenkeeper.io/dlepaux/fingerprint-brunch.svg)](https://greenkeeper.io/) [![Build Status][travis-badge]][travis] [![Coverage Status](https://coveralls.io/repos/github/dlepaux/fingerprint-brunch/badge.svg?branch=master)](https://coveralls.io/github/dlepaux/fingerprint-brunch?branch=master) [![Join the chat at https://gitter.im/dlepaux/fingerprint-brunch](https://badges.gitter.im/dlepaux/fingerprint-brunch.svg)](https://gitter.im/dlepaux/fingerprint-brunch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![npm](https://img.shields.io/npm/l/express.svg)]() | ||
- Force the generation of the manifest, event if there are no fingerprinted files | ||
* __foldersToFingerprint__: _(`Boolean|String|Array`)_ Defaults to `false` | ||
- Asset to fingerprint (in brunch config `public`), all files will be fingerprinted and added to the manifest | ||
- Usage : `'/img'` or `['/img', '/svg']` | ||
* __assetsToFingerprint__: _(`Boolean|String|Array`)_ Defaults to `false` | ||
- Specific asset to fingerprint (in public) | ||
- Usage : `'/img/troll.png'` or `['/img/troll.png', '/svg/logo.svg']` | ||
* __assetsPatterns__: _(`RegExp Object`)_ Defaults to `new RegExp(/url\([\'\"]?[a-zA-Z0-9\-\/_.:]+\.(woff|woff2|eot|ttf|otf|jpg|jpeg|png|bmp|gif|svg)\??\#?[a-zA-Z0-9\-\/_]*[\'\"]?\)/g)` | ||
@@ -60,0 +66,0 @@ - Regex to match assets in css with `url()` attribute |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32143
8
9
448
147
2
+ Addedcrypto-js@^3.1.9-1
+ Addedfs-extra@~5.0.0
+ Addedcrypto-js@3.3.0(transitive)
+ Addedfs-extra@5.0.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedjsonfile@4.0.0(transitive)
+ Addeduniversalify@0.1.2(transitive)