sinon-as-promised
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "sinon-as-promised", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"homepage": "https://github.com/bendrucker/sinon-as-promised", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "sinon-as-promised", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Sugar methods for using sinon.js stubs with promises", | ||
@@ -10,3 +10,3 @@ "main": "./src", | ||
"release": "release release", | ||
"build": "browserify -e ./src/index.js -t browserify-shim -o ./release/sinon-as-promised.js" | ||
"build": "EXPOSIFY_CONFIG='{ \"sinon\": \"sinon\" }' browserify -s 'sinonAsPromised' -t exposify ./src/index.js > ./release/sinon-as-promised.js" | ||
}, | ||
@@ -34,6 +34,6 @@ "repository": { | ||
"browserify-bower-release": "^2.1.0", | ||
"browserify-shim": "^3.8.1", | ||
"chai": "1", | ||
"chai-as-promised": "4", | ||
"del": "^0.1.3", | ||
"exposify": "^0.2.0", | ||
"istanbul": "^0.3.2", | ||
@@ -46,6 +46,3 @@ "mocha": "1", | ||
"sinon": "1" | ||
}, | ||
"browserify-shim": { | ||
"sinon": "global:sinon" | ||
} | ||
} |
@@ -14,3 +14,3 @@ sinon-as-promised [![Build Status](https://travis-ci.org/bendrucker/sinon-as-promised.svg?branch=master)](https://travis-ci.org/bendrucker/sinon-as-promised) [![NPM version](https://badge.fury.io/js/sinon-as-promised.svg)](http://badge.fury.io/js/sinon-as-promised) | ||
Tagged versions (which Bower uses) include a `./release/sinon-as-promised.js` build that expect sinon to be available as `window.sinon`. The normal version in `./src` used by npm expects to be able to `require('sinon')`. | ||
Tagged versions (which Bower uses) include a `./release/sinon-as-promised.js` build that expect sinon to be available as `window.sinon` and exposes its method for changing the promise constructor as `window.sinonAsPromised`. The normal version in `./src` used by npm expects to be able to `require('sinon')`. | ||
@@ -17,0 +17,0 @@ ## Setup |
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
5973
4