Allow root when running bower

drone run tests as root but bower does not want to run as root
without this option.

review26641002
This commit is contained in:
Cédric Krier
2016-09-05 15:43:19 +02:00
parent fb246e1315
commit ff5a3971ab
+1 -1
View File
@@ -33,7 +33,7 @@
],
"scripts": {
"test": "./node_modules/.bin/grunt test",
"postinstall": "./node_modules/.bin/bower install"
"postinstall": "./node_modules/.bin/bower install --allow-root"
},
"devDependencies": {
"grunt": "~0.4.5",