$ docker
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
'use strict'; | |
module.exports = function (grunt) { | |
// load all grunt tasks | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
grunt.initConfig({ | |
//Add package.json reference |
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": "Project", | |
"version": "0.1.0", | |
"description": "Boilerplate for your project", | |
"author": "Jose Pablo Granados", | |
"devDependencies": { | |
"grunt": "~0.4.1", | |
"matchdep": "~0.3.0", | |
"grunt-open": "~0.2.2", | |
"grunt-contrib-connect": "~0.5.0", |
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
function rrmdir($file) { | |
if (is_dir($file)) { | |
$objects = scandir($file); | |
foreach ($objects as $object) { | |
if ($object != "." && $object != "..") { | |
if (filetype($file."/".$object) == "dir") $this->rrmdir($file."/".$object); else unlink($file."/".$object); | |
} | |
} | |
reset($objects); | |
rmdir($file); |
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
<snippet> | |
<content><![CDATA[ | |
console.log(${1:});${2:} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>log</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
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": "reactplayground", | |
"version": "1.0.0", | |
"description": "", | |
"main": "webpack.config.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"start": "webpack-dev-server --progress --colors --hot --inline --open" | |
}, | |
"repository": { |
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 plumber = require("gulp-plumber"); | |
const sass = require("gulp-sass"); | |
const postcss = require("gulp-postcss"); | |
const cssnano = require("cssnano"); | |
const rename = require("gulp-rename"); | |
const del = require("del"); | |
const autoprefixer = require("autoprefixer"); | |