Przeglądaj źródła

Fixed gulpfile template for newly created packages.

Szymon Kupś 10 lat temu
rodzic
commit
0187326182
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      dev/tasks/dev/templates/gulpfile.js

+ 3 - 0
dev/tasks/dev/templates/gulpfile.js

@@ -2,6 +2,8 @@
 
 'use strict';
 
+const gulp = require( 'gulp' );
+
 const config = {
 	ROOT_DIR: '.',
 	WORKSPACE_DIR: '..',
@@ -11,3 +13,4 @@ const config = {
 };
 
 require( './dev/tasks/lint/tasks' )( config );
+gulp.task( 'pre-commit', [ 'lint-staged' ] );