diff --git a/bower.json b/bower.json deleted file mode 100644 index 5e487e4c..00000000 --- a/bower.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "jquery-form", - "version": "3.51.0", - "main": "jquery.form.js", - "author": "M. Alsup", - "dependencies": { - "jquery": ">=1.5" - }, - "ignore": [ - "README.md", - "composer.json", - "form.jquery.json", - "package.json" - ] -} diff --git a/component.json b/component.json new file mode 100644 index 00000000..1051bb41 --- /dev/null +++ b/component.json @@ -0,0 +1,14 @@ +{ + "version": "3.51.0", + "description": "ajax submit form", + "name": "jquery-form", + "main": "jquery.form.js", + "dependencies": [ + "jquery@1.8.3" + ], + "shim": { + "jquery.form.js": { + "deps": ["jquery"] + } + } +} diff --git a/composer.json b/composer.json deleted file mode 100644 index 2137c1bd..00000000 --- a/composer.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "malsup/form", - "description": "A simple way to AJAX-ify any form on your page; with file upload and progress support.", - "type": "component", - "homepage": "http://jquery.malsup.com/form/", - "keywords": [ - "form", - "upload", - "ajax" - ], - "support": { - "issues": "https://github.com/malsup/form/issues", - "wiki": "http://jquery.malsup.com/form/" - }, - "authors": [ - { - "name": "M. Alsup", - "homepage": "http://jquery.malsup.com" - } - ], - "license": [ - "MIT", - "GPL-2.0" - ], - "require": { - "components/jquery": ">=1.5" - }, - "extra": { - "component": { - "scripts": [ - "jquery.form.js" - ], - "shim": { - "deps": [ - "jquery" - ] - } - } - } -} diff --git a/form.jquery.json b/form.jquery.json deleted file mode 100644 index daafa1e1..00000000 --- a/form.jquery.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "form", - "title": "Form", - "description": "A simple way to AJAX-ify any form on your page; with file upload and progress support.", - "keywords": [ - "form", - "upload", - "ajax" - ], - "version": "3.51.0", - "author": { - "name": "M. Alsup", - "url": "http://jquery.malsup.com" - }, - "licenses": [ - { - "type": "MIT", - "url": "http://malsup.github.com/mit-license.txt" - }, - { - "type": "GPL", - "url": "http://malsup.github.com/gpl-license-v2.txt" - } - ], - "bugs": "https://github.com/malsup/form/issues", - "homepage": "http://jquery.malsup.com/form/", - "docs": "http://jquery.malsup.com/form/", - "download": "http://malsup.github.com/jquery.form.js", - "dependencies": { - "jquery": ">=1.5" - } -} - diff --git a/gulpfile.js b/gulpfile.js deleted file mode 100644 index 863c8d3d..00000000 --- a/gulpfile.js +++ /dev/null @@ -1,18 +0,0 @@ -/* buildfile for jquery.form plugin */ -var gulp = require('gulp'), - concat = require('gulp-concat'), - jshint = require('gulp-jshint'), - uglify = require('gulp-uglify'); - -gulp.task('default', function() { - gulp.src(['jquery.form.js']) - .pipe(jshint()) - .pipe(jshint.reporter('default')) - .pipe(uglify({ preserveComments: 'some' })) - .pipe(concat('jquery.form.min.js')) - .pipe(gulp.dest('.')); -}); - -gulp.task('watch', function () { - gulp.watch('jquery.form.js', ['default']); -}); diff --git a/package.json b/package.json deleted file mode 100644 index a7355869..00000000 --- a/package.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "jquery-form", - "title": "jQuery Form Plugin", - "description": "A simple way to AJAX-ify any form on your page; with file upload and progress support.", - "keywords": [ - "form", - "upload", - "ajax" - ], - "version": "3.51.0", - "author": { - "name": "M. Alsup", - "url": "http://jquery.malsup.com" - }, - "licenses": [ - { - "type": "MIT", - "url": "http://malsup.github.com/mit-license.txt" - }, - { - "type": "GPL", - "url": "http://malsup.github.com/gpl-license-v2.txt" - } - ], - "bugs": "https://github.com/malsup/form/issues", - "homepage": "http://jquery.malsup.com/form/", - "docs": "http://jquery.malsup.com/form/", - "download": "http://malsup.github.com/jquery.form.js", - "dependencies": { - "jquery": ">=1.5" - }, - "jam": { - "main": "jquery.form.js", - "dependencies": { - "jquery": ">=1.5.0" - } - }, - "devDependencies": { - "gulp-util": "~2.2.14", - "gulp": "~3.5.2", - "gulp-uglify": "~0.2.1", - "gulp-concat": "~2.1.7", - "gulp-jshint": "~1.4.2" - } -}