Skip to content

Instantly share code, notes, and snippets.

View lucasjs's full-sized avatar
💻
studying studying studying studying studying studying

Lucas J Soares lucasjs

💻
studying studying studying studying studying studying
View GitHub Profile
@lucasjs
lucasjs / challenges.md
Last active July 26, 2023 23:21
Front-end Challenges

Open to view all of my Challenges

@lucasjs
lucasjs / webpackBoilerplate.js
Last active August 25, 2020 17:59
Webpack + Babel + PostCSS + Pug + ESLint Boilerplate
const path = require('path')
const postcssPresetEnv = require('postcss-preset-env')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const cssnano = require('cssnano')
const postcssImport = require('postcss-import')
module.exports = {
entry: './src/index.js',
output: {
path: path.join(__dirname, 'dist'),
@lucasjs
lucasjs / mixins.styl
Last active November 15, 2017 04:27
Stylus mixins
// @stylint off
vendor(prop, args) {
-webkit-{prop}: args;
-moz-{prop}: args;
-o-{prop}: args;
{prop}: args;
}
animation() {
vendor('animation', arguments);
@lucasjs
lucasjs / Default Stack
Created October 31, 2017 20:03
Stack with gulp plugins (babel, eslint, connect, stylus, stylint, imagemin)
{
"name": "lucasjs.github.io",
"version": "1.0.0",
"description": "My Website",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
@lucasjs
lucasjs / gulpfile.js
Last active November 1, 2017 17:04
Gulp Setup
const gulp = require('gulp');
const stylint = require('gulp-stylint');
const stylus = require('gulp-stylus');
const imagemin = require('gulp-imagemin');
const eslint = require('gulp-eslint');
const babel = require('gulp-babel');
const connect = require('gulp-connect');
gulp.task('html', () =>
gulp.src('./src/views/*.html')