Skip to content

Commit

Permalink
added dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
marushkevych committed Jan 12, 2015
1 parent 7c5ae0e commit 2b5a9a2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/nbproject/private/
/nbproject/
/nbproject/
/node_modules/
2 changes: 1 addition & 1 deletion example.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var http = require('request-promise-json');
var http = require('./HTTPClient');


http.get('http://jsonplaceholder.typicode.com/posts/1').then(function(result){
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "request-promise-json",
"version": "1.0.1",
"version": "1.0.2",
"description": "Simple JSON API with 'q' promises on top of amazing 'request' module",
"main": "HTTPClient.js",
"scripts": {
Expand All @@ -23,5 +23,9 @@
"bugs": {
"url": "https://github.com/marushkevych/request-promise-json/issues"
},
"homepage": "https://github.com/marushkevych/request-promise-json"
"homepage": "https://github.com/marushkevych/request-promise-json",
"dependencies": {
"q": "^1.1.2",
"request": "^2.51.0"
}
}

0 comments on commit 2b5a9a2

Please sign in to comment.