@@ -104,6 +104,9 @@ module.exports = ( ckeditor5Path, workspaceRoot, name, writeln ) => {
return json;
} );
+
+ writeln( `Installing Git hooks in ${ urlInfo.name }...` );
+ tools.installGitHooks( repositoryPath );
} else {
throw new Error( 'Please provide valid GitHub URL, NPM module name or path.' );
}
@@ -44,7 +44,7 @@
"url": "https://github.com/ckeditor/ckeditor5.git"
},
"scripts": {
- "tests": "mocha dev/tests",
+ "test": "mocha dev/tests",
"coverage": "istanbul cover _mocha dev/tests/"
-}
+}