diff --git a/.gitignore b/.gitignore index 41069ca..0098b2f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,129 @@ -.DS_Store -npm-debug.log +### Custom ### push_instructions.txt +cache +dist +test + +### macOS ### +*.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + + +### Windows ### +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msm +*.msp + +# Windows shortcuts +*.lnk + + +### Sass ### +.sass-cache/ +*.css.map + + +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + + +### Node ### +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + + +### Bower ### +bower_components +.bower-cache +.bower-registry +.bower-tmp diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000..36204a2 --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,24 @@ +// gulpfile.js + +// Dependencies ================================= +var gulp = require('gulp'), // task runner/manager (even tho this is a small project, it's still nice to have) + sass = require('gulp-sass'), // compiles sass for us + notify = require('gulp-notify'), // notifies us when a gulp task is completed through a system notifcation + rename = require('gulp-rename'), // allows us to rename files (adding prefixes and suffixes is the main use here). + autoprefixer = require('gulp-autoprefixer'), // great for catching those annoying vendor prefixes on css attributets and values. + minify = require('cssnano'), // minify our compiled css. sass can do this natively (kind of), so this is used in conjunction with gulp-sass. + merge = require('merge-stream'), // used to merge multiple streams into a single stream for node. + runseq = require('run-sequence'), // runs a sequence of gulp tasks. this is used because gulp.run is deprecated. + del = require('del'); // del is used to cleanup cache and build files. + +// Gulp Tasks =================================== + +// Default task --------------------------------- +// To execute this command use one of the following commands +// from within the project root. +// +// $ gulp +// $ gulp default +gulp.task('default', function() { + // ... +}); diff --git a/package.json b/package.json index 6eb5971..b980248 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ }, "contributors": [ "JayGray ", - "ardeay" + "ardeay", + "Jordan Brauer " ], "repository" : { "type": "git", @@ -18,7 +19,17 @@ "keywords": [], "homepage": "http://andrewgioia.com", "dependencies": {}, - "devDependencies": {}, + "devDependencies": { + "gulp": "^3.9.1", + "gulp-autoprefixer": "^3.1.0", + "gulp-sass": "^2.3.2", + "gulp-cssnano": "^2.1.2", + "gulp-notify": "^2.2.0", + "gulp-rename": "^1.2.2", + "merge-stream": "^1.0.0", + "run-sequence": "^1.2.2", + "del": "^2.2.1" + }, "license": "(OFL-1.1 AND MIT)", "main": "css/keyrune.css", "ignore": [