Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
Bumped versions and added nodemon
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Apr 10, 2020
1 parent 9fb4c86 commit cab72aa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
5 changes: 1 addition & 4 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ app.all("*", (req, res, next) => {

// runs the changed request with the transformed values so
// that they become compliant with the expected API
request(options)
.on("finish", resolve)
.on("error", reject)
.pipe(res);
request(options).on("finish", resolve).on("error", reject).pipe(res);
} catch (err) {
reject(err);
}
Expand Down
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@
},
"license": "Apache-2.0",
"author": "Platforme",
"main": "app.js",
"files": [
"app.js",
"lib/**/*.js",
"test/**/*.js"
],
"main": "app.js",
"scripts": {
"dev": "nodemon app.js",
"lint": "eslint \"./**/*.js\"",
"lint-fix": "eslint \"./**/*.js\" --fix",
"prettier": "prettier \"./**/*.{js,json}\" --write",
Expand All @@ -36,16 +37,17 @@
"consola": "^2.11.3",
"express": "^4.17.1",
"hive-js-util": "^0.2.2",
"request": "^2.88.0",
"yonius": "^0.2.16"
"request": "^2.88.2",
"yonius": "^0.2.21"
},
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-hive": "^0.2.2",
"mocha": "^7.0.0",
"npm-check-updates": "^4.0.1",
"prettier": "^1.19.1",
"prettier-config-hive": "^0.1.1",
"sort-package-json": "^1.36.0"
"mocha": "^7.1.1",
"nodemon": "^2.0.3",
"npm-check-updates": "^4.1.2",
"prettier": "^2.0.4",
"prettier-config-hive": "^0.1.7",
"sort-package-json": "^1.41.0"
}
}

0 comments on commit cab72aa

Please sign in to comment.