Skip to content

Commit

Permalink
Some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tiaanduplessis committed Oct 1, 2016
1 parent 9c01297 commit 61e266a
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,8 @@ node_modules
.node_repl_history

# Mac stuff
*~
.DS_Store

# IDE
.idea
8 changes: 8 additions & 0 deletions .idea/jsLibraryMappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo/wenk.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/wenk.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
}
[data-wenk]:after {
position: absolute;
display: none;
font-size: 13px;
border-radius: .4rem;
content: attr(data-wenk);
Expand Down
2 changes: 1 addition & 1 deletion dist/wenk.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 9 additions & 8 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
const gulp = require('gulp')
const gulp = require('gulp');
const gulpLoadPlugins = require('gulp-load-plugins');
const browserSync = require('browser-sync')
const browserSync = require('browser-sync');
const del = require('del');
const $ = gulpLoadPlugins();
const pkg = require('./package.json');
const reload = browserSync.reload;
// Pretty banner

const banner = ['/**',
' * <%= pkg.name %> - <%= pkg.description %>',
' * @version v<%= pkg.version %>',
Expand Down Expand Up @@ -56,7 +57,7 @@ gulp.task('styles:minified', () => {
}))
.pipe(gulp.dest(paths.output))
.pipe(gulp.dest('./demo'))
})
});

gulp.task('styles', () => {
return gulp.src(paths.input)
Expand All @@ -66,21 +67,21 @@ gulp.task('styles', () => {
pkg
}))
.pipe(gulp.dest(paths.output))
})
});

gulp.task('build', ['styles', 'styles:minified'])
gulp.task('build', ['styles', 'styles:minified']);

gulp.task('watch', () => {
gulp.watch(paths.input, ['clean', 'build'])
})
});

gulp.task('demo', ['clean', 'build'], () => {
browserSync({
server: './demo'
})
});

gulp.watch(paths.input, ['build']);
gulp.watch('./demo/**/*').on('change', reload);
});

gulp.task('default', ['build', 'watch'])
gulp.task('default', ['build', 'watch']);
1 change: 0 additions & 1 deletion src/wenk.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
position: relative;
&:after {
position: absolute;
display: none;
font-size: var(--font-size);
border-radius: .4rem;
content: attr(data-wenk);
Expand Down
1 change: 0 additions & 1 deletion src/wenk.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
position: relative;
&:after {
position: absolute;
display: none;
font-size: @wenk-font-size;
border-radius: .4rem;
content: attr(data-wenk);
Expand Down
1 change: 0 additions & 1 deletion src/wenk.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ $wenk-length-large: 260px !default;
position: relative;
&:after {
position: absolute;
display: none;
font-size: $wenk-font-size;
border-radius: .4rem;
content: attr(data-wenk);
Expand Down

0 comments on commit 61e266a

Please sign in to comment.