diff --git a/README.md b/README.md index cd2f7da..b1dc5ea 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Run the jspm install command : ``` - jspm instal npm:aurelia-multi-select@^1.0.0 + jspm install aurelia-multiple-select=github:bondib/aurelia-multiple-select ``` then update your ```main.ts``` or ```main.js``` file. diff --git a/build/pathsBuild.js b/build/pathsBuild.js index 89f9ea6..0fbd2b4 100644 --- a/build/pathsBuild.js +++ b/build/pathsBuild.js @@ -7,6 +7,7 @@ module.exports = { source: appRoot + '**/*.ts', html: appRoot + '**/*.html', css: appRoot + '**/*.css', + img: appRoot + 'img/**', json: appRoot + '**/*.json', woff2: appRoot + '**/*.woff2', output: outputRoot, diff --git a/build/pathsSample.js b/build/pathsSample.js index 4ab1ea1..1b06a3a 100644 --- a/build/pathsSample.js +++ b/build/pathsSample.js @@ -10,6 +10,7 @@ module.exports = { source: appRoot + '**/*.ts', html: appRoot + '**/*.html', css: appRoot + '**/*.css', + img: appRoot + 'img/**', json: appRoot + '**/*.json', woff2: appRoot + '**/*.woff2', plugin:plugin, diff --git a/build/tasks/build.js b/build/tasks/build.js index 700af3a..3202cde 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -99,6 +99,14 @@ gulp.task('build-css', function () { .pipe(gulp.dest(paths.output + 'system')); }); +gulp.task('build-img', function () { + return gulp.src(paths.img) + .pipe(gulp.dest(paths.output + 'es2015/img')) + .pipe(gulp.dest(paths.output + 'commonjs/img')) + .pipe(gulp.dest(paths.output + 'amd/img')) + .pipe(gulp.dest(paths.output + 'system/img')); +}); + gulp.task('build-json', function () { return gulp.src(paths.json) @@ -123,7 +131,7 @@ gulp.task('build-woff2', function () { gulp.task('build', function (callback) { return runSequence( - 'clean-build', ['build-json', 'build-woff2', 'build-css', 'build-html', 'build-es2015', 'build-amd', 'build-system', 'build-commonjs'], + 'clean-build', ['build-json', 'build-woff2', 'build-css', 'build-img', 'build-html', 'build-es2015', 'build-amd', 'build-system', 'build-commonjs'], callback ); }); diff --git a/dist/amd/elements/multiple-select.html b/dist/amd/elements/multiple-select.html index 52a8477..39e3c6f 100644 --- a/dist/amd/elements/multiple-select.html +++ b/dist/amd/elements/multiple-select.html @@ -28,7 +28,4 @@ - - - \ No newline at end of file diff --git a/dist/amd/img/switch.png b/dist/amd/img/switch.png new file mode 100644 index 0000000..7accb6a Binary files /dev/null and b/dist/amd/img/switch.png differ diff --git a/dist/commonjs/elements/multiple-select.html b/dist/commonjs/elements/multiple-select.html index 52a8477..39e3c6f 100644 --- a/dist/commonjs/elements/multiple-select.html +++ b/dist/commonjs/elements/multiple-select.html @@ -28,7 +28,4 @@ - - - \ No newline at end of file diff --git a/dist/commonjs/img/switch.png b/dist/commonjs/img/switch.png new file mode 100644 index 0000000..7accb6a Binary files /dev/null and b/dist/commonjs/img/switch.png differ diff --git a/dist/es2015/elements/multiple-select.html b/dist/es2015/elements/multiple-select.html index 52a8477..39e3c6f 100644 --- a/dist/es2015/elements/multiple-select.html +++ b/dist/es2015/elements/multiple-select.html @@ -28,7 +28,4 @@ - - - \ No newline at end of file diff --git a/dist/es2015/img/switch.png b/dist/es2015/img/switch.png new file mode 100644 index 0000000..7accb6a Binary files /dev/null and b/dist/es2015/img/switch.png differ diff --git a/dist/system/elements/multiple-select.html b/dist/system/elements/multiple-select.html index 52a8477..39e3c6f 100644 --- a/dist/system/elements/multiple-select.html +++ b/dist/system/elements/multiple-select.html @@ -28,7 +28,4 @@ - - - \ No newline at end of file diff --git a/dist/system/img/switch.png b/dist/system/img/switch.png new file mode 100644 index 0000000..7accb6a Binary files /dev/null and b/dist/system/img/switch.png differ diff --git a/src/elements/multiple-select.html b/src/elements/multiple-select.html index 52a8477..39e3c6f 100644 --- a/src/elements/multiple-select.html +++ b/src/elements/multiple-select.html @@ -28,7 +28,4 @@ - - - \ No newline at end of file diff --git a/src/img/switch.png b/src/img/switch.png new file mode 100644 index 0000000..7accb6a Binary files /dev/null and b/src/img/switch.png differ