Modified .gitignore and package.json. Added a base gulpfile.js.

This commit is contained in:
jordanbrauer 2016-10-04 10:02:31 -05:00
parent 5489b5181f
commit 8e0cd63e5c
3 changed files with 165 additions and 4 deletions

130
.gitignore vendored
View File

@ -1,3 +1,129 @@
.DS_Store ### Custom ###
npm-debug.log
push_instructions.txt 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

24
gulpfile.js Normal file
View File

@ -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() {
// ...
});

View File

@ -9,7 +9,8 @@
}, },
"contributors": [ "contributors": [
"JayGray <weber.joerg.h@gmail.com>", "JayGray <weber.joerg.h@gmail.com>",
"ardeay" "ardeay",
"Jordan Brauer <jbrauer.inc@gmail.com>"
], ],
"repository" : { "repository" : {
"type": "git", "type": "git",
@ -18,7 +19,17 @@
"keywords": [], "keywords": [],
"homepage": "http://andrewgioia.com", "homepage": "http://andrewgioia.com",
"dependencies": {}, "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)", "license": "(OFL-1.1 AND MIT)",
"main": "css/keyrune.css", "main": "css/keyrune.css",
"ignore": [ "ignore": [