Skip to content

Commit

Permalink
➕ added 🎂 🍰 😁
Browse files Browse the repository at this point in the history
  • Loading branch information
snhasani committed Mar 5, 2017
1 parent 97f011f commit 010f831
Show file tree
Hide file tree
Showing 10 changed files with 243 additions and 59 deletions.
14 changes: 14 additions & 0 deletions .jsbeautifyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"html": {
"indent_char": "\t",
"indent_size": 1
},
"js": {
"indent_char": "\t",
"indent_size": 1
},
"css": {
"indent_char": "\t",
"indent_size": 1
}
}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@

* feature: added home hero section
* feature: added home about section


### 0.0.2

* feature: added :birthday: cake
5 changes: 4 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

const del = require('del');
const gulp = require('gulp');
const yargs = require("yargs").argv;
const wiredep = require('wiredep').stream;
const runSequence = require('run-sequence');
const browserSync = require('browser-sync');
Expand All @@ -9,7 +10,7 @@ const gulpLoadPlugins = require('gulp-load-plugins');

const $ = gulpLoadPlugins();
const reload = browserSync.reload;

const PRODUCTION = yargs.production;


gulp.task('styles', () => {
Expand Down Expand Up @@ -75,6 +76,8 @@ gulp.task('html', ['styles', 'scripts'], () => {
}))
.pipe($.if('*.js', $.uglify()))
.pipe($.if('*.css', $.cssnano({safe: true, autoprefixer: false})))
.pipe($.if('*.html',
( $.if( PRODUCTION , $.htmlmin({collapseWhitespace: true})))))
.pipe(gulp.dest('public'));
})

Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tehranjs-website-html-template",
"version": "0.0.12",
"version": "0.0.2",
"description": "HTML template of tehranjs.com website",
"main": "site/index.html",
"author": "Seyed Naser Hassani <[email protected]>",
Expand Down Expand Up @@ -34,6 +34,7 @@
"gulp-cssnano": "^2.1.2",
"gulp-eslint": "^3.0.1",
"gulp-gh-pages": "^0.5.4",
"gulp-htmlmin": "^3.0.0",
"gulp-if": "^2.0.2",
"gulp-imagemin": "^3.1.1",
"gulp-load-plugins": "^1.5.0",
Expand All @@ -50,7 +51,8 @@
"run-sequence": "^1.2.2",
"surge": "^0.18.0",
"webpack-stream": "^3.2.0",
"wiredep": "^4.0.0"
"wiredep": "^4.0.0",
"yargs": "^7.0.1"
},
"eslintConfig": {
"env": {
Expand Down
54 changes: 2 additions & 52 deletions public/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/styles/tehranjs.css

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

Loading

0 comments on commit 010f831

Please sign in to comment.