[Build] Trigger gulp from prepublish

This commit is contained in:
Victor Woeltjen 2016-01-29 11:54:18 -08:00
parent 25a7df7885
commit 924a4026ff
2 changed files with 6 additions and 3 deletions

View File

@ -114,6 +114,8 @@ gulp.task('static', function () {
.pipe(gulp.dest(paths.dist));
});
gulp.task('install', [ 'static', 'scripts', 'stylesheets' ]);
gulp.task('install', [ 'static', 'scripts' ]);
gulp.task('verify', [ 'lint', 'test' ]);
gulp.task('build', [ 'verify', 'install' ]);

View File

@ -45,7 +45,8 @@
"jsdoc": "jsdoc -c jsdoc.json -r -d target/docs/api",
"otherdoc": "node docs/gendocs.js --in docs/src --out target/docs --suppress-toc 'docs/src/index.md|docs/src/process/index.md'",
"docs": "npm run jsdoc ; npm run otherdoc",
"postinstall": "./node_modules/bower/bin/bower install"
"postinstall": "./node_modules/bower/bin/bower install",
"prepublish": "./node_modules/gulp/bin/gulp.js build"
},
"repository": {
"type": "git",