Commit 7c01befd authored by benjaminparisel's avatar benjaminparisel Committed by Colin PUY

chore(build): allow root to bower on install to keep build possible

* on ymci slave, root user is use to build our project. So we need
to run bower install in root
parent 2b9ee84b
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"scripts": { "scripts": {
"test": "gulp test && gulp test:datepicker --timezone='America/Los_Angeles' && gulp test:datepicker --timezone='Asia/Bangkok'", "test": "gulp test && gulp test:datepicker --timezone='America/Los_Angeles' && gulp test:datepicker --timezone='Asia/Bangkok'",
"test-watch": "gulp test-watch", "test-watch": "gulp test-watch",
"postinstall": "bower install", "postinstall": "bower install --allow-root",
"build": "gulp", "build": "gulp",
"pot": "gulp pot", "pot": "gulp pot",
"start": "gulp serve" "start": "gulp serve"
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
"webdriver-manager": "12.0.6" "webdriver-manager": "12.0.6"
}, },
"scripts": { "scripts": {
"postinstall": "bower install", "postinstall": "bower install --allow-root",
"build": "gulp --dist", "build": "gulp --dist",
"test": "gulp test", "test": "gulp test",
"test-watch": "gulp test-watch", "test-watch": "gulp test-watch",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment