Restores postinstall hook to use local modules

Adds grunt to vagrant.sh to mimic postinstall hook
This commit is contained in:
Todd Ogin 2015-02-15 12:38:48 -05:00
parent 1c317b01b4
commit 65c6d5fc9d
2 changed files with 4 additions and 1 deletions

View file

@ -74,7 +74,7 @@
"scripts": {
"test": "./test/run_tests.sh",
"start": "grunt run:dev",
"postinstall": "bower --config.interactive=false install -f; grunt;",
"postinstall": "./node_modules/bower/bin/bower --config.interactive=false install -f; ./node_modules/.bin/grunt;",
"coverage": "COVERAGE=true mocha --require register-handlers.js --reporter html-cov > coverage.html; open coverage.html"
},
"devDependencies": {

View file

@ -71,6 +71,9 @@ npm install --no-bin-link
echo Installing Bower packages
sudo -H -u vagrant bower --config.interactive=false install -f
echo Running Grunt
sudo -H -u vagrant grunt
## # echo Seeding Mongodb...
## node ./src/seed.js
## no longer required - see comments in src/seed.js