Move allow-root option to drone script

issue6295
review27141002
This commit is contained in:
Cédric Krier
2017-03-13 20:40:59 +01:00
parent a64d5557f5
commit 31dc10e409
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
image: node0.10
script:
- echo '{ "allow_root": true }' > ~/.bowerrc
- npm -s install --unsafe-perm
- npm test
+1 -1
View File
@@ -33,7 +33,7 @@
],
"scripts": {
"test": "./node_modules/.bin/grunt test",
"postinstall": "./node_modules/.bin/bower install --allow-root"
"postinstall": "./node_modules/.bin/bower install"
},
"devDependencies": {
"grunt-contrib-nodeunit": "^0.4",