Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 7fe39a29f3dd28273d3a8bf120b42252d2c818a3 @vadikom committed Jun 1, 2013
@@ -0,0 +1,4 @@
+dist/
+node_modules/
+.DS_Store
+npm-debug.log
@@ -0,0 +1,74 @@
+'use strict';
+
+module.exports = function(grunt) {
+
+ // Project configuration.
+ grunt.initConfig({
+ // Metadata.
+ pkg: grunt.file.readJSON('smartmenus.jquery.json'),
+ banner:'/*!\n' +
+' * <%= pkg.title || pkg.name %> jQuery Plugin - v<%= pkg.version %> - <%= grunt.template.today("mmmm d, yyyy") %>\n' +
+' * <%= pkg.homepage %>\n' +
+' *\n' +
+' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>, Vadikom Web Ltd.\n' +
+' * <%= pkg.author.url %>\n' +
+' *\n' +
+' * Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %>\n' +
+' */\n\n',
+ banner_min:'/*! <%= pkg.title || pkg.name %> jQuery Plugin - v<%= pkg.version %> - <%= grunt.template.today("mmmm d, yyyy") %>\n' +
+' * <%= pkg.homepage %>\n' +
+' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>, Vadikom Web Ltd. <%= pkg.author.url %>; Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */',
+ distdir: '<%= pkg.name %>-<%= pkg.version %>',
+ // Task configuration.
+ clean: ["dist/*"],
+ // copy stuff to dist
+ copy: {
+ main: {
+ files: [
+ { src: ['LICENSE-MIT', 'README.md'], dest: 'dist/<%= distdir %>/' },
+ { expand: true, cwd: 'src/', src: ['css/**', 'demo/**', 'libs/**'], dest: 'dist/<%= distdir %>/' }
+ ]
+ }
+ },
+ concat: {
+ options: {
+ banner: '<%= banner %>',
+ stripBanners: true
+ },
+ dist: {
+ src: ['src/jquery.<%= pkg.name %>.js'],
+ dest: 'dist/<%= distdir %>/jquery.<%= pkg.name %>.js'
+ }
+ },
+ uglify: {
+ options: {
+ banner: '<%= banner_min %>'
+ },
+ dist: {
+ src: 'dist/<%= distdir %>/jquery.<%= pkg.name %>.js',
+ dest: 'dist/<%= distdir %>/jquery.<%= pkg.name %>.min.js'
+ },
+ },
+ zip: {
+ dist: {
+ router: function (filepath) {
+ // remove "dist/" from filepath
+ return filepath.replace(/^dist\//, '');
+ },
+ src: ['dist/<%= distdir %>/**'],
+ dest: 'dist/<%= distdir %>.zip'
+ },
+ }
+ });
+
+ // These plugins provide necessary tasks.
+ grunt.loadNpmTasks('grunt-contrib-clean');
+ grunt.loadNpmTasks('grunt-contrib-copy');
+ grunt.loadNpmTasks('grunt-contrib-concat');
+ grunt.loadNpmTasks('grunt-contrib-uglify');
+ grunt.loadNpmTasks('grunt-zip');
+
+ // Default task.
+ grunt.registerTask('default', ['clean', 'copy', 'concat', 'uglify', 'zip']);
+
+};
@@ -0,0 +1,22 @@
+Copyright (c) 2013 Vasil Dinkov, Vadikom Web Ltd.
+
+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.
@@ -0,0 +1,25 @@
+# SmartMenus
+
+jQuery website menu plugin. Responsive and accessible list-based website menus that work on all devices.
+
+## Homepage
+
+http://www.smartmenus.org/
+
+## Download
+
+Download the ZIP package which includes a basic demo:
+
+http://www.smartmenus.org/download/
+
+## Getting started and API documentation
+
+http://www.smartmenus.org/docs/
+
+## Bugs and issues
+
+https://github.com/vadikom/smartmenus/issues
+
+## Support forums
+
+http://www.smartmenus.org/support/forums/
@@ -0,0 +1,15 @@
+{
+ "name": "smartmenus",
+ "version": "0.9.0",
+ "engines": {
+ "node": ">= 0.8.0"
+ },
+ "devDependencies": {
+ "grunt-contrib-concat": "~0.1.2",
+ "grunt-contrib-uglify": "~0.1.1",
+ "grunt-contrib-clean": "~0.4.0",
+ "grunt-contrib-copy": "~0.4.1",
+ "grunt-zip": "~0.7.0",
+ "grunt": "~0.4.1"
+ }
+}
@@ -0,0 +1,34 @@
+{
+ "name": "smartmenus",
+ "title": "SmartMenus",
+ "description": "jQuery website menu plugin. Responsive and accessible list-based website menus that work on all devices.",
+ "keywords": [
+ "menu",
+ "navigation",
+ "accessible",
+ "responsive"
+ ],
+ "version": "0.9.0",
+ "author": {
+ "name": "Vasil Dinkov",
+ "email": "vasko.dinkov@gmail.com",
+ "url": "http://vadikom.com"
+ },
+ "licenses": [
+ {
+ "type": "MIT",
+ "url": "http://www.opensource.org/licenses/MIT"
+ }
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/vadikom/smartmenus.git"
+ },
+ "bugs": "https://github.com/vadikom/smartmenus/issues",
+ "homepage": "http://www.smartmenus.org/",
+ "docs": "http://www.smartmenus.org/docs/",
+ "download": "http://www.smartmenus.org/download/",
+ "dependencies": {
+ "jquery": ">=1.4.4"
+ }
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit 7fe39a2

Please sign in to comment.