Permalink
Browse files

add package.json & gruntfile

  • Loading branch information...
carlosmarte committed Jun 14, 2013
1 parent 07358c1 commit 70d13038ed11bcd35d5c9c4b56c7262544da1219
Showing with 156 additions and 0 deletions.
  1. +7 −0 .gitignore
  2. +1 −0 AUTHORS
  3. +75 −0 Gruntfile.js
  4. +22 −0 LICENSE-MIT
  5. +51 −0 package.json
View
@@ -12,3 +12,10 @@ logs
results
npm-debug.log
node_modules/
.gitattributes
.jshintrc
.npmignore
.DS_Store
.gitignore
View
@@ -0,0 +1 @@
Roberto Carlos Marte (http://carlosmarte.me/)
View
@@ -0,0 +1,75 @@
/*
* grunt-git-ftp
* http://gruntjs.com/
*
* Copyright (c) 2013 Roberto Carlos Marte, contributors
* Licensed under the MIT license.
*/
module.exports = function(grunt) {
"use strict";
var Config = {};
//jshint
Config.jshint = {
options: {
jshintrc: '.jshintrc'
},
packages: [
'Gruntfile.js','package.json'
],javascript:[
'tasks/git_ftp.js'
]
};
//watch
Config.watch = {
options: {
livereload: false
},
javascript: {
files: ['tasks/git_ftp.js'],
tasks: ['jshint:javascript']
}
};
//git_ftp
Config.git_ftp = {
default_options: {
options: {
},
files: {
'tmp/default_options': ['test/fixtures/testing', 'test/fixtures/123'],
},
}
};
//Init Task
grunt.initConfig(Config);
// Actually load this plugin's task(s).
grunt.loadTasks('tasks');
// These plugins provide necessary tasks.
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-nodeunit');
grunt.loadNpmTasks('grunt-contrib-copy');
//grunt.loadNpmTasks('grunt-neuter');
grunt.loadNpmTasks('grunt-contrib-watch');
//Register the default tasks
grunt.registerTask('default',[
'jshint:packages'
]);
//Register the test tasks
grunt.registerTask('test', [
'jshint:javascript'
]);
};
View
@@ -0,0 +1,22 @@
Copyright (c) 2013 Roberto Marte, contributors
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,51 @@
{
"name": "grunt-git-ftp",
"description": "ftp your last commit",
"version": "0.1.0",
"homepage": "https://github.com/robertomarte/grunt-git-ftp",
"author": {
"name": "Roberto Carlos Marte",
"email": "app@carlosmarte.me",
"url": "http://carlosmarte.me"
},
"repository": {
"type": "git",
"url": "git://github.com/robertomarte/grunt-git-ftp.git"
},
"bugs": {
"url": "https://github.com/robertomarte/grunt-git-ftp/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/robertomarte/grunt-git-ftp/blob/master/LICENSE-MIT"
}
],
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"test": "grunt test"
},
"dependencies": {
"ftp": "~0.3.1",
"grunt": "~0.4.1",
"string": "~1.4.0"
},
"devDependencies": {
"grunt-contrib-jshint": "~0.1.1",
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-nodeunit": "~0.1.2",
"grunt-contrib-copy":"~0.4.1",
"grunt-contrib-watch":"~0.4.4"
},
"peerDependencies": {
"grunt": "~0.4.1",
"ftp":"~0.3.1",
"string": "~1.4.0"
},
"keywords": [
"gruntplugin","git","ftp","commit"
]
}

0 comments on commit 70d1303

Please sign in to comment.