This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "bienesraices", | |
"version": "1.0.0", | |
"description": "Curso Desarrollo Web Completo", | |
"main": "gulpfile.js", | |
"scripts": { | |
"dev": "gulp" | |
}, | |
"author": "Juan De La Torre", | |
"license": "ISC", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root{ | |
--blanco: #FFFFFF; | |
--oscuro: #212121; | |
--primario: #FFC107; | |
--secundario: #0097A7; | |
--gris: #757575; | |
--fuente-principal: 3.8rem; | |
--grisClado: #DFE9F3; | |
} | |
/* Globales */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { src, dest, watch, series, parallel } = require('gulp'); | |
const sass = require('gulp-sass')(require('sass')); | |
const autoprefixer = require('autoprefixer'); | |
const postcss = require('gulp-postcss') | |
const sourcemaps = require('gulp-sourcemaps') | |
const cssnano = require('cssnano'); | |
const concat = require('gulp-concat'); | |
const terser = require('gulp-terser-js'); | |
const rename = require('gulp-rename'); | |
const imagemin = require('gulp-imagemin'); // Minificar imagenes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Font Awesome Free 5.0.9 by @fontawesome - https://fontawesome.com | |
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) | |
*/ | |
.fa,.fab,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instalar | |
npm install --save-dev gulp-libsquoosh | |
Variable | |
const squoosh = require('gulp-libsquoosh'); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { src, dest, watch, parallel } = require('gulp'); | |
// CSS | |
const sass = require('gulp-sass')(require('sass')); | |
const plumber = require('gulp-plumber'); | |
const autoprefixer = require('autoprefixer'); | |
const cssnano = require('cssnano'); | |
const postcss = require('gulp-postcss'); | |
const sourcemaps = require('gulp-sourcemaps'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { src, dest, watch, parallel } = require('gulp'); | |
// CSS | |
const sass = require('gulp-sass')(require('sass')); | |
const plumber = require('gulp-plumber'); | |
const autoprefixer = require('autoprefixer'); | |
const cssnano = require('cssnano'); | |
const postcss = require('gulp-postcss'); | |
const sourcemaps = require('gulp-sourcemaps'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--blanco: #ffffff; | |
--primario: #FFC107; | |
--secundario: #0097A7; | |
--gris: #757575; | |
--oscuro: #212121; | |
} | |
html { | |
box-sizing: border-box; | |
min-height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_negotiation.c> | |
Options -MultiViews | |
</IfModule> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { src, dest, watch, series, parallel } = require('gulp'); | |
const sass = require('gulp-sass')(require('sass')); | |
const autoprefixer = require('autoprefixer'); | |
const postcss = require('gulp-postcss') | |
const sourcemaps = require('gulp-sourcemaps') | |
const cssnano = require('cssnano'); | |
const concat = require('gulp-concat'); | |
const terser = require('gulp-terser-js'); | |
const rename = require('gulp-rename'); | |
const imagemin = require('gulp-imagemin'); // Minificar imagenes |
OlderNewer