Skip to content

Commit

Permalink
feat(index): Add cheat sheet
Browse files Browse the repository at this point in the history
Which nicely displays each cap-icon and show how to use it.

Also:
- Remove obsolete demo files.
  • Loading branch information
roalcantara committed Jun 11, 2018
1 parent 488c5da commit 81c178e
Show file tree
Hide file tree
Showing 11 changed files with 3,342 additions and 6,640 deletions.
12 changes: 11 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ var gulp = require('gulp');
var clean = require('gulp-clean');
var sass = require('gulp-sass');
var concat = require('gulp-concat');
var pug = require('gulp-pug');

gulp.task('dist:clean', function () {
return gulp.src('./dist', {read: false})
Expand Down Expand Up @@ -35,9 +36,18 @@ gulp.task('fonts:copy', function () {
.pipe(gulp.dest('dist/web-fonts'));
});

gulp.task('pug:compile', function() {
return gulp.src('./src/index.pug')
.pipe(pug({
pretty: true
}))
.pipe(gulp.dest('./'))
});

gulp.task('build', [
'dist:clean',
'sass:compile',
'sass:minify',
'fonts:copy'
'fonts:copy',
'pug:compile'
]);
2,913 changes: 2,913 additions & 0 deletions index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"gulp": "^3.9.1",
"gulp-clean": "^0.4.0",
"gulp-concat": "^2.6.1",
"gulp-pug": "^4.0.1",
"gulp-sass": "^4.0.1",
"husky": "^0.14.3",
"pug": "^2.0.3",
Expand Down
150 changes: 0 additions & 150 deletions src/demo-files/demo.css

This file was deleted.

30 changes: 0 additions & 30 deletions src/demo-files/demo.js

This file was deleted.

Loading

0 comments on commit 81c178e

Please sign in to comment.