Restores postinstall hook to use local modules
Adds grunt to vagrant.sh to mimic postinstall hook
This commit is contained in:
+1
-1
@@ -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": {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user