diff --git a/package.json b/package.json index c02060011..ceea06720 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,9 @@ "mocha": "2.3.4", "express": "~4.13.3", "body-parser": "1.14.2", - "rimraf": "~2.5.0" + "rimraf": "~2.5.0", + "lodash": "^2.4.1", + "marked": "^0.3.3" }, "repository": { "type": "git", diff --git a/scripts/pretest.sh b/scripts/pretest.sh index cd380d4c4..f09d412ab 100755 --- a/scripts/pretest.sh +++ b/scripts/pretest.sh @@ -1,7 +1,5 @@ #!/bin/bash # When running `npm test`, this script is intended to run during pretest step. -WS=$(pwd) # the protractor directory -$WS/bin/webdriver-manager update # updates the local webdriver manager -$WS/node_modules/.bin/jshint lib spec scripts -cd $WS/website && npm install # installs dependencies for the website +bin/webdriver-manager update # updates the local webdriver manager +node_modules/.bin/jshint lib spec scripts