Initial commit

This commit is contained in:
Juan Cruz Viotti 2014-10-31 09:37:29 -04:00
commit 04da00afb2
3 changed files with 68 additions and 0 deletions

28
.gitignore vendored Normal file
View File

@ -0,0 +1,28 @@
# Logs
logs
*.log
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# 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 directory
# Commenting this out is preferred by some people, see
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
node_modules

16
gulpfile.coffee Normal file
View File

@ -0,0 +1,16 @@
gulp = require('gulp')
mocha = require('gulp-mocha')
mochaNotifierReporter = require('mocha-notifier-reporter')
OPTIONS =
paths:
tests: 'lib/**/*.spec.coffee'
gulp.task 'test', ->
gulp.src(OPTIONS.paths.tests, read: false)
.pipe(mocha({
reporter: mochaNotifierReporter.decorate('list')
}))
gulp.task 'watch', [ 'test' ], ->
gulp.watch(OPTIONS.paths.tests, [ 'test' ])

24
package.json Normal file
View File

@ -0,0 +1,24 @@
{
"name": "resin",
"version": "0.0.1",
"description": "Git Push to your devices",
"main": "bin/resin",
"scripts": {
"test": "cult test"
},
"keywords": [
"resin",
"git"
],
"author": "Juan Cruz Viotti <juanchiviotti@gmail.com>",
"license": "MIT",
"devDependencies": {
"chai": "~1.9.2",
"mocha": "~2.0.1",
"cult": "~2.0.0",
"gulp-mocha": "~1.1.1",
"gulp": "~3.8.9",
"coffee-script": "~1.8.0",
"mocha-notifier-reporter": "~0.1.0"
}
}