|
|
@@ -31,14 +31,14 @@ const config = {
|
|
|
};
|
|
|
|
|
|
// Lint tasks.
|
|
|
-const ckeditor5Lint = require( 'ckeditor5-dev-lint' )( config );
|
|
|
+const ckeditor5Lint = require( '@ckeditor/ckeditor5-dev-lint' )( config );
|
|
|
gulp.task( 'lint', ckeditor5Lint.lint );
|
|
|
gulp.task( 'lint-staged', ckeditor5Lint.lintStaged );
|
|
|
gulp.task( 'default', [ 'compile' ] );
|
|
|
gulp.task( 'pre-commit', [ 'lint-staged' ] );
|
|
|
|
|
|
// Development environment tasks.
|
|
|
-const ckeditor5DevEnv = require( 'ckeditor5-dev-env' )( config );
|
|
|
+const ckeditor5DevEnv = require( '@ckeditor/ckeditor5-dev-env' )( config );
|
|
|
gulp.task( 'init', ckeditor5DevEnv.initRepository );
|
|
|
gulp.task( 'create-package', ckeditor5DevEnv.createPackage );
|
|
|
gulp.task( 'update', ckeditor5DevEnv.updateRepositories );
|
|
|
@@ -50,7 +50,7 @@ gulp.task( 'install', ckeditor5DevEnv.installPackage );
|
|
|
gulp.task( 'exec', ckeditor5DevEnv.execOnRepositories );
|
|
|
|
|
|
// Bundling and building tasks.
|
|
|
-const ckeditor5DevBundle = require( 'ckeditor5-dev-bundler-rollup' )( config );
|
|
|
+const ckeditor5DevBundle = require( '@ckeditor/ckeditor5-dev-bundler-rollup' )( config );
|
|
|
gulp.task( 'bundle:clean', ckeditor5DevBundle.cleanFromConfig );
|
|
|
gulp.task( 'bundle:minify:js', ckeditor5DevBundle.minify.jsFromConfig );
|
|
|
gulp.task( 'bundle:minify:css', ckeditor5DevBundle.minify.cssFromConfig );
|
|
|
@@ -75,7 +75,7 @@ gulp.task( 'build', ( callback ) => {
|
|
|
} );
|
|
|
|
|
|
// Compile tasks.
|
|
|
-const ckeditor5DevCompiler = require( 'ckeditor5-dev-compiler' )( config );
|
|
|
+const ckeditor5DevCompiler = require( '@ckeditor/ckeditor5-dev-compiler' )( config );
|
|
|
const compiler = ckeditor5DevCompiler.compiler;
|
|
|
|
|
|
gulp.task( 'compile', callback => {
|