google-stocks
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "google-stocks", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"author": "anvk", | ||
"main": "lib/google-stocks.js", | ||
"main": "dist/google-stocks.js", | ||
"description": "Get stocks using Google Finance API", | ||
@@ -14,3 +14,4 @@ "contributors": [ | ||
"scripts": { | ||
"test": "node node_modules/mocha/bin/mocha --reporter spec test/*" | ||
"test": "node node_modules/mocha/bin/mocha --reporter spec test/*", | ||
"example": "node example.js" | ||
}, | ||
@@ -33,4 +34,8 @@ "directories": { | ||
"devDependencies": { | ||
"mocha": "2.2.x", | ||
"chai": "2.1.x" | ||
"babel": "5.6.5", | ||
"chai": "3.0.0", | ||
"gulp": "3.9.0", | ||
"gulp-babel": "5.1.0", | ||
"gulp-mocha": "2.1.2", | ||
"mocha": "2.2.5" | ||
}, | ||
@@ -37,0 +42,0 @@ "engine": "node >= 0.10.x", |
@@ -9,3 +9,3 @@ # google-stocks [![Build Status](https://travis-ci.org/anvk/google-stocks.svg?branch=master)](https://travis-ci.org/anvk/google-stocks) | ||
``` | ||
$ npm install --save google-stocks | ||
$ npm install google-stocks --save | ||
``` | ||
@@ -114,2 +114,8 @@ | ||
## Example | ||
``` | ||
node example.js | ||
``` | ||
## License | ||
@@ -116,0 +122,0 @@ |
@@ -5,3 +5,3 @@ /* global it, describe, require */ | ||
expect = chai.expect, | ||
googleStocks = require('../lib/google-stocks.js'); | ||
googleStocks = require('../dist/google-stocks.js'); | ||
@@ -11,3 +11,3 @@ describe('google-stocks tests', function() { | ||
it('nothing was passed', function() { | ||
googleStocks.get(null, function(error, data) { | ||
googleStocks.get(undefined, function(error, data) { | ||
expect(error).to.equal('No Stocks were passed'); | ||
@@ -14,0 +14,0 @@ }); |
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
10493
10
162
124
6