drops dotenv and chalk dependencies
This commit is contained in:
parent
ccc8533710
commit
4b4059632c
2 changed files with 3 additions and 3 deletions
|
|
@ -52,7 +52,9 @@ var npr = NPR({
|
||||||
// promises are [the] shit.
|
// promises are [the] shit.
|
||||||
// we speak the way we breathe.
|
// we speak the way we breathe.
|
||||||
npr.one.init()
|
npr.one.init()
|
||||||
.then(npr.one.listening.getRecommendations({ channel: 'npr' }))
|
.then(function() {
|
||||||
|
return npr.one.listening.getRecommendations({ channel: 'npr' });
|
||||||
|
})
|
||||||
.then(function(recommendations) {
|
.then(function(recommendations) {
|
||||||
// print out the first two recommendations to the console
|
// print out the first two recommendations to the console
|
||||||
console.log(recommendations.items.slice(0,2));
|
console.log(recommendations.items.slice(0,2));
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,6 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bunyan": "^1.4.0",
|
"bunyan": "^1.4.0",
|
||||||
"chalk": "^1.1.0",
|
|
||||||
"dotenv": "^1.2.0",
|
|
||||||
"es6-shim": "^0.32.2",
|
"es6-shim": "^0.32.2",
|
||||||
"swagger-client": "^2.1.2"
|
"swagger-client": "^2.1.2"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue