Adam Bouqdib 11 éve
szülő
commit
f62b6029dc
7 módosított fájl, 164 hozzáadás és 148 törlés
  1. 12 4
      .travis.yml
  2. 89 89
      Gruntfile.js
  3. 12 9
      bower.json
  4. 6 3
      dist/jquery.smoove.js
  5. 6 3
      dist/jquery.smoove.min.js
  6. 5 5
      package.json
  7. 34 35
      smoove.jquery.json

+ 12 - 4
.travis.yml

@@ -1,6 +1,14 @@
 language: node_js
 node_js:
-  - "0.8"
-before_install: 
-  - npm install -g npm
-  - npm install -g grunt-cli
+- '0.8'
+before_install:
+- npm install -g npm
+- npm install -g grunt-cli
+deploy:
+  provider: npm
+  email: [email protected]
+  api_key:
+    secure: dRbQr9FJxULs1vE3TVSWRSUSuBAeH9emy2s+8hweEZdpNLJaiUWIDFHGe754CiPZlL70vXKTVp+gHLIGViRTevE77LH2VHkrjZDItQNIRR7KiD6x2QuZ8iFgEojC+VQvIvGjqnP8uoeA6RHfONDxQiBD9/kRaBs8v6WArsqenTA=
+  on:
+    tags: true
+    repo: abeMedia/jquery-smoove

+ 89 - 89
Gruntfile.js

@@ -1,96 +1,96 @@
 'use strict';
 
-module.exports = function(grunt) {
+module.exports = function (grunt) {
 
-  // Project configuration.
-  grunt.initConfig({
-    // Metadata.
-    pkg: grunt.file.readJSON('smoove.jquery.json'),
-    banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
-      '<%= grunt.template.today("yyyy-mm-dd") %>\n' +
-      '<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' +
-      '* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
-      ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */\n',
-    // Task configuration.
-    clean: {
-      files: ['dist']
-    },
-    concat: {
-      options: {
-        banner: '<%= banner %>',
-        stripBanners: true
-      },
-      dist: {
-        src: ['src/jquery.<%= pkg.name %>.js'],
-        dest: 'dist/jquery.<%= pkg.name %>.js'
-      },
-    },
-    uglify: {
-      options: {
-        banner: '<%= banner %>'
-      },
-      dist: {
-        src: '<%= concat.dist.dest %>',
-        dest: 'dist/jquery.<%= pkg.name %>.min.js'
-      },
-    },
-  connect: {
-      server: {
-        options: {
-          port: 8085
+    // Project configuration.
+    grunt.initConfig({
+        // Metadata.
+        pkg: grunt.file.readJSON('smoove.jquery.json'),
+        banner: '/*!\n' +
+            '* jQuery Smoove v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
+            '* Copyright (c) <%= grunt.template.today("yyyy") %> Adam Bouqdib\n' +
+            '* Licensed under <%= pkg.licenses[0].type %> (<%= pkg.licenses[0].url %>) \n*/\n\n',
+        // Task configuration.
+        clean: {
+            files: ['dist']
+        },
+        concat: {
+            options: {
+                banner: '<%= banner %>',
+                stripBanners: true
+            },
+            dist: {
+                src: ['src/jquery.<%= pkg.name %>.js'],
+                dest: 'dist/jquery.<%= pkg.name %>.js'
+            },
+        },
+        uglify: {
+            options: {
+                banner: '<%= banner %>'
+            },
+            dist: {
+                src: '<%= concat.dist.dest %>',
+                dest: 'dist/jquery.<%= pkg.name %>.min.js'
+            },
+        },
+        connect: {
+            server: {
+                options: {
+                    port: 8085
+                }
+            }
+        },
+        qunit: {
+            all: {
+                options: {
+                    urls: ['1.7.0', '1.8.0', '1.9.0', '1.10.0', '2.0.0b1'].map(function (version) {
+                        return 'http://0.0.0.0:<%= connect.server.options.port %>/test/smoove.html?jquery=' + version;
+                    })
+                }
+            }
+        },
+        jshint: {
+            options: {
+                jshintrc: true
+            },
+            gruntfile: {
+                src: 'Gruntfile.js'
+            },
+            src: {
+                src: ['src/**/*.js']
+            },
+            test: {
+                src: ['test/**/*.js']
+            },
+        },
+        watch: {
+            gruntfile: {
+                files: '<%= jshint.gruntfile.src %>',
+                tasks: ['jshint:gruntfile']
+            },
+            src: {
+                files: '<%= jshint.src.src %>',
+                tasks: ['jshint:src', 'qunit']
+            },
+            test: {
+                files: '<%= jshint.test.src %>',
+                tasks: ['jshint:test', 'qunit']
+            },
         }
-      }
-    },
-    qunit: {
-      all: {
-        options: {
-          urls: ['1.6', '1.7.0','1.8.0', '1.9.0', '1.10.0', '2.0.0b1'].map(function(version) {
-            return 'http://0.0.0.0:<%= connect.server.options.port %>/test/smoove.html?jquery=' + version;
-          })
-        }
-      }
-    },
-    jshint: {
-      options: {
-        jshintrc: true
-      },
-      gruntfile: {
-        src: 'Gruntfile.js'
-      },
-      src: {
-        src: ['src/**/*.js']
-      },
-      test: {
-        src: ['test/**/*.js']
-      },
-    },
-    watch: {
-      gruntfile: {
-        files: '<%= jshint.gruntfile.src %>',
-        tasks: ['jshint:gruntfile']
-      },
-      src: {
-        files: '<%= jshint.src.src %>',
-        tasks: ['jshint:src', 'qunit']
-      },
-      test: {
-        files: '<%= jshint.test.src %>',
-        tasks: ['jshint:test', 'qunit']
-      },
-    }
-  });
+    });
 
-  // These plugins provide necessary tasks.
-  grunt.loadNpmTasks('grunt-contrib-clean');
-  grunt.loadNpmTasks('grunt-contrib-concat');
-  grunt.loadNpmTasks('grunt-contrib-uglify');
-  grunt.loadNpmTasks('grunt-contrib-qunit');
-  grunt.loadNpmTasks('grunt-contrib-jshint');
-  grunt.loadNpmTasks('grunt-contrib-watch');
-  grunt.loadNpmTasks('grunt-contrib-connect');
+    // These plugins provide necessary tasks.
+    grunt.loadNpmTasks('grunt-contrib-clean');
+    grunt.loadNpmTasks('grunt-contrib-concat');
+    grunt.loadNpmTasks('grunt-contrib-uglify');
+    grunt.loadNpmTasks('grunt-contrib-qunit');
+    grunt.loadNpmTasks('grunt-contrib-jshint');
+    grunt.loadNpmTasks('grunt-contrib-watch');
+    grunt.loadNpmTasks('grunt-contrib-connect');
 
-  // Default task.
-  grunt.registerTask('default', ['jshint', 'qunit', 'clean', 'concat', 'uglify']);
-  grunt.registerTask('test', ['connect', 'jshint', 'qunit']);
+    // Default task.
+    grunt.registerTask('default', ['jshint', 'qunit', 'clean', 'concat', 'uglify']);
+    grunt.registerTask('test', ['connect', 'jshint', 'qunit']);
+    grunt.registerTask('build', ['clean', 'concat', 'uglify']);
 
-};
+};

+ 12 - 9
bower.json

@@ -1,31 +1,34 @@
 {
   "name": "jquery-smoove",
   "description": "A simple jQuery plugin for super sexy scrolling effects using CSS3 transitions and transforms.",
+  "version": "0.2.7",
+  "main": "dist/jquery.smoove.js",
+  "homepage": "http://smoove.donlabs.com",
+  "authors": [
+    "Adam Bouqdib (http://abemedia.co.uk)"
+  ],
   "keywords": [
     "jquery",
     "scroll",
     "css",
     "animation"
   ],
-  "homepage": "http://smoove.donlabs.com",
-  "main": "jquery.smoove.js",
   "dependencies": {
-    "jquery": ">=1.5"
+    "jquery": ">=1.7"
   },
-  "authors": [
-    "Adam Bouqdib (http://abemedia.co.uk)"
-  ],
   "license": "GPL-2.0",
   "repository": {
     "type": "git",
     "url": "https://github.com/abeMedia/jquery-smoove"
   },
-  "version": "0.2.6",
   "ignore": [
     "**/.*",
-    "node_modules",
     "bower_components",
+    "libs",
+    "node_modules",
+    "src",
     "test",
-    "tests"
+    "Gruntfile.js",
+    "smoove.jquery.json"
   ]
 }

+ 6 - 3
dist/jquery.smoove.js

@@ -1,6 +1,9 @@
-/*! jQuery Smoove - Gorgeous CSS3 Scroll Effects - v0.2.6 - 2014-06-28
-* http://smoove.donlabs.com
-* Copyright (c) 2014 ABE Media - Web Design Brighton; Licensed GPL-2.0 */
+/*!
+* jQuery Smoove v0.2.6 (http://smoove.donlabs.com)
+* Copyright (c) 2014 Adam Bouqdib
+* Licensed under GPL-2.0 (http://abemedia.co.uk/license) 
+*/
+
 /*! jQuery Smoove v0.2.6 | (c) 2014 Adam Bouqdib | abemedia.co.uk/license */
 (function ($, window, document){
     

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 6 - 3
dist/jquery.smoove.min.js


+ 5 - 5
package.json

@@ -1,9 +1,10 @@
 {
   "name": "jquery-smoove",
-  "filename": "jquery.smoove.min.js",
-  "version": "0.2.6",
+  "title": "jQuery Smoove - Gorgeous CSS3 Scroll Effects",
+  "version": "0.2.7",
   "description": "A simple jQuery plugin for sexy scrolling effects using CSS3 transitions and transforms.",
   "homepage": "http://smoove.donlabs.com",
+  "author": "Adam Bouqdib (http://abemedia.co.uk/)",
   "keywords": [
     "jquery",
     "scroll",
@@ -20,11 +21,10 @@
   "bugs": {
     "url": "https://github.com/abeMedia/jquery-smoove/issues"
   },
-  "main": "jquery.smoove.js",
+  "main": "dist/jquery.smoove.js",
   "dependencies": {
-    "jquery": ">= 1.5"
+    "jquery": ">= 1.7"
   },
-  "author": "Adam Bouqdib <[email protected]> (http://abemedia.co.uk/)",
   "license": "GPL-2.0",
   "scripts": {
     "test": "grunt test"

+ 34 - 35
smoove.jquery.json

@@ -1,39 +1,38 @@
 {
-    "name": "smoove",
-    "title": "jQuery Smoove - Gorgeous CSS3 Scroll Effects",
-    "description": "A simple jQuery plugin for super sexy scrolling effects using CSS3 transitions and transforms.",
-    "version": "0.2.6",
-    "homepage": "http://smoove.donlabs.com",
-    "author": {
-        "name": "ABE Media - Web Design Brighton",
-        "email": "[email protected]",
-        "url": "http://abemedia.co.uk"
-    },
-    "maintainers": [
-        {
-            "name": "Adam Bouqdib",
-            "web": "http://abemedia.co.uk"
-        }
-    ],
-    "repository": {
-        "type": "git",
-        "url": "https://github.com/abeMedia/jquery-smoove.git"
-    },
-    "bugs": "https://github.com/abeMedia/jquery-smoove/issues",
-    "docs": "http://smoove.donlabs.com",
-    "licenses": [
+  "name": "smoove",
+  "title": "jQuery Smoove - Gorgeous CSS3 Scroll Effects",
+  "version": "0.2.7",
+  "description": "A simple jQuery plugin for super sexy scrolling effects using CSS3 transitions and transforms.",
+  "homepage": "http://smoove.donlabs.com",
+  "author": {
+    "name": "ABE Media - Web Design Brighton",
+    "url": "http://abemedia.co.uk"
+  },
+  "maintainers": [
     {
-        "type": "GPL-2.0",
-        "url": "http://abemedia.co.uk/license"
+      "name": "Adam Bouqdib",
+      "web": "http://abemedia.co.uk"
     }
-    ],
-    "dependencies": {
-        "jquery": "*"
-    },
-    "keywords": [
-        "jquery",
-        "scroll",
-        "css",
-        "animation"
-    ]
+  ],
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/abeMedia/jquery-smoove.git"
+  },
+  "bugs": "https://github.com/abeMedia/jquery-smoove/issues",
+  "docs": "http://smoove.donlabs.com",
+  "licenses": [
+  {
+    "type": "GPL-2.0",
+    "url": "http://abemedia.co.uk/license"
+  }
+  ],
+  "dependencies": {
+    "jquery": ">= 1.7"
+  },
+  "keywords": [
+    "jquery",
+    "scroll",
+    "css",
+    "animation"
+  ]
 }

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott