Commit 1a5311e7 authored by Julien's avatar Julien

Merge pull request #1694 from bonitasoft/build/pull-up-widget-builder-npminstall

Execute npm install on widget-builder in post install phase
parents 758e1a4a 3bb455a8
......@@ -15,7 +15,7 @@
"scripts": {
"test": "gulp test && gulp test:datepicker --timezone='America/Los_Angeles' && gulp test:datepicker --timezone='Asia/Bangkok'",
"test-watch": "gulp test-watch",
"postinstall": "bower install",
"postinstall": "npm install --prefix gulp/widget-builder && bower install",
"build": "gulp",
"pot": "gulp pot",
"serve": "gulp serve"
......@@ -34,8 +34,8 @@
"gulp-jshint": "1.12.0",
"gulp-karma": "0.0.4",
"gulp-ng-annotate": "~1.0.0",
"gulp-plumber": "1.0.1",
"gulp-order": "1.1.1",
"gulp-plumber": "1.0.1",
"gulp-shell": "~0.2.10",
"gulp-sourcemaps": "^1.5.1",
"gulp-uglify": "~1.0.1",
......@@ -52,6 +52,7 @@
"karma-junit-reporter": "0.2.2",
"karma-phantomjs-launcher": "~0.1.4",
"log4js": "0.6.27",
"npm": "3.5.0",
"optimist": "0.6.1",
"through": "^2.3.6",
"through2": "^0.6.5"
......
......@@ -317,16 +317,6 @@
<goal>install-node-and-npm</goal>
</goals>
</execution>
<execution>
<id>npm install widget-builder</id>
<goals>
<goal>npm</goal>
</goals>
<phase>compile</phase>
<configuration>
<arguments>install --prefix ./gulp/widget-builder</arguments>
</configuration>
</execution>
<execution>
<id>npm test widget-builder</id>
<goals>
......
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