mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-19 04:14:40 +00:00
Restores postinstall hook to use local modules
Adds grunt to vagrant.sh to mimic postinstall hook
This commit is contained in:
parent
1c317b01b4
commit
65c6d5fc9d
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue