From 9d71ed574f2ec911143c198753a7fc749055f5cb Mon Sep 17 00:00:00 2001 From: Tom Gallacher Date: Wed, 13 Jun 2012 16:08:41 +0100 Subject: [PATCH] Adding pre-project setup files --- .gitignore | 36 ++++++++++++++++++++++++++++++++++++ .nodemonignore | 5 +++++ Makefile | 12 ++++++++++++ package.json | 12 ++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 .gitignore create mode 100644 .nodemonignore create mode 100644 Makefile create mode 100644 package.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..191f7cb --- /dev/null +++ b/.gitignore @@ -0,0 +1,36 @@ +# Node.js with Express and Stlyus +public/css/*.css +public/css/main/*.css +public/css/admin/*.css +/.monitor + +/log +/data +/cache + +/public/js/compact + +# Windows +Thumbs.db + +# Vim +.*.sw[a-z] +*.un~i +tags + +# OsX +.DS_Store +Icon? +._* +.Spotlight-V100 +.Trashes + +# nodejs npm modules +node_modules + +# node-cluster +/pids +*.sock + +# ZSH Cake plugin cache +/.cake_task_cache \ No newline at end of file diff --git a/.nodemonignore b/.nodemonignore new file mode 100644 index 0000000..c9c173f --- /dev/null +++ b/.nodemonignore @@ -0,0 +1,5 @@ +public/css/* +public/fonts/* +public/images/* +public/js/compact/* +views/* \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..426e970 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +test: + @./node_modules/.bin/mocha \ + -r should \ + -R spec + +lint-changed: + @jshint `git status --porcelain | sed -e "s/^...//g"` + +lint: + @jshint lib test + +.PHONY: test lint lint-changed \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..b63e7e5 --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ "name": "zbar" +, "version": "0.0.1" +, "private": true +, "engine": "~0.6" +, "dependencies": + { + } +, "devDependencies": + { "mocha": "*" + , "should": "*" + } +} \ No newline at end of file