Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
add package.json & gruntfile
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmarte committed Jun 14, 2013
1 parent 07358c1 commit 70d1303
Show file tree
Hide file tree
Showing 5 changed files with 156 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ logs
results results


npm-debug.log npm-debug.log

node_modules/
.gitattributes
.jshintrc
.npmignore
.DS_Store
.gitignore
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1 @@
Roberto Carlos Marte (http://carlosmarte.me/)
75 changes: 75 additions & 0 deletions Gruntfile.js
Original file line number Original file line Diff line number Diff line change
@@ -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'
]);

};
22 changes: 22 additions & 0 deletions LICENSE-MIT
Original file line number Original file line Diff line number Diff line change
@@ -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.
51 changes: 51 additions & 0 deletions package.json
Original file line number Original file line Diff line number Diff line change
@@ -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.