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
configSpread = { | |
props: { | |
styleInfo: this.sanitizer.bypassSecurityTrustStyle('width: 100%; height: calc(100vh - 300px)'), | |
config: { | |
ribbon: [ | |
{ | |
id: 'home', | |
text: 'HOME', | |
buttonGroups: [ | |
{ |
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
{"lastUpload":"2020-01-24T06:28:43.678Z","extensionVersion":"v3.4.3"} |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>A4 landscape</title> | |
<!-- Normalize or reset CSS with your favorite library --> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css"> |
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
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var browserSync = require('browser-sync').create(); | |
var rename = require("gulp-rename"); | |
var cleanCSS = require('gulp-clean-css'); | |
var input = './assets/css/sass/main.scss'; | |
var output = './assets/css'; |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
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": "webpack-aula", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"dev": "webpack", | |
"production": "NODE_ENV=production webpack", | |
"watch": "npm run dev -- --watch" | |
}, |
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
gulp.task('copile-css', function() { | |
return gulp.src(components) | |
.pipe(concat('monk-framework.css')) | |
.pipe(gulp.dest('./_download')); | |
}); | |
gulp.task('copile-css-min', function() { | |
return gulp.src(components) | |
.pipe(concat('monk-framework.min.css')) | |
.pipe(cleanCSS({debug: true}, function(details) { |
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
gulp.task('pageres', function(){ | |
const pageres = new pageres({delay: 2}) | |
.src('index.html', ['480x320', '1024x768', 'iphone 5s']) | |
.dest('prints') | |
.run() | |
.then(() => console.log('done')); | |
}); |
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
gulp.task('prefix', () => | |
gulp.src('css/all.css') | |
.pipe(autoprefixer({ | |
browsers: ['last 2 versions'], | |
cascade: false | |
})) | |
.pipe(gulp.dest('css/test')) | |
); |
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 gulp = require('gulp'); | |
const imagemin = require('gulp-imagemin'); | |
const uncss = require('gulp-uncss'); | |
const rename = require('gulp-rename'); | |
const concat = require('gulp-concat'); | |
const uglify = require('gulp-uglify'); | |
const cleanCSS = require('gulp-clean-css'); | |
const browserSync = require('browser-sync').create(); | |
const zip = require('gulp-zip'); | |
const responsive = require('gulp-responsive'); |
NewerOlder